-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
92 lines (92 loc) · 2.38 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./src/**/*.{html,js,svelte,ts}", "./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}"],
theme: {
fontFamily: {
sans: ["Inter", "sans-serif"],
mono: [
"CommitMono",
"ui-monospace",
"Menlo",
"Monaco",
"Consolas",
'"Ubuntu Mono"',
'"Roboto Mono"',
'"DejaVu Sans Mono"',
"monospace",
],
},
extend: {
fontSize: {
sm: ["12px", "16px"],
base: ["14px", "20px"],
lg: ["16px", "24px"],
xl: ["19px", "28px"],
"3xl": ["27px", "32px"],
},
colors: {
workspace: {
accent: {
DEFAULT: "var(--workspace-accent-color, #169958)",
50: "color-mix(in lab, transparent 95%, var(--workspace-accent-color, #169958))",
100: "color-mix(in lab, transparent 90%, var(--workspace-accent-color, #169958))",
200: "color-mix(in lab, transparent 80%, var(--workspace-accent-color, #169958))",
500: "var(--workspace-accent-color, #169958)",
},
},
neutral: {
50: "#F9FAFB",
100: "#F3F4F6",
200: "#E5E7EB",
300: "#D1D5DB",
400: "#9CA3AF",
500: "#6B7280",
800: "#030712",
900: "#103830",
},
gobl: {
50: "#15C6F6",
300: "#38455B",
900: "#212936",
},
positive: {
500: "#45A557",
},
danger: {
200: "#E5484D66",
500: "#DA2F35",
},
// flowbite-svelte
primary: {
50: "#FFF5F2",
100: "#FFF1EE",
200: "#FFE4DE",
300: "#FFD5CC",
400: "#FFBCAD",
500: "#FE795D",
600: "#EF562F",
700: "#EB4F27",
800: "#CC4522",
900: "#A5371B",
},
},
letterSpacing: {
tightest: "-0.567px",
tighter: "-0.16px",
tight: "-0.135px",
normal: "-0.07px",
wide: "0.055px",
},
boxShadow: {
active: "0px 0px 0px 2px color-mix(in lab, transparent 88%, var(--workspace-accent-color, #169958))",
},
},
},
plugins: [
require("@tailwindcss/forms")({
strategy: "class",
}),
require("@tailwindcss/container-queries"),
],
};