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