-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
90 lines (89 loc) · 2.5 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: 'selector',
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
screens: {
xs: '500px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
background: 'var(--background)',
foreground: 'var(--foreground)',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
},
dark: {
DEFAULT: 'hsl(var(--dark))',
foreground: 'hsl(var(--dark-foreground))',
},
'dark-light': {
DEFAULT: 'hsl(var(--dark-light))',
foreground: 'hsl(var(--dark-light-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
danger: {
DEFAULT: 'hsl(var(--danger))',
foreground: 'hsl(var(--danger-foreground))',
},
white: {
DEFAULT: 'hsl(var(--white))',
foreground: 'hsl(var(--white-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
text: 'hsl(var(--secondary-text))',
},
},
animation: {
'gradient-xy': 'gradient-xy 6s ease infinite',
'spin-slow': 'spin 8s linear infinite',
'bounce-thrice': 'bounce 1s ease-in-out 5',
},
keyframes: {
'gradient-xy': {
'0%, 100%': {
'background-size': '400% 400%',
'background-position': 'left top',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right bottom',
},
},
bounce: {
'0%, 100%': {
transform: 'translateY(-25%)',
'animation-timing-function': 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateY(0)',
'animation-timing-function': 'cubic-bezier(0, 0, 0.2, 1)',
},
},
},
},
},
plugins: [require('tailwind-scrollbar-hide')],
};
export default config;