-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
43 lines (43 loc) · 1.4 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
surface: {
50: "rgb(var(--surface-50) / <alpha-value>)",
100: "rgb(var(--surface-100) / <alpha-value>)",
200: "rgb(var(--surface-200) / <alpha-value>)",
300: "rgb(var(--surface-300) / <alpha-value>)",
400: "rgb(var(--surface-400) / <alpha-value>)",
500: "rgb(var(--surface-500) / <alpha-value>)",
},
primary: {
50: "rgb(var(--primary-50) / <alpha-value>)",
100: "rgb(var(--primary-100) / <alpha-value>)",
200: "rgb(var(--primary-200) / <alpha-value>)",
300: "rgb(var(--primary-300) / <alpha-value>)",
400: "rgb(var(--primary-400) / <alpha-value>)",
500: "rgb(var(--primary-500) / <alpha-value>)",
600: "rgb(var(--primary-600) / <alpha-value>)",
},
},
animation: {
"fade-in": "fadeIn 0.3s ease-in-out",
"slide-in": "slideIn 0.3s ease-out",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideIn: {
"0%": { transform: "translateX(-10px)", opacity: "0" },
"100%": { transform: "translateX(0)", opacity: "1" },
},
},
},
},
plugins: [],
};