meowtail 0.4.0-alpha.2 → 0.4.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -116,6 +116,16 @@
116
116
  - Add `journalFonts` and the `ThemeFont` type: the Fontsource packages that carry the faces Journal
117
117
  names. Meowtail ships no font files. The gallery paints Journal stories with those faces.
118
118
 
119
+ ## 0.4.0-alpha.4
120
+
121
+ - Add `doodleTheme`, an editorial paper-and-ink theme with crisp outlines and optional Geist.
122
+ It supports light and dark schemes and appears in the documentation and component gallery.
123
+
124
+ ## 0.4.0-alpha.3
125
+
126
+ - Add `ottrTheme`: a compact workbench theme with warm light and dark surfaces and mint interaction
127
+ states, selectable in the gallery and docs. It reuses the standard component rules.
128
+
119
129
  ## 0.3.0-alpha.0
120
130
 
121
131
  Local breaking authoring candidate; no npm release is implied. It includes the previous unreleased
package/README.md CHANGED
@@ -565,10 +565,39 @@ mountStyles(document, meowTheme.cssText);
565
565
  applyTheme(document.documentElement, meowTheme);
566
566
  ```
567
567
 
568
- The three themes share one theme root name and one set of `--ui-*` variables, so a document mounts one of
569
- them. `standardUiTokenValues` and the `UiTokenValues` type let a host value the same roles for its own
568
+ ### Ottr theme
569
+
570
+ `ottrTheme` translates the Tasks workbench prototype into a reusable theme: warm paper or charcoal,
571
+ mint actions and selected rows, compact system typography, quiet borders, and softly rounded panels.
572
+ It supports light, dark and system appearance, with no additional fonts or business-specific markup.
573
+ It shares the standard component styles; the theme supplies `ottrUiTokenValues` (compiled as
574
+ `ottrUiTokens`) and keeps the large control size available for touch layouts.
575
+
576
+ ```ts
577
+ import { ottrTheme } from "meowtail/theme";
578
+ import { createMeowUITheme } from "meowtail/web";
579
+
580
+ const theme = createMeowUITheme({ theme: ottrTheme });
581
+ ```
582
+
583
+ ### Doodle theme
584
+
585
+ `doodleTheme` gives the standard components an editorial paper-and-ink finish: warm paper,
586
+ rounded ink outlines, crisp offset shadows, and sparing blue, ochre, and coral accents. Important
587
+ surfaces carry the outline; dividers and dense data stay quieter. Light, dark, and system appearances
588
+ are supported. The optional `doodleFonts` manifest names Geist; the theme falls back to system
589
+ fonts, including CJK. Illustrations, mascots, and page layouts stay with each application.
590
+
591
+ ```ts
592
+ import { doodleTheme } from "meowtail/theme";
593
+ import { createMeowUITheme } from "meowtail/web";
594
+
595
+ const theme = createMeowUITheme({ theme: doodleTheme });
596
+ ```
597
+
598
+ All built-in themes share one theme root name and one set of `--ui-*` variables, so mount one theme per document. `standardUiTokenValues` and the `UiTokenValues` type let a host value the same roles for its own
570
599
  theme; a value tree that misses or adds a role does not typecheck. In Meowbook, the gallery's Theme
571
- control paints every story with any of them, and `?theme=journal` or `?theme=meow` selects one in a link.
600
+ control paints every story with any of them, and a query such as `?theme=doodle` selects one in a link.
572
601
 
573
602
  Style files use `<responsibility>.styles.ts`; the standard theme groups them by component and conversation responsibility, and application styles are maintained with application modules.
574
603
  See the style file organization (historical reference in the original product repository) for naming, component family boundaries, and cascade organization.
@@ -0,0 +1,365 @@
1
+ /**
2
+ * Doodle is an editorial paper-and-ink theme. A crisp, slightly offset ink edge marks important
3
+ * surfaces and actions; quiet dividers, clean type, and a sparse marker palette keep dense
4
+ * content readable. Illustrations and brand marks belong to the application, not the theme.
5
+ */
6
+ export declare const doodleUiTokenValues: {
7
+ readonly space: {
8
+ readonly group: "8px";
9
+ readonly section: "20px";
10
+ readonly panel: "24px";
11
+ readonly prose: "12px";
12
+ readonly insetBlock: "12px";
13
+ readonly insetInline: "16px";
14
+ readonly pageBlock: "36px";
15
+ readonly pageInline: "48px";
16
+ readonly pageBlockCompact: "20px";
17
+ readonly pageInlineCompact: "16px";
18
+ };
19
+ readonly icon: {
20
+ readonly small: "14px";
21
+ readonly size: "16px";
22
+ readonly large: "18px";
23
+ readonly stroke: "1.75";
24
+ };
25
+ readonly layout: {
26
+ readonly gridCompact: "160px";
27
+ readonly gridNormal: "240px";
28
+ readonly gridWide: "320px";
29
+ readonly containerNarrow: "480px";
30
+ readonly containerContent: "720px";
31
+ readonly containerWide: "1120px";
32
+ readonly containerPage: "1040px";
33
+ readonly measure: "70ch";
34
+ };
35
+ readonly surface: {
36
+ readonly canvas: readonly ["#f9f8f4", "#191714"];
37
+ readonly reading: readonly ["#f9f8f4", "#191714"];
38
+ readonly raised: readonly ["#ffffff", "#231f19"];
39
+ readonly overlay: readonly ["#fffdf6", "#2b261f"];
40
+ readonly fill: readonly ["#f3f1ea", "#302a22"];
41
+ readonly field: readonly ["#fffefa", "#1d1a16"];
42
+ readonly tint: readonly ["rgb(23 23 21 / 5%)", "rgb(251 243 229 / 8%)"];
43
+ readonly knockout: readonly ["#ffffff", "#231f19"];
44
+ readonly scrim: readonly ["rgb(23 23 21 / 26%)", "rgb(0 0 0 / 58%)"];
45
+ };
46
+ readonly inverse: {
47
+ readonly surface: readonly ["#171715", "#393126"];
48
+ readonly ink: "#fbf3e5";
49
+ readonly action: "#a8d6ff";
50
+ };
51
+ readonly line: {
52
+ readonly width: "1px";
53
+ readonly edge: readonly ["#171715", "#c6b59c"];
54
+ readonly divider: readonly ["#ddd8ce", "#504638"];
55
+ readonly control: readonly ["#57534c", "#9f907a"];
56
+ readonly controlHover: readonly ["#171715", "#e5d7c3"];
57
+ };
58
+ readonly ink: {
59
+ readonly primary: readonly ["#171715", "#fbf3e5"];
60
+ readonly secondary: readonly ["#57534c", "#c6bbab"];
61
+ readonly tertiary: readonly ["#685f52", "#b5a997"];
62
+ readonly chip: readonly ["#50483c", "#e3d7c5"];
63
+ readonly reading: readonly ["#292620", "#ebdfcc"];
64
+ };
65
+ readonly state: {
66
+ readonly hover: readonly ["rgb(0 109 204 / 7%)", "rgb(129 194 255 / 9%)"];
67
+ readonly active: readonly ["rgb(0 109 204 / 13%)", "rgb(129 194 255 / 16%)"];
68
+ readonly focus: readonly ["#006dcc", "#81c2ff"];
69
+ readonly focusRing: readonly ["rgb(0 109 204 / 23%)", "rgb(129 194 255 / 30%)"];
70
+ };
71
+ readonly action: {
72
+ readonly primary: readonly ["#0065be", "#81c2ff"];
73
+ readonly primaryHover: readonly ["#0055a2", "#a4d4ff"];
74
+ readonly onPrimary: readonly ["#ffffff", "#17222d"];
75
+ readonly soft: readonly ["#f7e9bc", "#3e3220"];
76
+ readonly danger: readonly ["#b93125", "#ff7966"];
77
+ readonly onDanger: readonly ["#ffffff", "#27150f"];
78
+ };
79
+ readonly control: {
80
+ readonly small: "28px";
81
+ readonly regular: "36px";
82
+ readonly large: "44px";
83
+ readonly inset: "8px";
84
+ readonly fieldInset: "12px";
85
+ readonly trackInset: "3px";
86
+ readonly thumb: readonly ["#ffffff", "#514333"];
87
+ readonly knob: readonly ["#ffffff", "#fbf3e5"];
88
+ };
89
+ readonly accent: {
90
+ readonly base: readonly ["#0065be", "#81c2ff"];
91
+ readonly soft: readonly ["#eaf4fc", "#23364a"];
92
+ readonly selected: readonly ["#dceefb", "#2a4056"];
93
+ readonly ink: readonly ["#00599f", "#a8d6ff"];
94
+ readonly line: readonly ["#a6c9e6", "#54718e"];
95
+ readonly halo: readonly ["rgb(0 109 204 / 25%)", "rgb(129 194 255 / 30%)"];
96
+ };
97
+ readonly status: {
98
+ readonly info: readonly ["#0065be", "#81c2ff"];
99
+ readonly success: readonly ["#235b43", "#a0e0bf"];
100
+ readonly warning: readonly ["#8a460f", "#ffd29a"];
101
+ readonly danger: readonly ["#b93125", "#ff8d7a"];
102
+ readonly unknown: readonly ["#827a6c", "#a79b89"];
103
+ };
104
+ readonly type: {
105
+ readonly mono: '"SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei"';
106
+ readonly micro: "11px";
107
+ readonly caption: "12px";
108
+ readonly code: "12px";
109
+ readonly label: "13px";
110
+ readonly body: "14px";
111
+ readonly readingSize: "14px";
112
+ readonly title: "16px";
113
+ readonly heading: "20px";
114
+ readonly pageTitle: "24px";
115
+ readonly hero: "40px";
116
+ readonly line: {
117
+ readonly micro: "16px";
118
+ readonly caption: "18px";
119
+ readonly code: "18px";
120
+ readonly label: "20px";
121
+ readonly bodyCompact: "20px";
122
+ readonly body: "22px";
123
+ readonly reading: "24px";
124
+ readonly title: "24px";
125
+ readonly heading: "28px";
126
+ readonly pageTitle: "32px";
127
+ readonly hero: "48px";
128
+ };
129
+ readonly touchField: "16px";
130
+ readonly trackingCaps: "0.04em";
131
+ readonly quoteStyle: "normal";
132
+ readonly sans: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
133
+ readonly display: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
134
+ readonly reading: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
135
+ readonly weight: {
136
+ readonly regular: "400";
137
+ readonly medium: "500";
138
+ readonly semibold: "600";
139
+ readonly display: "700";
140
+ };
141
+ readonly leading: "1.55";
142
+ readonly trackingTight: "-0.035em";
143
+ };
144
+ readonly radius: {
145
+ readonly xs: "4px";
146
+ readonly sm: "6px";
147
+ readonly full: "999px";
148
+ readonly md: "10px";
149
+ readonly lg: "12px";
150
+ readonly xl: "16px";
151
+ readonly xxl: "20px";
152
+ };
153
+ readonly shadow: {
154
+ readonly thumb: readonly ["0 0 0 1px rgb(0 0 0 / 6%), 0 1px 2px rgb(0 0 0 / 8%)", "0 0 0 1px rgb(255 255 255 / 8%), 0 1px 2px rgb(0 0 0 / 32%)"];
155
+ readonly sheet: readonly ["12px 0 40px rgb(0 0 0 / 12%)", "12px 0 40px rgb(0 0 0 / 50%)"];
156
+ readonly knob: readonly ["0 1px 2px rgb(0 0 0 / 16%)", "0 1px 2px rgb(0 0 0 / 40%)"];
157
+ readonly raised: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
158
+ readonly field: readonly ["none", "none"];
159
+ readonly action: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
160
+ readonly filled: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
161
+ readonly pressed: "none";
162
+ readonly float: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
163
+ readonly dock: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
164
+ };
165
+ readonly motion: {
166
+ readonly instant: "40ms";
167
+ readonly settle: "200ms";
168
+ readonly draw: "360ms";
169
+ readonly loop: "1.2s";
170
+ readonly sweep: "1.6s";
171
+ readonly ease: "cubic-bezier(0.4, 0, 0.2, 1)";
172
+ readonly enter: "cubic-bezier(0.16, 1, 0.3, 1)";
173
+ readonly response: "150ms";
174
+ };
175
+ readonly glyph: {
176
+ readonly chevron: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")`;
177
+ readonly check: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")`;
178
+ readonly arrow: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E")`;
179
+ readonly cross: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E")`;
180
+ readonly selectChevron: readonly ["url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\")", "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6bbab' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\")"];
181
+ };
182
+ };
183
+ export declare const doodleUiTokens: import("meowcss").TokenRefs<{
184
+ readonly space: {
185
+ readonly group: "8px";
186
+ readonly section: "20px";
187
+ readonly panel: "24px";
188
+ readonly prose: "12px";
189
+ readonly insetBlock: "12px";
190
+ readonly insetInline: "16px";
191
+ readonly pageBlock: "36px";
192
+ readonly pageInline: "48px";
193
+ readonly pageBlockCompact: "20px";
194
+ readonly pageInlineCompact: "16px";
195
+ };
196
+ readonly icon: {
197
+ readonly small: "14px";
198
+ readonly size: "16px";
199
+ readonly large: "18px";
200
+ readonly stroke: "1.75";
201
+ };
202
+ readonly layout: {
203
+ readonly gridCompact: "160px";
204
+ readonly gridNormal: "240px";
205
+ readonly gridWide: "320px";
206
+ readonly containerNarrow: "480px";
207
+ readonly containerContent: "720px";
208
+ readonly containerWide: "1120px";
209
+ readonly containerPage: "1040px";
210
+ readonly measure: "70ch";
211
+ };
212
+ readonly surface: {
213
+ readonly canvas: readonly ["#f9f8f4", "#191714"];
214
+ readonly reading: readonly ["#f9f8f4", "#191714"];
215
+ readonly raised: readonly ["#ffffff", "#231f19"];
216
+ readonly overlay: readonly ["#fffdf6", "#2b261f"];
217
+ readonly fill: readonly ["#f3f1ea", "#302a22"];
218
+ readonly field: readonly ["#fffefa", "#1d1a16"];
219
+ readonly tint: readonly ["rgb(23 23 21 / 5%)", "rgb(251 243 229 / 8%)"];
220
+ readonly knockout: readonly ["#ffffff", "#231f19"];
221
+ readonly scrim: readonly ["rgb(23 23 21 / 26%)", "rgb(0 0 0 / 58%)"];
222
+ };
223
+ readonly inverse: {
224
+ readonly surface: readonly ["#171715", "#393126"];
225
+ readonly ink: "#fbf3e5";
226
+ readonly action: "#a8d6ff";
227
+ };
228
+ readonly line: {
229
+ readonly width: "1px";
230
+ readonly edge: readonly ["#171715", "#c6b59c"];
231
+ readonly divider: readonly ["#ddd8ce", "#504638"];
232
+ readonly control: readonly ["#57534c", "#9f907a"];
233
+ readonly controlHover: readonly ["#171715", "#e5d7c3"];
234
+ };
235
+ readonly ink: {
236
+ readonly primary: readonly ["#171715", "#fbf3e5"];
237
+ readonly secondary: readonly ["#57534c", "#c6bbab"];
238
+ readonly tertiary: readonly ["#685f52", "#b5a997"];
239
+ readonly chip: readonly ["#50483c", "#e3d7c5"];
240
+ readonly reading: readonly ["#292620", "#ebdfcc"];
241
+ };
242
+ readonly state: {
243
+ readonly hover: readonly ["rgb(0 109 204 / 7%)", "rgb(129 194 255 / 9%)"];
244
+ readonly active: readonly ["rgb(0 109 204 / 13%)", "rgb(129 194 255 / 16%)"];
245
+ readonly focus: readonly ["#006dcc", "#81c2ff"];
246
+ readonly focusRing: readonly ["rgb(0 109 204 / 23%)", "rgb(129 194 255 / 30%)"];
247
+ };
248
+ readonly action: {
249
+ readonly primary: readonly ["#0065be", "#81c2ff"];
250
+ readonly primaryHover: readonly ["#0055a2", "#a4d4ff"];
251
+ readonly onPrimary: readonly ["#ffffff", "#17222d"];
252
+ readonly soft: readonly ["#f7e9bc", "#3e3220"];
253
+ readonly danger: readonly ["#b93125", "#ff7966"];
254
+ readonly onDanger: readonly ["#ffffff", "#27150f"];
255
+ };
256
+ readonly control: {
257
+ readonly small: "28px";
258
+ readonly regular: "36px";
259
+ readonly large: "44px";
260
+ readonly inset: "8px";
261
+ readonly fieldInset: "12px";
262
+ readonly trackInset: "3px";
263
+ readonly thumb: readonly ["#ffffff", "#514333"];
264
+ readonly knob: readonly ["#ffffff", "#fbf3e5"];
265
+ };
266
+ readonly accent: {
267
+ readonly base: readonly ["#0065be", "#81c2ff"];
268
+ readonly soft: readonly ["#eaf4fc", "#23364a"];
269
+ readonly selected: readonly ["#dceefb", "#2a4056"];
270
+ readonly ink: readonly ["#00599f", "#a8d6ff"];
271
+ readonly line: readonly ["#a6c9e6", "#54718e"];
272
+ readonly halo: readonly ["rgb(0 109 204 / 25%)", "rgb(129 194 255 / 30%)"];
273
+ };
274
+ readonly status: {
275
+ readonly info: readonly ["#0065be", "#81c2ff"];
276
+ readonly success: readonly ["#235b43", "#a0e0bf"];
277
+ readonly warning: readonly ["#8a460f", "#ffd29a"];
278
+ readonly danger: readonly ["#b93125", "#ff8d7a"];
279
+ readonly unknown: readonly ["#827a6c", "#a79b89"];
280
+ };
281
+ readonly type: {
282
+ readonly mono: '"SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei"';
283
+ readonly micro: "11px";
284
+ readonly caption: "12px";
285
+ readonly code: "12px";
286
+ readonly label: "13px";
287
+ readonly body: "14px";
288
+ readonly readingSize: "14px";
289
+ readonly title: "16px";
290
+ readonly heading: "20px";
291
+ readonly pageTitle: "24px";
292
+ readonly hero: "40px";
293
+ readonly line: {
294
+ readonly micro: "16px";
295
+ readonly caption: "18px";
296
+ readonly code: "18px";
297
+ readonly label: "20px";
298
+ readonly bodyCompact: "20px";
299
+ readonly body: "22px";
300
+ readonly reading: "24px";
301
+ readonly title: "24px";
302
+ readonly heading: "28px";
303
+ readonly pageTitle: "32px";
304
+ readonly hero: "48px";
305
+ };
306
+ readonly touchField: "16px";
307
+ readonly trackingCaps: "0.04em";
308
+ readonly quoteStyle: "normal";
309
+ readonly sans: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
310
+ readonly display: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
311
+ readonly reading: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
312
+ readonly weight: {
313
+ readonly regular: "400";
314
+ readonly medium: "500";
315
+ readonly semibold: "600";
316
+ readonly display: "700";
317
+ };
318
+ readonly leading: "1.55";
319
+ readonly trackingTight: "-0.035em";
320
+ };
321
+ readonly radius: {
322
+ readonly xs: "4px";
323
+ readonly sm: "6px";
324
+ readonly full: "999px";
325
+ readonly md: "10px";
326
+ readonly lg: "12px";
327
+ readonly xl: "16px";
328
+ readonly xxl: "20px";
329
+ };
330
+ readonly shadow: {
331
+ readonly thumb: readonly ["0 0 0 1px rgb(0 0 0 / 6%), 0 1px 2px rgb(0 0 0 / 8%)", "0 0 0 1px rgb(255 255 255 / 8%), 0 1px 2px rgb(0 0 0 / 32%)"];
332
+ readonly sheet: readonly ["12px 0 40px rgb(0 0 0 / 12%)", "12px 0 40px rgb(0 0 0 / 50%)"];
333
+ readonly knob: readonly ["0 1px 2px rgb(0 0 0 / 16%)", "0 1px 2px rgb(0 0 0 / 40%)"];
334
+ readonly raised: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
335
+ readonly field: readonly ["none", "none"];
336
+ readonly action: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
337
+ readonly filled: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
338
+ readonly pressed: "none";
339
+ readonly float: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
340
+ readonly dock: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
341
+ };
342
+ readonly motion: {
343
+ readonly instant: "40ms";
344
+ readonly settle: "200ms";
345
+ readonly draw: "360ms";
346
+ readonly loop: "1.2s";
347
+ readonly sweep: "1.6s";
348
+ readonly ease: "cubic-bezier(0.4, 0, 0.2, 1)";
349
+ readonly enter: "cubic-bezier(0.16, 1, 0.3, 1)";
350
+ readonly response: "150ms";
351
+ };
352
+ readonly glyph: {
353
+ readonly chevron: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")`;
354
+ readonly check: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")`;
355
+ readonly arrow: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E")`;
356
+ readonly cross: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E")`;
357
+ readonly selectChevron: readonly ["url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\")", "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6bbab' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\")"];
358
+ };
359
+ }> & import("meowcss").TokenSet;
360
+ /** Optional Geist web font; system and CJK faces come from the host. */
361
+ export declare const doodleFonts: readonly [{
362
+ readonly family: "Geist Variable";
363
+ readonly package: "@fontsource-variable/geist";
364
+ readonly styles: readonly ["normal"];
365
+ }];
@@ -0,0 +1,115 @@
1
+ import { defineTokens } from "meowcss";
2
+ import { standardUiTokenValues } from "./tokens.js";
3
+ const sans = '"Geist Variable", Geist, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif';
4
+ const inkLift = ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
5
+ const drawnEdge = [
6
+ "0 0 0 1px #171715, 0 3px 0 1px #171715",
7
+ "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c",
8
+ ];
9
+ /**
10
+ * Doodle is an editorial paper-and-ink theme. A crisp, slightly offset ink edge marks important
11
+ * surfaces and actions; quiet dividers, clean type, and a sparse marker palette keep dense
12
+ * content readable. Illustrations and brand marks belong to the application, not the theme.
13
+ */
14
+ export const doodleUiTokenValues = {
15
+ ...standardUiTokenValues,
16
+ surface: {
17
+ canvas: ["#f9f8f4", "#191714"],
18
+ reading: ["#f9f8f4", "#191714"],
19
+ raised: ["#ffffff", "#231f19"],
20
+ overlay: ["#fffdf6", "#2b261f"],
21
+ fill: ["#f3f1ea", "#302a22"],
22
+ field: ["#fffefa", "#1d1a16"],
23
+ tint: ["rgb(23 23 21 / 5%)", "rgb(251 243 229 / 8%)"],
24
+ knockout: ["#ffffff", "#231f19"],
25
+ scrim: ["rgb(23 23 21 / 26%)", "rgb(0 0 0 / 58%)"],
26
+ },
27
+ inverse: { surface: ["#171715", "#393126"], ink: "#fbf3e5", action: "#a8d6ff" },
28
+ line: {
29
+ width: "1px",
30
+ edge: ["#171715", "#c6b59c"],
31
+ divider: ["#ddd8ce", "#504638"],
32
+ control: ["#57534c", "#9f907a"],
33
+ controlHover: ["#171715", "#e5d7c3"],
34
+ },
35
+ ink: {
36
+ primary: ["#171715", "#fbf3e5"],
37
+ secondary: ["#57534c", "#c6bbab"],
38
+ tertiary: ["#685f52", "#b5a997"],
39
+ chip: ["#50483c", "#e3d7c5"],
40
+ reading: ["#292620", "#ebdfcc"],
41
+ },
42
+ state: {
43
+ hover: ["rgb(0 109 204 / 7%)", "rgb(129 194 255 / 9%)"],
44
+ active: ["rgb(0 109 204 / 13%)", "rgb(129 194 255 / 16%)"],
45
+ focus: ["#006dcc", "#81c2ff"],
46
+ focusRing: ["rgb(0 109 204 / 23%)", "rgb(129 194 255 / 30%)"],
47
+ },
48
+ action: {
49
+ primary: ["#0065be", "#81c2ff"],
50
+ primaryHover: ["#0055a2", "#a4d4ff"],
51
+ onPrimary: ["#ffffff", "#17222d"],
52
+ soft: ["#f7e9bc", "#3e3220"],
53
+ danger: ["#b93125", "#ff7966"],
54
+ onDanger: ["#ffffff", "#27150f"],
55
+ },
56
+ control: {
57
+ ...standardUiTokenValues.control,
58
+ thumb: ["#ffffff", "#514333"],
59
+ knob: ["#ffffff", "#fbf3e5"],
60
+ },
61
+ accent: {
62
+ base: ["#0065be", "#81c2ff"],
63
+ soft: ["#eaf4fc", "#23364a"],
64
+ selected: ["#dceefb", "#2a4056"],
65
+ ink: ["#00599f", "#a8d6ff"],
66
+ line: ["#a6c9e6", "#54718e"],
67
+ halo: ["rgb(0 109 204 / 25%)", "rgb(129 194 255 / 30%)"],
68
+ },
69
+ status: {
70
+ info: ["#0065be", "#81c2ff"],
71
+ success: ["#235b43", "#a0e0bf"],
72
+ warning: ["#8a460f", "#ffd29a"],
73
+ danger: ["#b93125", "#ff8d7a"],
74
+ unknown: ["#827a6c", "#a79b89"],
75
+ },
76
+ type: {
77
+ ...standardUiTokenValues.type,
78
+ sans,
79
+ display: sans,
80
+ reading: sans,
81
+ weight: { ...standardUiTokenValues.type.weight, display: "700" },
82
+ leading: "1.55",
83
+ trackingTight: "-0.035em",
84
+ },
85
+ radius: {
86
+ ...standardUiTokenValues.radius,
87
+ md: "10px",
88
+ lg: "12px",
89
+ xl: "16px",
90
+ xxl: "20px",
91
+ },
92
+ shadow: {
93
+ ...standardUiTokenValues.shadow,
94
+ raised: drawnEdge,
95
+ field: ["none", "none"],
96
+ action: inkLift,
97
+ filled: drawnEdge,
98
+ pressed: "none",
99
+ float: drawnEdge,
100
+ dock: drawnEdge,
101
+ },
102
+ motion: { ...standardUiTokenValues.motion, response: "150ms" },
103
+ glyph: {
104
+ ...standardUiTokenValues.glyph,
105
+ selectChevron: [
106
+ `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`,
107
+ `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6bbab' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`,
108
+ ],
109
+ },
110
+ };
111
+ export const doodleUiTokens = /* @__PURE__ */ defineTokens("ui", doodleUiTokenValues);
112
+ /** Optional Geist web font; system and CJK faces come from the host. */
113
+ export const doodleFonts = [
114
+ { family: "Geist Variable", package: "@fontsource-variable/geist", styles: ["normal"] },
115
+ ];