-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
63 lines (62 loc) · 1.48 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
const {
iconsPlugin,
getIconCollections,
} = require('@egoist/tailwindcss-icons');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./dist/**/*.{html,js}'],
theme: {
container: {
center: true,
},
extend: {
animation: {
'slide-top': 'slide-top .5s cubic-bezier(.57,.14,0,1.07) both',
'slide-bottom': 'slide-bottom 1s cubic-bezier(.57,.14,0,1.07) both',
},
keyframes: {
'slide-top': {
'0%': {
'-webkit-transform': 'translateY(100%)',
transform: 'translateY(100%)',
},
'100%': {
'-webkit-transform': 'translateY(0)',
transform: 'translateY(0)',
},
},
'slide-bottom': {
'0%': {
'-webkit-transform': 'translateY(0)',
transform: 'translateY(0)',
},
'100%': {
'-webkit-transform': 'translateY(100%)',
transform: 'translateY(100%)',
},
},
},
fontSize: {
'icon-sm': '20px',
'icon-md': '24px',
'icon-lg': '28px',
'icon-xl': '32px',
},
colors: {
brands: {
'dark-green': '#118871',
'light-green': '#15AB8E',
},
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
brand: ['Red Rose', 'serif'],
},
},
},
plugins: [
iconsPlugin({
collection: getIconCollections(['material-symbols']),
}),
],
};