meowtail 0.4.0-alpha.3 → 0.4.0-alpha.5

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,18 @@
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.5
120
+
121
+ - Improve Doodle with a paper wash, independent decorative marker colors, physical ink borders
122
+ and a press state that collapses the shadow without hiding the border.
123
+ - Add Pine, a cool paper-and-pine theme with a fixed-dark terminal palette, available in the docs
124
+ and component gallery.
125
+
126
+ ## 0.4.0-alpha.4
127
+
128
+ - Add `doodleTheme`, an editorial paper-and-ink theme with crisp outlines and optional Geist.
129
+ It supports light and dark schemes and appears in the documentation and component gallery.
130
+
119
131
  ## 0.4.0-alpha.3
120
132
 
121
133
  - Add `ottrTheme`: a compact workbench theme with warm light and dark surfaces and mint interaction
package/README.md CHANGED
@@ -580,9 +580,42 @@ import { createMeowUITheme } from "meowtail/web";
580
580
  const theme = createMeowUITheme({ theme: ottrTheme });
581
581
  ```
582
582
 
583
- All four 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
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
+ Doodle uses independent control stroke, resting lift, and press roles, so the ink border stays
599
+ visible as the button sinks. The canvas wash and marker colors are decorative; status colors remain
600
+ separate. Compare the same form and metric cards in the gallery's Theme Workbench.
601
+
602
+ ### Pine theme
603
+
604
+ `pineTheme` uses cool paper and deep pine green in light mode, and blue-black with mint in dark
605
+ mode. Its TerminalBlock stays dark in either scheme. Command and prompt ink use mint, ANSI
606
+ magenta maps to lavender, and exit status has a separate color. `pineFonts` names the optional
607
+ Inter web font. The monospace stack prefers IBM Plex Mono when supplied by the host.
608
+
609
+ ```ts
610
+ import { pineTheme } from "meowtail/theme";
611
+ import { createMeowUITheme } from "meowtail/web";
612
+
613
+ const theme = createMeowUITheme({ theme: pineTheme });
614
+ ```
615
+
616
+ 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
584
617
  theme; a value tree that misses or adds a role does not typecheck. In Meowbook, the gallery's Theme
585
- control paints every story with any of them, and `?theme=journal`, `?theme=meow`, or `?theme=ottr` selects one in a link.
618
+ control paints every story with any of them, and a query such as `?theme=doodle` selects one in a link.
586
619
 
587
620
  Style files use `<responsibility>.styles.ts`; the standard theme groups them by component and conversation responsibility, and application styles are maintained with application modules.
588
621
  See the style file organization (historical reference in the original product repository) for naming, component family boundaries, and cascade organization.
@@ -32,6 +32,8 @@ export const foundationStyles = css `
32
32
  dark one. Only the theme plugin marks a page; an embedded region keeps its host's ground. */
33
33
  :where(html[${pageAttribute}][data-meowui-scope]) {
34
34
  background-color: ${uiTokens.surface.canvas};
35
+ background-image: ${uiTokens.canvas.wash};
36
+ background-attachment: fixed;
35
37
  color-scheme: light;
36
38
  }
37
39
  :where(html[${pageAttribute}][data-meowui-color-scheme="dark"]) {
@@ -48,6 +50,9 @@ export const foundationStyles = css `
48
50
  ) {
49
51
  box-sizing: border-box;
50
52
  }
53
+ :where([data-meowui-theme-root="meowui"]) ::selection {
54
+ background-color: ${uiTokens.canvas.selection};
55
+ }
51
56
  :where([data-meowui-theme-root="meowui"] :is(img, video)) {
52
57
  max-width: 100%;
53
58
  }
@@ -28,10 +28,13 @@ export const buttonStyles = css `
28
28
  box-shadow ${uiTokens.motion.settle} ${uiTokens.motion.ease},
29
29
  transform ${uiTokens.motion.response} ${uiTokens.motion.ease};
30
30
  }
31
- /* A press settles the action half a pixel, so a click is felt, not only seen. */
32
- :where(${iconButtonPartRefs.root}, ${buttonPartRefs.root}):active:not(:disabled) {
31
+ /* A press settles the action; themes can coordinate its offset with the resting lift. */
32
+ :where(${iconButtonPartRefs.root}):active:not(:disabled) {
33
33
  transform: translateY(0.5px);
34
34
  }
35
+ :where(${buttonPartRefs.root}):active:not(:disabled) {
36
+ transform: translateY(${uiTokens.button.pressOffset});
37
+ }
35
38
  ${iconButtonPartRefs.root} {
36
39
  width: ${uiTokens.control.regular};
37
40
  min-width: ${uiTokens.control.regular};
@@ -49,22 +52,33 @@ ${buttonPartRefs.root} {
49
52
  ${buttonOptions.when({ variant: "primary" })} {
50
53
  background: ${uiTokens.action.primary};
51
54
  color: ${uiTokens.action.onPrimary};
55
+ border: ${uiTokens.button.filledStroke} solid ${uiTokens.line.edge};
52
56
  box-shadow: ${uiTokens.shadow.filled};
57
+ &:active:not(:disabled) {
58
+ box-shadow: ${uiTokens.button.filledPressed};
59
+ }
53
60
  }
54
61
  }
55
62
  ${buttonPartRefs.root} {
56
63
  ${buttonOptions.when({ variant: "danger" })} {
57
64
  background: ${uiTokens.action.danger};
58
65
  color: ${uiTokens.action.onDanger};
66
+ border: ${uiTokens.button.filledStroke} solid ${uiTokens.line.edge};
59
67
  box-shadow: ${uiTokens.shadow.filled};
68
+ &:active:not(:disabled) {
69
+ box-shadow: ${uiTokens.button.filledPressed};
70
+ }
60
71
  }
61
72
  }
62
73
  ${buttonPartRefs.root} {
63
74
  ${buttonOptions.when({ variant: "outline" })} {
64
- border: ${uiTokens.line.width} solid ${uiTokens.line.edge};
75
+ border: ${uiTokens.button.outlineStroke} solid ${uiTokens.line.edge};
65
76
  background: ${uiTokens.surface.raised};
66
77
  /* A one-pixel drop lifts the outline action off the page without a heavier border. */
67
78
  box-shadow: ${uiTokens.shadow.action};
79
+ &:active:not(:disabled) {
80
+ box-shadow: ${uiTokens.button.outlinePressed};
81
+ }
68
82
  }
69
83
  }
70
84
  ${buttonPartRefs.root} {
@@ -1,11 +1,12 @@
1
1
  import { css, parts } from "meowcss/meowjsx";
2
2
  import { uiTokens } from "../tokens.js";
3
- import { codeHighlightTokens } from "../shared/code-highlight.tokens.js";
4
3
  import { ui } from "../utilities.js";
5
4
  const outputBlockPartRefs = parts("output-block");
6
5
  const diffBlockPartRefs = parts("diff-block");
7
6
  const readBlockPartRefs = parts("read-block");
8
7
  const searchBlockPartRefs = parts("search-block");
8
+ const statusDotPartRefs = parts("status-dot");
9
+ const stateDotPartRefs = parts("state-dot");
9
10
  const terminalBlockPartRefs = parts("terminal-block");
10
11
  export const outputBlockStyles = css `
11
12
  ${outputBlockPartRefs.root} {
@@ -140,7 +141,31 @@ export const outputBlockStyles = css `
140
141
  ${searchBlockPartRefs.number} {
141
142
  color: ${uiTokens.ink.tertiary};
142
143
  }
144
+ ${terminalBlockPartRefs.root} ${outputBlockPartRefs.root} {
145
+ background: ${uiTokens.terminal.surface};
146
+ color: ${uiTokens.terminal.ink};
147
+ }
148
+ ${terminalBlockPartRefs.root} :is(${outputBlockPartRefs.actions}, ${outputBlockPartRefs.toggle}) {
149
+ color: ${uiTokens.terminal.muted};
150
+ }
151
+ ${terminalBlockPartRefs.root} :is(${outputBlockPartRefs.actions}, ${outputBlockPartRefs.toggle}, ${outputBlockPartRefs.body}):focus-visible {
152
+ outline-color: ${uiTokens.terminal.focus};
153
+ }
154
+ ${terminalBlockPartRefs.status}[data-tone="danger"] {
155
+ color: ${uiTokens.terminal.danger};
156
+ background: color-mix(in srgb, ${uiTokens.terminal.danger} 10%, transparent);
157
+ }
158
+ ${terminalBlockPartRefs.status}[data-tone="danger"] > ${statusDotPartRefs.root} {
159
+ background: currentColor;
160
+ }
161
+ ${terminalBlockPartRefs.runState} ${stateDotPartRefs.root}[data-state="done"] {
162
+ color: ${uiTokens.terminal.success};
163
+ }
164
+ ${terminalBlockPartRefs.runState} ${stateDotPartRefs.root}[data-state="warning"] {
165
+ color: ${uiTokens.terminal.warning};
166
+ }
143
167
  ${terminalBlockPartRefs.command} {
168
+ color: ${uiTokens.terminal.command};
144
169
  margin: 0;
145
170
  min-width: 0;
146
171
  overflow: hidden;
@@ -152,7 +177,7 @@ export const outputBlockStyles = css `
152
177
  padding-left: 30px;
153
178
  max-height: 150px;
154
179
  overflow-y: auto;
155
- background: ${uiTokens.surface.fill};
180
+ background: ${uiTokens.terminal.surface};
156
181
  }
157
182
  ${terminalBlockPartRefs.root} ${outputBlockPartRefs.title} > div {
158
183
  display: flex;
@@ -161,7 +186,7 @@ export const outputBlockStyles = css `
161
186
  min-width: 0;
162
187
  }
163
188
  ${terminalBlockPartRefs.root}[data-terminal-body="true"] ${outputBlockPartRefs.header} {
164
- border-bottom: 1px solid ${uiTokens.line.divider};
189
+ border-bottom: 1px solid ${uiTokens.terminal.divider};
165
190
  }
166
191
  ${terminalBlockPartRefs.root} ${outputBlockPartRefs.body} {
167
192
  padding-left: 30px;
@@ -186,7 +211,7 @@ export const outputBlockStyles = css `
186
211
  }
187
212
  ${terminalBlockPartRefs.cwd} {
188
213
  flex: none;
189
- color: ${uiTokens.ink.tertiary};
214
+ color: ${uiTokens.terminal.prompt};
190
215
  }
191
216
  ${terminalBlockPartRefs.runState} {
192
217
  position: absolute;
@@ -211,22 +236,22 @@ export const outputBlockStyles = css `
211
236
  font-weight: ${uiTokens.type.weight.semibold};
212
237
  }
213
238
  ${terminalBlockPartRefs.span}:is([data-ansi-color="31"], [data-ansi-color="91"]) {
214
- color: ${uiTokens.status.danger};
239
+ color: ${uiTokens.terminal.danger};
215
240
  }
216
241
  ${terminalBlockPartRefs.span}:is([data-ansi-color="32"], [data-ansi-color="92"]) {
217
- color: ${uiTokens.status.success};
242
+ color: ${uiTokens.terminal.success};
218
243
  }
219
244
  ${terminalBlockPartRefs.span}:is([data-ansi-color="33"], [data-ansi-color="93"]) {
220
- color: ${uiTokens.status.warning};
245
+ color: ${uiTokens.terminal.warning};
221
246
  }
222
247
  ${terminalBlockPartRefs.span}:is([data-ansi-color="34"], [data-ansi-color="94"], [data-ansi-color="36"], [data-ansi-color="96"]) {
223
- color: ${uiTokens.status.info};
248
+ color: ${uiTokens.terminal.info};
224
249
  }
225
250
  ${terminalBlockPartRefs.span}:is([data-ansi-color="35"], [data-ansi-color="95"]) {
226
- color: ${codeHighlightTokens.function};
251
+ color: ${uiTokens.terminal.reference};
227
252
  }
228
253
  ${terminalBlockPartRefs.span}[data-ansi-color="90"] {
229
- color: ${uiTokens.ink.tertiary};
254
+ color: ${uiTokens.terminal.muted};
230
255
  }
231
256
 
232
257
  @media (pointer: coarse) {
@@ -0,0 +1,427 @@
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 terminal: {
8
+ readonly surface: string;
9
+ readonly ink: string;
10
+ readonly muted: string;
11
+ readonly command: string;
12
+ readonly prompt: string;
13
+ readonly divider: string;
14
+ readonly focus: string;
15
+ readonly danger: string;
16
+ readonly success: string;
17
+ readonly warning: string;
18
+ readonly info: string;
19
+ readonly reference: string;
20
+ };
21
+ readonly space: {
22
+ readonly group: "8px";
23
+ readonly section: "20px";
24
+ readonly panel: "24px";
25
+ readonly prose: "12px";
26
+ readonly insetBlock: "12px";
27
+ readonly insetInline: "16px";
28
+ readonly pageBlock: "36px";
29
+ readonly pageInline: "48px";
30
+ readonly pageBlockCompact: "20px";
31
+ readonly pageInlineCompact: "16px";
32
+ };
33
+ readonly icon: {
34
+ readonly small: "14px";
35
+ readonly size: "16px";
36
+ readonly large: "18px";
37
+ readonly stroke: "1.75";
38
+ };
39
+ readonly layout: {
40
+ readonly gridCompact: "160px";
41
+ readonly gridNormal: "240px";
42
+ readonly gridWide: "320px";
43
+ readonly containerNarrow: "480px";
44
+ readonly containerContent: "720px";
45
+ readonly containerWide: "1120px";
46
+ readonly containerPage: "1040px";
47
+ readonly measure: "70ch";
48
+ };
49
+ readonly canvas: {
50
+ readonly wash: readonly ["radial-gradient(ellipse 540px 430px at 0% 0%, #f1e5ca 0%, transparent 96%), radial-gradient(ellipse 500px 420px at 100% 60%, #dceef8 0%, transparent 96%)", "radial-gradient(ellipse 540px 430px at 0% 0%, #33291e 0%, transparent 96%), radial-gradient(ellipse 500px 420px at 100% 60%, #202e38 0%, transparent 96%)"];
51
+ readonly selection: readonly ["#f6db87", "#745927"];
52
+ };
53
+ readonly marker: {
54
+ readonly blue: readonly ["#a8d8ef", "#2d536d"];
55
+ readonly ochre: readonly ["#f6db87", "#66512a"];
56
+ readonly coral: readonly ["#ff9787", "#723b31"];
57
+ };
58
+ readonly button: {
59
+ readonly filledStroke: "2px";
60
+ readonly outlineStroke: "2px";
61
+ readonly pressOffset: "2px";
62
+ readonly filledPressed: string;
63
+ readonly outlinePressed: string;
64
+ };
65
+ readonly surface: {
66
+ readonly canvas: readonly ["#f9f8f4", "#191714"];
67
+ readonly reading: readonly ["#f9f8f4", "#191714"];
68
+ readonly raised: readonly ["#ffffff", "#231f19"];
69
+ readonly overlay: readonly ["#fffdf6", "#2b261f"];
70
+ readonly fill: readonly ["#f3f1ea", "#302a22"];
71
+ readonly field: readonly ["#fffefa", "#1d1a16"];
72
+ readonly tint: readonly ["rgb(23 23 21 / 5%)", "rgb(251 243 229 / 8%)"];
73
+ readonly knockout: readonly ["#ffffff", "#231f19"];
74
+ readonly scrim: readonly ["rgb(23 23 21 / 26%)", "rgb(0 0 0 / 58%)"];
75
+ };
76
+ readonly inverse: {
77
+ readonly surface: readonly ["#171715", "#393126"];
78
+ readonly ink: "#fbf3e5";
79
+ readonly action: "#a8d6ff";
80
+ };
81
+ readonly line: {
82
+ readonly width: "1px";
83
+ readonly raisedWidth: "2px";
84
+ readonly edge: readonly ["#171715", "#c6b59c"];
85
+ readonly divider: readonly ["#ddd8ce", "#504638"];
86
+ readonly control: readonly ["#57534c", "#9f907a"];
87
+ readonly controlHover: readonly ["#171715", "#e5d7c3"];
88
+ };
89
+ readonly ink: {
90
+ readonly primary: readonly ["#171715", "#fbf3e5"];
91
+ readonly secondary: readonly ["#57534c", "#c6bbab"];
92
+ readonly tertiary: readonly ["#685f52", "#b5a997"];
93
+ readonly chip: readonly ["#50483c", "#e3d7c5"];
94
+ readonly reading: readonly ["#292620", "#ebdfcc"];
95
+ };
96
+ readonly state: {
97
+ readonly hover: readonly ["rgb(0 109 204 / 7%)", "rgb(129 194 255 / 9%)"];
98
+ readonly active: readonly ["rgb(0 109 204 / 13%)", "rgb(129 194 255 / 16%)"];
99
+ readonly focus: readonly ["#006dcc", "#81c2ff"];
100
+ readonly focusRing: readonly ["rgb(0 109 204 / 23%)", "rgb(129 194 255 / 30%)"];
101
+ };
102
+ readonly action: {
103
+ readonly primary: readonly ["#0065be", "#81c2ff"];
104
+ readonly primaryHover: readonly ["#0055a2", "#a4d4ff"];
105
+ readonly onPrimary: readonly ["#ffffff", "#17222d"];
106
+ readonly soft: readonly ["#f7e9bc", "#3e3220"];
107
+ readonly danger: readonly ["#b93125", "#ff7966"];
108
+ readonly onDanger: readonly ["#ffffff", "#27150f"];
109
+ };
110
+ readonly control: {
111
+ readonly small: "28px";
112
+ readonly inset: "8px";
113
+ readonly fieldInset: "12px";
114
+ readonly trackInset: "3px";
115
+ readonly regular: "44px";
116
+ readonly large: "48px";
117
+ readonly thumb: readonly ["#ffffff", "#514333"];
118
+ readonly knob: readonly ["#ffffff", "#fbf3e5"];
119
+ };
120
+ readonly accent: {
121
+ readonly base: readonly ["#0065be", "#81c2ff"];
122
+ readonly soft: readonly ["#eaf4fc", "#23364a"];
123
+ readonly selected: readonly ["#dceefb", "#2a4056"];
124
+ readonly ink: readonly ["#00599f", "#a8d6ff"];
125
+ readonly line: readonly ["#a6c9e6", "#54718e"];
126
+ readonly halo: readonly ["rgb(0 109 204 / 25%)", "rgb(129 194 255 / 30%)"];
127
+ };
128
+ readonly status: {
129
+ readonly info: readonly ["#0065be", "#81c2ff"];
130
+ readonly success: readonly ["#235b43", "#a0e0bf"];
131
+ readonly warning: readonly ["#8a460f", "#ffd29a"];
132
+ readonly danger: readonly ["#b93125", "#ff8d7a"];
133
+ readonly unknown: readonly ["#827a6c", "#a79b89"];
134
+ };
135
+ readonly type: {
136
+ readonly mono: '"SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei"';
137
+ readonly micro: "11px";
138
+ readonly caption: "12px";
139
+ readonly code: "12px";
140
+ readonly label: "13px";
141
+ readonly body: "14px";
142
+ readonly readingSize: "14px";
143
+ readonly title: "16px";
144
+ readonly heading: "20px";
145
+ readonly pageTitle: "24px";
146
+ readonly hero: "40px";
147
+ readonly line: {
148
+ readonly micro: "16px";
149
+ readonly caption: "18px";
150
+ readonly code: "18px";
151
+ readonly label: "20px";
152
+ readonly bodyCompact: "20px";
153
+ readonly body: "22px";
154
+ readonly reading: "24px";
155
+ readonly title: "24px";
156
+ readonly heading: "28px";
157
+ readonly pageTitle: "32px";
158
+ readonly hero: "48px";
159
+ };
160
+ readonly touchField: "16px";
161
+ readonly trackingCaps: "0.04em";
162
+ readonly quoteStyle: "normal";
163
+ readonly sans: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
164
+ readonly display: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
165
+ readonly reading: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
166
+ readonly weight: {
167
+ readonly regular: "400";
168
+ readonly medium: "500";
169
+ readonly semibold: "600";
170
+ readonly display: "700";
171
+ };
172
+ readonly leading: "1.55";
173
+ readonly trackingTight: "-0.035em";
174
+ };
175
+ readonly radius: {
176
+ readonly xs: "4px";
177
+ readonly sm: "6px";
178
+ readonly full: "999px";
179
+ readonly md: "10px";
180
+ readonly lg: "12px";
181
+ readonly xl: "16px";
182
+ readonly xxl: "20px";
183
+ };
184
+ readonly shadow: {
185
+ 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%)"];
186
+ readonly sheet: readonly ["12px 0 40px rgb(0 0 0 / 12%)", "12px 0 40px rgb(0 0 0 / 50%)"];
187
+ readonly knob: readonly ["0 1px 2px rgb(0 0 0 / 16%)", "0 1px 2px rgb(0 0 0 / 40%)"];
188
+ readonly raised: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
189
+ readonly field: readonly ["none", "none"];
190
+ readonly action: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
191
+ readonly filled: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
192
+ readonly pressed: "none";
193
+ readonly float: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
194
+ readonly dock: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
195
+ };
196
+ readonly motion: {
197
+ readonly instant: "40ms";
198
+ readonly settle: "200ms";
199
+ readonly draw: "360ms";
200
+ readonly loop: "1.2s";
201
+ readonly sweep: "1.6s";
202
+ readonly ease: "cubic-bezier(0.4, 0, 0.2, 1)";
203
+ readonly enter: "cubic-bezier(0.16, 1, 0.3, 1)";
204
+ readonly response: "150ms";
205
+ };
206
+ readonly glyph: {
207
+ 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")`;
208
+ 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")`;
209
+ 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")`;
210
+ 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")`;
211
+ 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\")"];
212
+ };
213
+ };
214
+ export declare const doodleUiTokens: import("meowcss").TokenRefs<{
215
+ readonly terminal: {
216
+ readonly surface: string;
217
+ readonly ink: string;
218
+ readonly muted: string;
219
+ readonly command: string;
220
+ readonly prompt: string;
221
+ readonly divider: string;
222
+ readonly focus: string;
223
+ readonly danger: string;
224
+ readonly success: string;
225
+ readonly warning: string;
226
+ readonly info: string;
227
+ readonly reference: string;
228
+ };
229
+ readonly space: {
230
+ readonly group: "8px";
231
+ readonly section: "20px";
232
+ readonly panel: "24px";
233
+ readonly prose: "12px";
234
+ readonly insetBlock: "12px";
235
+ readonly insetInline: "16px";
236
+ readonly pageBlock: "36px";
237
+ readonly pageInline: "48px";
238
+ readonly pageBlockCompact: "20px";
239
+ readonly pageInlineCompact: "16px";
240
+ };
241
+ readonly icon: {
242
+ readonly small: "14px";
243
+ readonly size: "16px";
244
+ readonly large: "18px";
245
+ readonly stroke: "1.75";
246
+ };
247
+ readonly layout: {
248
+ readonly gridCompact: "160px";
249
+ readonly gridNormal: "240px";
250
+ readonly gridWide: "320px";
251
+ readonly containerNarrow: "480px";
252
+ readonly containerContent: "720px";
253
+ readonly containerWide: "1120px";
254
+ readonly containerPage: "1040px";
255
+ readonly measure: "70ch";
256
+ };
257
+ readonly canvas: {
258
+ readonly wash: readonly ["radial-gradient(ellipse 540px 430px at 0% 0%, #f1e5ca 0%, transparent 96%), radial-gradient(ellipse 500px 420px at 100% 60%, #dceef8 0%, transparent 96%)", "radial-gradient(ellipse 540px 430px at 0% 0%, #33291e 0%, transparent 96%), radial-gradient(ellipse 500px 420px at 100% 60%, #202e38 0%, transparent 96%)"];
259
+ readonly selection: readonly ["#f6db87", "#745927"];
260
+ };
261
+ readonly marker: {
262
+ readonly blue: readonly ["#a8d8ef", "#2d536d"];
263
+ readonly ochre: readonly ["#f6db87", "#66512a"];
264
+ readonly coral: readonly ["#ff9787", "#723b31"];
265
+ };
266
+ readonly button: {
267
+ readonly filledStroke: "2px";
268
+ readonly outlineStroke: "2px";
269
+ readonly pressOffset: "2px";
270
+ readonly filledPressed: string;
271
+ readonly outlinePressed: string;
272
+ };
273
+ readonly surface: {
274
+ readonly canvas: readonly ["#f9f8f4", "#191714"];
275
+ readonly reading: readonly ["#f9f8f4", "#191714"];
276
+ readonly raised: readonly ["#ffffff", "#231f19"];
277
+ readonly overlay: readonly ["#fffdf6", "#2b261f"];
278
+ readonly fill: readonly ["#f3f1ea", "#302a22"];
279
+ readonly field: readonly ["#fffefa", "#1d1a16"];
280
+ readonly tint: readonly ["rgb(23 23 21 / 5%)", "rgb(251 243 229 / 8%)"];
281
+ readonly knockout: readonly ["#ffffff", "#231f19"];
282
+ readonly scrim: readonly ["rgb(23 23 21 / 26%)", "rgb(0 0 0 / 58%)"];
283
+ };
284
+ readonly inverse: {
285
+ readonly surface: readonly ["#171715", "#393126"];
286
+ readonly ink: "#fbf3e5";
287
+ readonly action: "#a8d6ff";
288
+ };
289
+ readonly line: {
290
+ readonly width: "1px";
291
+ readonly raisedWidth: "2px";
292
+ readonly edge: readonly ["#171715", "#c6b59c"];
293
+ readonly divider: readonly ["#ddd8ce", "#504638"];
294
+ readonly control: readonly ["#57534c", "#9f907a"];
295
+ readonly controlHover: readonly ["#171715", "#e5d7c3"];
296
+ };
297
+ readonly ink: {
298
+ readonly primary: readonly ["#171715", "#fbf3e5"];
299
+ readonly secondary: readonly ["#57534c", "#c6bbab"];
300
+ readonly tertiary: readonly ["#685f52", "#b5a997"];
301
+ readonly chip: readonly ["#50483c", "#e3d7c5"];
302
+ readonly reading: readonly ["#292620", "#ebdfcc"];
303
+ };
304
+ readonly state: {
305
+ readonly hover: readonly ["rgb(0 109 204 / 7%)", "rgb(129 194 255 / 9%)"];
306
+ readonly active: readonly ["rgb(0 109 204 / 13%)", "rgb(129 194 255 / 16%)"];
307
+ readonly focus: readonly ["#006dcc", "#81c2ff"];
308
+ readonly focusRing: readonly ["rgb(0 109 204 / 23%)", "rgb(129 194 255 / 30%)"];
309
+ };
310
+ readonly action: {
311
+ readonly primary: readonly ["#0065be", "#81c2ff"];
312
+ readonly primaryHover: readonly ["#0055a2", "#a4d4ff"];
313
+ readonly onPrimary: readonly ["#ffffff", "#17222d"];
314
+ readonly soft: readonly ["#f7e9bc", "#3e3220"];
315
+ readonly danger: readonly ["#b93125", "#ff7966"];
316
+ readonly onDanger: readonly ["#ffffff", "#27150f"];
317
+ };
318
+ readonly control: {
319
+ readonly small: "28px";
320
+ readonly inset: "8px";
321
+ readonly fieldInset: "12px";
322
+ readonly trackInset: "3px";
323
+ readonly regular: "44px";
324
+ readonly large: "48px";
325
+ readonly thumb: readonly ["#ffffff", "#514333"];
326
+ readonly knob: readonly ["#ffffff", "#fbf3e5"];
327
+ };
328
+ readonly accent: {
329
+ readonly base: readonly ["#0065be", "#81c2ff"];
330
+ readonly soft: readonly ["#eaf4fc", "#23364a"];
331
+ readonly selected: readonly ["#dceefb", "#2a4056"];
332
+ readonly ink: readonly ["#00599f", "#a8d6ff"];
333
+ readonly line: readonly ["#a6c9e6", "#54718e"];
334
+ readonly halo: readonly ["rgb(0 109 204 / 25%)", "rgb(129 194 255 / 30%)"];
335
+ };
336
+ readonly status: {
337
+ readonly info: readonly ["#0065be", "#81c2ff"];
338
+ readonly success: readonly ["#235b43", "#a0e0bf"];
339
+ readonly warning: readonly ["#8a460f", "#ffd29a"];
340
+ readonly danger: readonly ["#b93125", "#ff8d7a"];
341
+ readonly unknown: readonly ["#827a6c", "#a79b89"];
342
+ };
343
+ readonly type: {
344
+ readonly mono: '"SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei"';
345
+ readonly micro: "11px";
346
+ readonly caption: "12px";
347
+ readonly code: "12px";
348
+ readonly label: "13px";
349
+ readonly body: "14px";
350
+ readonly readingSize: "14px";
351
+ readonly title: "16px";
352
+ readonly heading: "20px";
353
+ readonly pageTitle: "24px";
354
+ readonly hero: "40px";
355
+ readonly line: {
356
+ readonly micro: "16px";
357
+ readonly caption: "18px";
358
+ readonly code: "18px";
359
+ readonly label: "20px";
360
+ readonly bodyCompact: "20px";
361
+ readonly body: "22px";
362
+ readonly reading: "24px";
363
+ readonly title: "24px";
364
+ readonly heading: "28px";
365
+ readonly pageTitle: "32px";
366
+ readonly hero: "48px";
367
+ };
368
+ readonly touchField: "16px";
369
+ readonly trackingCaps: "0.04em";
370
+ readonly quoteStyle: "normal";
371
+ readonly sans: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
372
+ readonly display: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
373
+ readonly reading: "\"Geist Variable\", Geist, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans CJK SC\", system-ui, sans-serif";
374
+ readonly weight: {
375
+ readonly regular: "400";
376
+ readonly medium: "500";
377
+ readonly semibold: "600";
378
+ readonly display: "700";
379
+ };
380
+ readonly leading: "1.55";
381
+ readonly trackingTight: "-0.035em";
382
+ };
383
+ readonly radius: {
384
+ readonly xs: "4px";
385
+ readonly sm: "6px";
386
+ readonly full: "999px";
387
+ readonly md: "10px";
388
+ readonly lg: "12px";
389
+ readonly xl: "16px";
390
+ readonly xxl: "20px";
391
+ };
392
+ readonly shadow: {
393
+ 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%)"];
394
+ readonly sheet: readonly ["12px 0 40px rgb(0 0 0 / 12%)", "12px 0 40px rgb(0 0 0 / 50%)"];
395
+ readonly knob: readonly ["0 1px 2px rgb(0 0 0 / 16%)", "0 1px 2px rgb(0 0 0 / 40%)"];
396
+ readonly raised: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
397
+ readonly field: readonly ["none", "none"];
398
+ readonly action: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
399
+ readonly filled: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
400
+ readonly pressed: "none";
401
+ readonly float: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
402
+ readonly dock: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
403
+ };
404
+ readonly motion: {
405
+ readonly instant: "40ms";
406
+ readonly settle: "200ms";
407
+ readonly draw: "360ms";
408
+ readonly loop: "1.2s";
409
+ readonly sweep: "1.6s";
410
+ readonly ease: "cubic-bezier(0.4, 0, 0.2, 1)";
411
+ readonly enter: "cubic-bezier(0.16, 1, 0.3, 1)";
412
+ readonly response: "150ms";
413
+ };
414
+ readonly glyph: {
415
+ 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")`;
416
+ 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")`;
417
+ 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")`;
418
+ 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")`;
419
+ 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\")"];
420
+ };
421
+ }> & import("meowcss").TokenSet;
422
+ /** Optional Geist web font; system and CJK faces come from the host. */
423
+ export declare const doodleFonts: readonly [{
424
+ readonly family: "Geist Variable";
425
+ readonly package: "@fontsource-variable/geist";
426
+ readonly styles: readonly ["normal"];
427
+ }];