-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
80 lines (79 loc) · 2.1 KB
/
tailwind.config.ts
File metadata and controls
80 lines (79 loc) · 2.1 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
import type { Config } from "tailwindcss";
export default {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
border: "hsl(var(--border))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
editor: {
bg: "#f8f9fa",
border: "#e9ecef",
text: "#212529",
},
preview: {
bg: "#ffffff",
border: "#e9ecef",
},
magical: {
100: 'oklch(0.86 0.08 280)',
200: 'oklch(0.82 0.06 280)',
300: 'oklch(0.71 0.12 280)',
400: 'oklch(0.61 0.18 280)',
500: 'oklch(0.5 0.21 280)',
600: 'oklch(0.42 0.18 280)',
800: 'oklch(0.25 0.15 280)',
900: 'oklch(0.13 0.06 280)',
}
},
keyframes: {
'rainbow': {
'0%': { 'background-position': '0%' },
'100%': { 'background-position': '200%' },
},
'rainbow-border': {
'0%, 100%': {
'background-position': '0% 50%',
'transform': 'scale(1.02)'
},
'50%': {
'background-position': '100% 50%',
'transform': 'scale(1)'
},
},
'magical-glow': {
'0%, 100%': {
'box-shadow': '0 0 1em 0.5em oklch(0.71 0.12 280)',
'opacity': '0.6'
},
'50%': {
'box-shadow': '0 0 1.5em 0.75em oklch(0.71 0.12 280)',
'opacity': '0.8'
},
}
},
animation: {
'rainbow': 'rainbow 60s linear infinite',
'rainbow-border': 'rainbow-border 3s ease-in-out infinite',
'rainbow-border-fast': 'rainbow-border 2s ease-in-out infinite',
'magical-glow': 'magical-glow 3s ease-in-out infinite',
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;