-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
57 lines (56 loc) · 2.05 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/lib/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
corePlugins: {
preflight: false,
},
important: '.sns-bw',
theme: {
extend: {
fontFamily: {
primary: ['"Gantari"', "sans-serif"],
},
keyframes: {
"fade-in": {
"0%": { opacity: "0" },
"20%": { opacity: "0" },
"100%": { opacity: "1" },
},
"width-to-zero": {
from: { width: "100%" },
to: { width: "0" },
},
},
animation: {
"fade-in": "fade-in 1s linear",
"modal-fade-in": "fade-in 200ms linear",
"width-to-zero": "width-to-zero 4s forwards",
},
boxShadow: {
"input-field": "0px 16px 32px rgba(215, 221, 225, 0.25)",
domain: "0px 20px 40px 0px rgba(179, 179, 179, 0.25)",
},
},
colors: {
"theme-primary": "rgba(var(--theme-primary), <alpha-value>)",
"theme-secondary": "rgba(var(--theme-secondary), <alpha-value>)",
"background-primary": "rgba(var(--background-primary), <alpha-value>)",
"background-secondary": "rgba(var(--background-secondary), <alpha-value>)",
"background-tertiary": "rgba(var(--background-tertiary), <alpha-value>)",
"background-skeleton": "rgba(var(--background-skeleton), <alpha-value>)",
"background-interactive": "rgba(var(--background-interactive), <alpha-value>)",
"interactive-border": "rgba(var(--interactive-border), <alpha-value>)",
"field-border": "rgba(var(--field-border), <alpha-value>)",
"text-primary": "rgba(var(--text-primary), <alpha-value>)",
"text-secondary": "rgba(var(--text-secondary), <alpha-value>)",
accent: "rgba(var(--accent), <alpha-value>)",
error: "rgba(var(--error), <alpha-value>)",
success: "rgba(var(--success), <alpha-value>)",
// components
"modal-overlay-bg": "rgba(var(--modal-overlay-bg), <alpha-value>)",
"base-button-content": "rgba(var(--base-button-content), <alpha-value>)",
},
},
plugins: [],
};