-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
92 lines (86 loc) · 2.73 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
86
87
88
89
90
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
screens: {
desktop: "1440px",
tablet: "768px",
mobile: "375px",
},
container: {
center: true,
padding: {
desktop: "32px",
tablet: "32px",
mobile: "16px",
},
},
colors: {
// Text colors
primary: "#171717", // text-neutral-900
"primary-hover": "#0a0a0a", // text-neutral-950
"primary-invert": "#ffffff", // text-white
secondary: "#525252", // text-neutral-600
tertiary: "#737373", // text-neutral-500
brand: "#4338ca", // text-indigo-700
disabled: "#a3a3a3", // text-neutral-400
error: "#dc2626", // text-red-600
"error-emphasize": "#991b1b", // text-red-800
success: "#15803d", // text-green-700
warning: "#a16207", // text-amber-700
// Background colors
"bg-primary": "#ffffff",
"bg-primary-inverted": "#0a0a0a",
"bg-primary-hover": "#fafafa",
"bg-secondary": "#e5e7eb",
"bg-secondary-hover": "#d1d5db",
"bg-tertiary": "#fafafa",
"bg-disabled": "#f5f5f5",
"bg-disabled-emphasize": "#f3f4f6",
"bg-brand-primary": "#4338ca",
"bg-brand-primary-emphasize": "#3730a3",
"bg-error": "#dc2626",
"bg-error-emphasize": "#b91c1c",
"bg-error-subtle": "#fef2f2",
"bg-success-subtle": "#f0fdf4",
"bg-brand-subtle": "#eef2ff",
"bg-neutral-subtle": "#f9fafb",
"bg-warning-subtle": "#fffbeb",
// Line colors (border/rings)
"border-primary": "#e5e5e5",
"border-secondary": "#9ca3af",
"border-success": "#bbf7d0",
"border-brand-solid": "#4f46e5",
"border-brand-subtle": "#c7d2fe",
"border-error-subtle": "#fecaca",
"border-warning-subtle": "#fde68a",
// Icon colors
"icon-emphasize": "#404040",
"icon-primary": "#a3a3a3",
"icon-primary-hover": "#737373",
"icon-brand": "#6366f1",
"icon-brand-background": "#eef2ff",
"icon-success": "#15803d",
"icon-error": "#dc2626",
"icon-warning": "#facc15",
// Input field, Form, Textarea colors
"input-title": "#404040",
"input-placeholder": "#737373",
"input-hint": "#737373",
"input-filled": "#171717",
"input-disabled": "#a3a3a3",
"input-error": "#dc2626",
"input-background": "#fafafa",
"input-border": "#e5e5e5",
},
fontFamily: {
sans: ['Noto Sans', 'sans-serif'],
},
},
},
plugins: [],
};