-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
75 lines (69 loc) · 1.95 KB
/
tailwind.config.ts
File metadata and controls
75 lines (69 loc) · 1.95 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
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class",
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
xs: "375px",
sm: "600px",
md: "900px",
lg: "1024px",
xl: "1280px",
},
extend: {
colors: {
success: "#0070f3",
error: "#ee0000",
warning: "#f5a623",
light: "#fafcfe",
// light mode
background: "#ffffff",
"accent-1": "#fafafa",
"accent-2": "#eaeaea",
"accent-3": "#999999",
"accent-4": "#888888",
"accent-5": "#666666",
"accent-6": "#444444",
"accent-7": "#333333",
"accent-8": "#111111",
foreground: "#000000",
// dark mode
"dark-background": "#000000",
"dark-accent-1": "#111111",
"dark-accent-2": "#333333",
"dark-accent-3": "#444444",
"dark-accent-4": "#666666",
"dark-accent-5": "#888888",
"dark-accent-6": "#999999",
"dark-accent-7": "#eaeaea",
"dark-accent-8": "#fafafa",
"dark-foreground": "#ffffff",
// body: "#4a4a68",
"text/subtle": "#8c8ca1",
primary: {
"cyan-100": "#07b6d5",
"cyan-75": "#07b6d575",
"cyan-50": "#07b6d550",
"cyan-25": "#07b6d525",
"cyan-15": "#07b6d515",
},
},
fontSize: {
pretitle: ["0.75rem", { fontWeight: "bold" }],
small: ["0.875rem", { fontWeight: "medium" }],
body: ["1rem", { fontWeight: "medium" }],
"body-bold": ["1rem", { fontWeight: "bold" }],
subtitle: ["1.5rem", { fontWeight: "bold" }],
h3: ["1.5rem", { fontWeight: "bold" }],
h2: ["2.5rem", { lineHeight: "1", fontWeight: "bold" }],
h1: ["3.5rem", { fontWeight: "bold" }],
},
},
},
plugins: [],
};
export default config;