-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
65 lines (63 loc) · 2.03 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
animation: {
rainbow: "rainbow var(--speed, 2s) infinite linear",
'spin-slow': 'spin 0.2s linear infinite',
fadeIn: 'fadeIn 0.3s ease-out',
fadeOut: 'fadeOut 0.3s ease-out',
'float-move': 'float-move 1s ease-out forwards',
},
keyframes: {
rainbow: {
"0%": { "background-position": "0%" },
"100%": { "background-position": "200%" },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
'float-move': {
'0%': { opacity: '0', transform: 'translate(0, 0) scale(0.5)' },
'10%': { opacity: '1', transform: 'translate(0, -5px) scale(0.8)' },
'50%': { opacity: '1', transform: 'translate(10px, -20px) scale(1.2)' },
'90%': { opacity: '0.5', transform: 'translate(15px, -30px) scale(1)' },
'100%': { opacity: '0', transform: 'translate(20px, -40px) scale(0.8)' },
},
},
colors: {
"color-1": "hsl(var(--color-1))",
"color-2": "hsl(var(--color-2))",
"color-3": "hsl(var(--color-3))",
"color-4": "hsl(var(--color-4))",
"color-5": "hsl(var(--color-5))",
primary: {
50: '#000000', // Lightest shade
100: '#121212', // Lightest shade
200: '#1A1A1A',
300: '#333333',
400: '#4D4D4D',
500: '#666666', // Darkest shade
600: '#808080', // Main color
700: '#999999',
800: '#B3B3B3',
900: '#CCCCCC',
950: '#E6E6E6', // Dark shade
// switchPalette: '#474554', // You can adjust this as needed
},
},
},
},
plugins: [],
};
export default config;