-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
60 lines (55 loc) · 1.77 KB
/
tailwind.config.cjs
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
purge: ['./src/**/*.{svelte,js,ts,jsx,tsx,html}', '.yalc/davjhan-core/**/*.{svelte,js,ts,jsx,tsx,html}'],
darkMode: false, // or 'media' or 'class'
theme: {
container: {
center: true,
},
extend: {
colors: {
background: '#fffffe',
primary: '#ffd803',
secondary: '#e3f6f5',
gray: {
dark: colors.coolGray['500'],
DEFAULT: colors.coolGray['300'],
light: colors.coolGray['100'],
lightest: colors.coolGray['50'],
}
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
throb: {
'0%, 100%': { transform: 'scale(1.02)' },
'50%': { transform: 'scale(0.98)' },
}
},
animation: {
wiggle: 'wiggle 1s ease-in-out infinite',
throb: 'throb 0.8s ease-in-out infinite',
}
},
screens: {
'sm': '375px',
// => @media (min-width: 640px) { ... }
'md': '768px',
// => @media (min-width: 768px) { ... }
// 'lg': '1024px',
}
},
// variants: {
// extend: {
// opacity: ['disabled'],
// cursor: ['disabled'],
// borderColor: ['disabled','active','hover'],
// backgroundColor: ['disabled','active','hover'],
// textColor: ['disabled']
// },
// },
plugins: [],
}