-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtailwind.config.js
85 lines (71 loc) · 1.83 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
/** @type {import('tailwindcss').Config} */
import colors from "tailwindcss/colors";
export default {
darkMode: "class",
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
// Background colors
bgPrimary: {
DEFAULT: colors.white,
dark: colors.slate[900],
},
bgSecondary: {
DEFAULT: colors.slate[100],
dark: colors.slate[800],
},
bgSecondaryDim: {
DEFAULT: colors.slate[200],
dark: colors.slate[950],
},
bgTertiary: colors.slate[800],
bgAccent: {
DEFAULT: colors.violet[600],
dark: colors.violet[900],
},
bgAccentDim: {
DEFAULT: colors.violet[900],
dark: colors.violet[950],
},
// Text colors
textAccent: {
DEFAULT: colors.violet[600],
dark: colors.violet[500],
},
textAccentDim: {
DEFAULT: colors.violet[800],
dark: colors.violet[700],
},
textPrimary: {
DEFAULT: colors.black,
dark: colors.white,
},
LightGray: {
DEFAULT: colors.slate[500],
dark: colors.slate[400],
},
RedColor: colors.red[500],
GreenColor: colors.green[500],
// Always use opacity manually in the element to manipulate it.
LightShade: colors.slate[500],
},
screens: {
xm: "320px",
},
height: {
"screen-safe": ["100vh", "100dvh", "100svh"],
},
width: {
"screen-safe": ["100vw", "100dvw", "100svw"],
},
minHeight: {
"screen-safe": ["100vh", "100dvh", "100svh"],
},
minWidth: {
"screen-safe": ["100vw", "100dvw", "100svw"],
},
},
},
plugins: [],
};