-
-
Notifications
You must be signed in to change notification settings - Fork 308
/
tailwind.config.cjs
83 lines (83 loc) · 2.2 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
primary: {
50: '#fbfbfb', // zinc shades
100: '#f0f0f2',
200: '#e6e6e9',
500: '#18181B',
600: '#0f0f11',
700: '#060606'
},
secondary: {
50: '#ff5a5a', // light red shades
100: '#ffe3e3',
200: '#ffd0d0',
500: '#ff5a5a',
600: '#ff4646',
700: '#ff3333'
},
brand: {
100: '#e2ffe2', // green shades
500: '#008000',
700: '#005900'
},
accent: {
100: '#ffd8d8', // red shades
500: '#ff0000',
700: '#d80000'
}
},
animation: {
float: 'float 6s linear infinite',
scale: 'scale 6s ease-in infinite',
fade: 'fade 6s linear infinite',
dropdown: 'dropdown 0.3s linear',
slide: 'slide 0.3s ease-in-out',
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out"
},
keyframes: {
float: {
'0%': { transform: 'translateY(0px)' },
'100%': { transform: 'translateY(-100px)' }
},
scale: {
'0%': { transform: 'scale(1)' },
'90%': { transform: 'scale(1)' },
'100%': { transform: 'scale(0)' }
},
fade: {
'0%': { opacity: '1' },
'70%': { opacity: '1' },
'100%': { opacity: '0' }
},
dropdown: {
'0%': { transform: 'translateY(-10px)', opacity: '0' },
'50%': { transform: 'translateY(-5px)', opacity: '0.3' },
'100%': { transform: 'translateY(0px)', opacity: '1' }
},
slide: {
'0%': { transform: 'translateX(10px)', opacity: '0' },
'50%': { transform: 'translateX(5px)', opacity: '0.3' },
'100%': { transform: 'translateX(0px)', opacity: '1' }
},
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
}
},
fontFamily: {
sans: ['Karla', 'sans'] // 'sans' is a fallback font in case the custom font isn't available
}
}
},
plugins: [require('tailwind-scrollbar'), require('@tailwindcss/typography'), require("tailwindcss-animate")]
}