-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.cjs
51 lines (51 loc) · 1.22 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
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: colors.indigo,
danger: colors.red,
secondray: colors.white,
success: colors.green
},
textColor: {
primary: colors.gray,
'app-primary': colors.indigo,
disabled: colors.gray[400],
success: colors.green
},
screens: {
xs: '380px'
},
keyframes: {
'mini-expand': {
from: {
opacity: 0,
transform: 'scale(0.95)'
},
to: {
opacity: 1,
transform: 'scale(1)'
}
},
'mini-shrink': {
from: {
opacity: 1,
transform: 'scale(1)'
},
to: {
opacity: 0,
transform: 'scale(0.95)'
}
}
}
},
animation: {
'mini-expand': 'mini-expand 150ms linear forwards',
'mini-shrink': 'mini-shrink 150ms linear forwards'
}
},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')]
}