-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
135 lines (134 loc) · 3.62 KB
/
tailwind.config.js
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
import animate from "tailwindcss-animate";
/** @type {import('tailwindcss').Config} */
export const darkMode = ["class"];
export const safelist = ["dark"];
export const prefix = "";
export const content = ["./src/**/*.{ts,tsx,vue}"];
export const theme = {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
screens: {
mn: "340px",
xs: "480px",
sm: "640px",
md: "768px",
lg: "1024px",
lgx: "1180px",
xl: "1280px",
"2xl": "1536px",
},
extend: {
colors: {
primaryForeground: "var(--primary-foreground)",
accentMid: "var(--accent-mid)",
purple: "var(--purple)",
textOverflow: "var(--text-overflow)",
buttonBg: "var(--button-bg)",
textForeground: "var(--text-foreground)",
material: "var(--material)",
dark: "var(--dark)",
texture: "var(--texture)",
positive: "var(--positive)",
negative: "var(--negative)",
positiveLighter: "var(--positive-lighter)",
positiveDarker: "var(--positive-darker)",
negativeLighter: "var(--negative-lighter)",
negativeDarker: "var(--negative-darker)",
fg: "var(--fg)",
fgDim: "var(--fg-dim)",
fgMuted: "var(--fg-muted)",
secondaryDarker: "var(--secondary-darker)",
surfaceLighter: "var(--surface-lighter)",
surfaceDarker: "var(--surface-darker)",
materialLighter: "var(--material-lighter)",
materialDarker: "var(--material-darker)",
textureLighter: "var(--texture-lighter)",
textureDarker: "var(--texture-darker)",
onPrimary: "var(--on-primary)",
twitter: "var(--twitter)",
telegram: "var(--telegram)",
reddit: "var(--reddit)",
facebook: "var(--facebook)",
medium: "var(--medium)",
github: "var(--github)",
discord: "var(--discord)",
linkedin: "var(--linkedin)",
instagram: "var(--instagram)",
youtube: "var(--youtube)",
primaryLighter: "var(--primary-lighter)",
link: "var(--link)",
primaryDarker: "var(--primary-darker)",
background: "var(--background)",
surface: "var(--surface)",
text: "var(--text)",
border: "var(--border)",
input: "var(--input)",
ring: "var(--ring)",
foreground: "var(--foreground)",
primary: {
DEFAULT: "var(--primary)",
foreground: "var(--primary-foreground)",
},
secondary: {
DEFAULT: "var(--secondary)",
foreground: "var(--secondary-foreground)",
},
destructive: {
DEFAULT: "var(--destructive)",
foreground: "var(--destructive-foreground)",
},
muted: {
DEFAULT: "var(--muted)",
foreground: "var(--muted-foreground)",
},
accent: {
DEFAULT: "var(--accent)",
foreground: "var(--accent-foreground)",
},
popover: {
DEFAULT: "var(--popover)",
foreground: "var(--popover-foreground)",
},
card: {
DEFAULT: "var(--card)",
foreground: "var(--card-foreground)",
},
},
borderRadius: {
xl: "calc(var(--radius) + 4px)",
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"accordion-down": {
from: {height: 0},
to: {height: "var(--radix-accordion-content-height)"},
},
"accordion-up": {
from: {height: "var(--radix-accordion-content-height)"},
to: {height: 0},
},
"collapsible-down": {
from: {height: 0},
to: {height: "var(--radix-collapsible-content-height)"},
},
"collapsible-up": {
from: {height: "var(--radix-collapsible-content-height)"},
to: {height: 0},
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"collapsible-down": "collapsible-down 0.2s ease-in-out",
"collapsible-up": "collapsible-up 0.2s ease-in-out",
},
},
};
export const plugins = [animate];