-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
70 lines (69 loc) · 1.95 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
import { COLORS } from "./src/app/constants/styles";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
'sm': {'max': '640px'},
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
'primary':{
'yellow': COLORS.primary.yellow,
'green': COLORS.primary.green,
'blue': COLORS.primary.blue,
'red': COLORS.primary.red,
},
'grayscale':{
'white': COLORS.grayscale.white,
'gray1': COLORS.grayscale.gray1,
'gray2': COLORS.grayscale.gray2,
'gray3': COLORS.grayscale.gray3,
'gray4': COLORS.grayscale.gray4,
'gray5': COLORS.grayscale.gray5,
'gray6': COLORS.grayscale.gray6,
'gray7': COLORS.grayscale.gray7,
'gray8': COLORS.grayscale.gray8,
'gray9': COLORS.grayscale.gray9,
'black': COLORS.grayscale.black,
},
},
keyframes: {
'slide-90': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-50%)' }
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
}
},
animation: {
'slide-90': 'slide-90 180s linear infinite',
'slide-40': 'slide-40 80s linear infinite',
'slide-20': 'slide-20 40s linear infinite',
'fade-in': 'fade-in 1s ease-out forwards'
},
transitionProperty: {
'opacity': 'opacity',
},
transitionDuration: {
'500': '500ms',
},
transitionTimingFunction: {
'ease-in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
},
},
},
plugins: [],
} satisfies Config;