Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
118 lines (112 loc) · 3.19 KB
/
Copy pathtailwind.config.js
File metadata and controls
118 lines (112 loc) · 3.19 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ["./src/renderer/**/*.{js,jsx,ts,tsx}", "./src/renderer/index.html"],
theme: {
extend: {
// ===== FONTS =====
fontFamily: {
sans: ['"Inter Variable"', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif'],
mono: ['SF Mono', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
},
// ===== DESIGN SYSTEM COLORS =====
colors: {
// Page backgrounds
page: {
DEFAULT: "#F3F1EE", // Light mode
dark: "#1A1918", // Dark mode
},
// Card/surface backgrounds
surface: {
DEFAULT: "#FFFFFF", // Light mode
dark: "#242322", // Dark mode
},
// Elevated surface (modals, dropdowns)
elevated: {
DEFAULT: "#FFFFFF",
dark: "#2D2C2A",
},
// Muted backgrounds for inputs, hovers
muted: {
DEFAULT: "#F5F5F4",
dark: "#2A2928",
},
// Borders
border: {
DEFAULT: "#E5E5E5",
dark: "#3D3C3A",
},
// Text colors
foreground: {
DEFAULT: "#1A1918",
dark: "#F3F1EE",
muted: "#6B7280",
"muted-dark": "#9CA3AF",
},
// Accent (keeping subtle)
accent: {
DEFAULT: "#2563EB",
dark: "#3B82F6",
},
// Legacy cream support
cream: {
DEFAULT: "#F3F1EE",
50: "#FAFAF9",
100: "#F3F1EE",
200: "#E8E5E1",
300: "#D6D1CA",
900: "#1A1918",
},
// Standard gray palette
gray: {
50: "#FAFAF9",
100: "#F3F1EE",
200: "#E5E5E5",
300: "#D4D4D4",
400: "#A3A3A3",
500: "#737373",
600: "#525252",
700: "#404040",
800: "#262626",
900: "#1A1918",
},
},
// ===== BORDER RADIUS =====
borderRadius: {
none: "0",
sm: "4px", // Squared-off pillow
DEFAULT: "6px", // Standard
md: "8px",
lg: "12px",
xl: "16px",
full: "9999px",
},
// ===== SHADOWS =====
boxShadow: {
// Soft elevation shadows
'soft-sm': '0 1px 2px 0 rgba(0, 0, 0, 0.03)',
'soft': '0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05)',
'soft-md': '0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05)',
'soft-lg': '0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05)',
},
// ===== SPACING =====
spacing: {
'18': '4.5rem',
'22': '5.5rem',
},
// ===== ANIMATIONS =====
animation: {
'spin-slow': 'spin 2s linear infinite',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
// ===== TRANSITIONS =====
transitionDuration: {
DEFAULT: '150ms',
},
transitionTimingFunction: {
DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',
},
},
},
plugins: [require("@tailwindcss/typography")],
};