-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (42 loc) · 1.19 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
darkMode: 'class',
theme: {
screens: {
xs: '390px',
...defaultTheme.screens,
},
fontSize: {
xs: '0.75rem',
sm: ['0.825rem', '1.15rem'],
base: ['0.875rem', '1.275rem'],
lg: ['0.925rem', '1.05rem'],
xl: '1rem',
'2xl': '1.1rem',
'3xl': ['1.3rem', '1.7rem'],
'3lg': ['1.95rem', '2.55rem'],
'4xl': ['2.6rem', '3.4rem'],
'8xl': ['5.2rem', '6.8rem'],
},
extend: {
fontFamily: {
primary: 'Sansation',
sans: ['Sansation', ...defaultTheme.fontFamily.sans],
mono: ['Sansation', ...defaultTheme.fontFamily.mono],
},
animation: {
'rotate-pulse': 'rotate-pulse 0.75s linear infinite normal both running',
},
keyframes: {
'rotate-pulse': {
'0%': { transform: 'rotate(0deg) scale(1)' },
'50%': { transform: 'rotate(180deg) scale(0.8)' },
'100%': { transform: 'rotate(360deg) scale(1)' },
},
},
},
},
plugins: [require('@tailwindcss/forms')],
};