Open History to see the last commit
1@import "tailwindcss";
2@import "uniwind";
3
4/* ─── Theme tokens ──────────────────────────────────────────────────── */
5@layer theme {
6 :root {
7 @variant light {
8 /* Page backgrounds */
9 --color-screen: #f2f2f7;
10 --color-sheet: rgba(242, 242, 247, 0.98);
11
12 /* Card / surface */
13 --color-card: #ffffff;
14 --color-card-alt: #f5f5f5;
15 --color-card-translucent: rgba(255, 255, 255, 0.94);
16
17 /* Text */
18 --color-foreground: #262626;
19 --color-foreground-secondary: #525252;
20 --color-foreground-muted: #737373;
21 --color-foreground-tertiary: #a3a3a3;
22
23 /* Borders & separators */
24 --color-border: rgba(0, 0, 0, 0.08);
25 --color-border-subtle: rgba(0, 0, 0, 0.06);
26 --color-separator: rgba(0, 0, 0, 0.04);
27
28 /* Subtle backgrounds (badges, pills, overlays) */
29 --color-subtle: rgba(0, 0, 0, 0.04);
30 --color-subtle-strong: rgba(0, 0, 0, 0.08);
31
32 /* Primary action */
33 --color-primary: #262626;
34 --color-primary-foreground: #ffffff;
35 --color-primary-shadow: rgba(0, 0, 0, 0.18);
36
37 /* Secondary action */
38 --color-secondary: #ffffff;
39 --color-secondary-foreground: #262626;
40 --color-secondary-border: rgba(0, 0, 0, 0.08);
41 --color-switch-active: #34c759;
42
43 /* Danger */
44 --color-danger: #fef2f2;
45 --color-danger-border: rgba(239, 68, 68, 0.12);
46 --color-danger-foreground: #dc2626;
47
48 /* Inputs */
49 --color-input: #ffffff;
50 --color-input-border: rgba(0, 0, 0, 0.1);
51 --color-placeholder: #a3a3a3;
52
53 /* Icons */
54 --color-icon: #262626;
55 --color-icon-muted: #525252;
56 --color-icon-subtle: #a3a3a3;
57
58 /* Header / glass chrome */
59 --color-header: rgba(255, 255, 255, 0.97);
60 --color-header-border: rgba(0, 0, 0, 0.06);
61
62 /* StatusBar */
63 --color-status-bar: #f2f2f7;
64
65 /* Markdown */
66 --color-md-body: #111111;
67 --color-md-strong: #000000;
68 --color-md-link: #2563eb;
69 --color-md-blockquote-border: rgba(0, 0, 0, 0.08);
70 --color-md-blockquote-bg: rgba(0, 0, 0, 0.02);
71 --color-md-code-bg: rgba(0, 0, 0, 0.04);
72 --color-md-code-text: #262626;
73 --color-md-user-code-bg: rgba(255, 255, 255, 0.22);
74 --color-md-user-code-text: #ffffff;
75 --color-md-user-fence-bg: rgba(0, 0, 0, 0.16);
76 --color-md-user-fence-text: #ffffff;
77 --color-md-hr: rgba(0, 0, 0, 0.08);
78
79 /* iMessage-style user bubble */
80 --color-user-bubble: #007aff;
81 --color-user-bubble-foreground: #ffffff;
82 --color-user-bubble-foreground-muted: rgba(255, 255, 255, 0.78);
83
84 /* Drawer / modal backdrop */
85 --color-backdrop: rgba(0, 0, 0, 0.22);
86 --color-drawer: rgba(255, 255, 255, 0.99);
87 --color-drawer-shadow: rgba(0, 0, 0, 0.12);
88
89 /* Misc */
90 --color-dot-separator: rgba(0, 0, 0, 0.2);
91 --color-wordmark: #262626;
92 --color-chevron: rgba(0, 0, 0, 0.2);
93 }
94
95 @variant dark {
96 /* Page backgrounds */
97 --color-screen: #0a0a0a;
98 --color-sheet: rgba(14, 14, 14, 0.98);
99
100 /* Card / surface */
101 --color-card: #171717;
102 --color-card-alt: #1c1c1c;
103 --color-card-translucent: rgba(17, 17, 17, 0.94);
104
105 /* Text */
106 --color-foreground: #f5f5f5;
107 --color-foreground-secondary: #a3a3a3;
108 --color-foreground-muted: #737373;
109 --color-foreground-tertiary: #525252;
110
111 /* Borders & separators */
112 --color-border: rgba(255, 255, 255, 0.06);
113 --color-border-subtle: rgba(255, 255, 255, 0.04);
114 --color-separator: rgba(255, 255, 255, 0.03);
115
116 /* Subtle backgrounds (badges, pills, overlays) */
117 --color-subtle: rgba(255, 255, 255, 0.04);
118 --color-subtle-strong: rgba(255, 255, 255, 0.08);
119
120 /* Primary action */
121 --color-primary: #f5f5f5;
122 --color-primary-foreground: #0a0a0a;
123 --color-primary-shadow: rgba(0, 0, 0, 0.22);
124
125 /* Secondary action */
126 --color-secondary: rgba(255, 255, 255, 0.04);
127 --color-secondary-foreground: #f5f5f5;
128 --color-secondary-border: rgba(255, 255, 255, 0.06);
129 --color-switch-active: #30d158;
130
131 /* Danger */
132 --color-danger: rgba(239, 68, 68, 0.14);
133 --color-danger-border: rgba(248, 113, 113, 0.18);
134 --color-danger-foreground: #fca5a5;
135
136 /* Inputs */
137 --color-input: #141414;
138 --color-input-border: rgba(255, 255, 255, 0.08);
139 --color-placeholder: #737373;
140
141 /* Icons */
142 --color-icon: #f5f5f5;
143 --color-icon-muted: #a3a3a3;
144 --color-icon-subtle: #737373;
145
146 /* Header / glass chrome */
147 --color-header: rgba(10, 10, 10, 0.97);
148 --color-header-border: rgba(255, 255, 255, 0.06);
149
150 /* StatusBar */
151 --color-status-bar: #0a0a0a;
152
153 /* Markdown */
154 --color-md-body: #e5e5e5;
155 --color-md-strong: #f5f5f5;
156 --color-md-link: #60a5fa;
157 --color-md-blockquote-border: rgba(255, 255, 255, 0.1);
158 --color-md-blockquote-bg: rgba(255, 255, 255, 0.03);
159 --color-md-code-bg: rgba(255, 255, 255, 0.06);
160 --color-md-code-text: #e5e5e5;
161 --color-md-user-code-bg: rgba(255, 255, 255, 0.18);
162 --color-md-user-code-text: #ffffff;
163 --color-md-user-fence-bg: rgba(0, 0, 0, 0.28);
164 --color-md-user-fence-text: #ffffff;
165 --color-md-hr: rgba(255, 255, 255, 0.08);
166
167 /* iMessage-style user bubble */
168 --color-user-bubble: #0a84ff;
169 --color-user-bubble-foreground: #ffffff;
170 --color-user-bubble-foreground-muted: rgba(255, 255, 255, 0.78);
171
172 /* Drawer / modal backdrop */
173 --color-backdrop: rgba(0, 0, 0, 0.48);
174 --color-drawer: rgba(14, 14, 14, 0.99);
175 --color-drawer-shadow: rgba(0, 0, 0, 0.32);
176
177 /* Misc */
178 --color-dot-separator: rgba(255, 255, 255, 0.2);
179 --color-wordmark: #f5f5f5;
180 --color-chevron: rgba(255, 255, 255, 0.2);
181 }
182 }
183}
184
185/* ─── Font family ───────────────────────────────────────────────────── */
186@theme {
187 --font-sans: "DMSans_400Regular";
188 --font-medium: "DMSans_500Medium";
189 --font-bold: "DMSans_700Bold";
190}
191
192/* ─── Custom utilities ──────────────────────────────────────────────── */
193@utility font-t3-medium {
194 font-family: "DMSans_500Medium";
195}
196
197@utility font-t3-bold {
198 font-family: "DMSans_700Bold";
199}
200
201@utility font-t3-extrabold {
202 font-family: "DMSans_700Bold";
203 font-weight: 800;
204}