-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
118 lines (117 loc) · 4.9 KB
/
tailwind.config.js
File metadata and controls
118 lines (117 loc) · 4.9 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
const heroui = require("@heroui/theme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./layouts/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: {
DEFAULT: "rgb(var(--color-primary) / <alpha-value>)",
foreground: "rgb(var(--color-primary-foreground) / <alpha-value>)",
50: "rgb(var(--color-primary-50) / <alpha-value>)",
100: "rgb(var(--color-primary-100) / <alpha-value>)",
200: "rgb(var(--color-primary-200) / <alpha-value>)",
300: "rgb(var(--color-primary-300) / <alpha-value>)",
400: "rgb(var(--color-primary-400) / <alpha-value>)",
500: "rgb(var(--color-primary-500) / <alpha-value>)",
600: "rgb(var(--color-primary-600) / <alpha-value>)",
700: "rgb(var(--color-primary-700) / <alpha-value>)",
800: "rgb(var(--color-primary-800) / <alpha-value>)",
900: "rgb(var(--color-primary-900) / <alpha-value>)",
},
secondary: {
DEFAULT: "rgb(var(--color-secondary) / <alpha-value>)",
foreground: "rgb(var(--color-secondary-foreground) / <alpha-value>)",
50: "rgb(var(--color-secondary-50) / <alpha-value>)",
100: "rgb(var(--color-secondary-100) / <alpha-value>)",
200: "rgb(var(--color-secondary-200) / <alpha-value>)",
300: "rgb(var(--color-secondary-300) / <alpha-value>)",
400: "rgb(var(--color-secondary-400) / <alpha-value>)",
500: "rgb(var(--color-secondary-500) / <alpha-value>)",
600: "rgb(var(--color-secondary-600) / <alpha-value>)",
700: "rgb(var(--color-secondary-700) / <alpha-value>)",
800: "rgb(var(--color-secondary-800) / <alpha-value>)",
900: "rgb(var(--color-secondary-900) / <alpha-value>)",
},
accent: {
DEFAULT: "rgb(var(--color-accent) / <alpha-value>)",
foreground: "rgb(var(--color-accent-foreground) / <alpha-value>)",
},
focus: "rgb(var(--color-focus) / <alpha-value>)",
},
backgroundImage: {
'grid-small-white': "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(255 255 255 / 0.05)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e\")",
'grid-small-black': "url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(0 0 0 / 0.05)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e\")",
},
animation: {
"fade-in": "fade-in 0.6s ease-in-out forwards",
"slide-up": "slide-up 0.6s ease-out forwards",
"fade-scale-in": "fade-scale-in 0.6s ease-out forwards",
"gradient-x": "gradient-x 5s ease infinite",
"pulse-dot": "pulse-dot 3s infinite",
"typing": "typing 2s steps(20, end)",
'float-slow': 'float-slow 10s ease-in-out infinite',
'float-slow-reverse': 'float-slow-reverse 10s ease-in-out infinite',
'fade-in-up': 'fade-in-up 0.5s ease-out forwards'
},
keyframes: {
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
"slide-up": {
"0%": { transform: "translateY(20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
"fade-scale-in": {
"0%": { opacity: "0", transform: "scale(0.95)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
"gradient-x": {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
"pulse-dot": {
"0%, 100%": {
transform: "scale(1)",
opacity: "0.8",
},
"50%": {
transform: "scale(1.05)",
opacity: "1",
},
},
"typing": {
"0%": { width: "0%" },
"100%": { width: "100%" }
},
'float-slow': {
'0%, 100%': { transform: 'translateX(0) translateY(0)', opacity: '0.3' },
'50%': { transform: 'translateX(100px) translateY(20px)', opacity: '0.5' }
},
'float-slow-reverse': {
'0%, 100%': { transform: 'translateX(0) translateY(0)', opacity: '0.3' },
'50%': { transform: 'translateX(-100px) translateY(20px)', opacity: '0.5' }
},
'fade-in-up': {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' }
}
},
},
},
darkMode: "class",
plugins: [heroui],
};