@duro-app/cli 5.18.0 → 5.20.0

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/README.md CHANGED
@@ -247,7 +247,8 @@ the packaged `colors`, `typography` and `ui` skills to `.claude/skills/<name>/`
247
247
  stale, and install removes it only where the directory carries the shipped
248
248
  `NOTICE.md`). Install refuses to write into an existing `colors`, `typography`
249
249
  or `ui` directory without that `NOTICE.md` (a skill of your own) unless you pass
250
- `--force`. The same three skills are served by the MCP server as guides:
250
+ `--force`, which also removes the files of the overwritten directory that the
251
+ package does not ship. The same three skills are served by the MCP server as guides:
251
252
  `duro_ds_lookup guide:colors`, or `guide:colors/contrast.md` for a reference
252
253
  file. The skill runs the whole path — seed directions,
253
254
  check, publish the canvas, implement the picked direction from its
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAA;AAclD,oEAAoE;AACpE,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4EjD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;uBAInB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;EAG/F;AAED,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;EAwCvF;AAED,wBAAgB,aAAa,CAAC,QAAQ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IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,EAAE,CAkBjG;AAED,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,MAAM,GACV;IAAC,QAAQ,EAAE;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,EAAE,CAAA;CAAC,CAoB7D;AAED,wBAAsB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAmE9D"}
@@ -160,10 +160,12 @@ export function readResource(registry, uri) {
160
160
  const recipeMatch = /^duro:\/\/recipe\/(.+)$/.exec(uri);
161
161
  const guideMatch = /^duro:\/\/guide\/(.+)$/.exec(uri);
162
162
  let text = null;
163
+ let mimeType = 'text/plain';
163
164
  if (guideMatch) {
164
165
  const guide = lookupGuide(registry, `guide:${guideMatch[1]}`);
165
166
  if (guide.ok)
166
167
  text = guide.content;
168
+ mimeType = 'text/markdown';
167
169
  }
168
170
  else if (componentMatch) {
169
171
  const key = decodeURIComponent(componentMatch[1]);
@@ -178,7 +180,7 @@ export function readResource(registry, uri) {
178
180
  }
179
181
  if (text === null)
180
182
  throw new Error(`unknown resource ${uri}`);
181
- return { contents: [{ uri, mimeType: 'text/plain', text }] };
183
+ return { contents: [{ uri, mimeType, text }] };
182
184
  }
183
185
  export async function runMcp(registry) {
184
186
  let sdkServer, sdkStdio, sdkTypes;
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAA;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AACjC,OAAO,EAAC,U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AA2E,QAAQ,CAAC,KAAK,CAAC,QAAQ,8BAA8B,cAAc,iDAAiD;qBACtM;iBACF;aACF;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,GAAG,IAAI,QAAQ,CAAC,oBAAoB,EAAE,CAAA;IACrD,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;AACjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../src/commands/skill.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AAa9C,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,+EAA+E;IAC/E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+FAA+F;IAC/F,SAAS,CAAC,EAAE,GAAG,CAAA;CAChB;AA0BD,wEAAwE;AACxE,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAW/C;AAyDD,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,GAAE,YAAiB,GAAG,aAAa,CAoK9F"}
1
+ {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../src/commands/skill.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AAa9C,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,+EAA+E;IAC/E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+FAA+F;IAC/F,SAAS,CAAC,EAAE,GAAG,CAAA;CAChB;AA0BD,wEAAwE;AACxE,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAW/C;AAoHD,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,GAAE,YAAiB,GAAG,aAAa,CA6K9F"}
@@ -83,6 +83,66 @@ function ignoredTrackables(root, candidates) {
83
83
  return [];
84
84
  }
85
85
  }
86
+ const PRETTIER_CONFIGS = [
87
+ '.prettierrc',
88
+ '.prettierrc.json',
89
+ '.prettierrc.yaml',
90
+ '.prettierrc.yml',
91
+ '.prettierrc.json5',
92
+ '.prettierrc.js',
93
+ '.prettierrc.cjs',
94
+ '.prettierrc.mjs',
95
+ '.prettierrc.ts',
96
+ '.prettierrc.toml',
97
+ 'prettier.config.js',
98
+ 'prettier.config.cjs',
99
+ 'prettier.config.mjs',
100
+ 'prettier.config.ts',
101
+ ];
102
+ function usesPrettier(root) {
103
+ if (PRETTIER_CONFIGS.some((name) => existsSync(join(root, name))))
104
+ return true;
105
+ const manifest = read(join(root, 'package.json'));
106
+ if (manifest === null)
107
+ return false;
108
+ try {
109
+ const parsed = JSON.parse(manifest.toString('utf8'));
110
+ return typeof parsed === 'object' && parsed !== null && 'prettier' in parsed;
111
+ }
112
+ catch {
113
+ return false;
114
+ }
115
+ }
116
+ /** True when a .prettierignore line names `dir` or a parent of it (`.claude`, `/.claude/skills/`, `.claude/**`). */
117
+ function coversDirectory(ignore, dir) {
118
+ const covering = new Set();
119
+ const parts = dir.split('/');
120
+ for (let i = 1; i <= parts.length; i++)
121
+ covering.add(parts.slice(0, i).join('/'));
122
+ return ignore.split('\n').some((raw) => {
123
+ const line = raw
124
+ .trim()
125
+ .replace(/^\*\*\//, '')
126
+ .replace(/^\//, '')
127
+ .replace(/(\/\*\*?)+$/, '')
128
+ .replace(/\/$/, '');
129
+ return line !== '' && !line.startsWith('#') && !line.startsWith('!') && covering.has(line);
130
+ });
131
+ }
132
+ /**
133
+ * Prettier reformats the installed skills, so `--check` then reports drift on
134
+ * every run. Returns the skill directories .prettierignore leaves uncovered;
135
+ * empty when the repository does not use Prettier.
136
+ */
137
+ function unignoredByPrettier(root, names) {
138
+ if (!usesPrettier(root))
139
+ return [];
140
+ const ignore = read(join(root, '.prettierignore'))?.toString('utf8') ?? '';
141
+ return names
142
+ .map((name) => `${SKILLS_ROOT}/${name}`)
143
+ .filter((dir) => !coversDirectory(ignore, dir))
144
+ .map((dir) => `${dir}/`);
145
+ }
86
146
  export function runSkill(action, options = {}) {
87
147
  if (action !== 'install') {
88
148
  return {
@@ -220,6 +280,7 @@ export function runSkill(action, options = {}) {
220
280
  }
221
281
  const ignored = ignoredTrackables(root, [...planned.map((file) => file.path), SKILL_NOTES_PATH]);
222
282
  const skillNames = ['duro-mockup', ...packaged.keys()];
283
+ const prettierUnignored = unignoredByPrettier(root, skillNames);
223
284
  return {
224
285
  text: [
225
286
  `Duro skills installed: ${skillNames.join(', ')} — invoke the workflow as /duro-mockup.`,
@@ -235,10 +296,18 @@ export function runSkill(action, options = {}) {
235
296
  'Add a negation for each:',
236
297
  ...ignored.map((path) => ` !${path}`),
237
298
  ]),
299
+ ...(prettierUnignored.length === 0
300
+ ? []
301
+ : [
302
+ '',
303
+ 'WARNING: this repository uses Prettier and .prettierignore does not cover the skills,',
304
+ 'so Prettier would reformat them and --check would report drift. Add to .prettierignore:',
305
+ ...prettierUnignored.map((path) => ` ${path}`),
306
+ ]),
238
307
  '',
239
308
  'Next: npx -y @duro-app/cli skill install --check',
240
309
  ].join('\n'),
241
- data: { ok: true, changes, ignored },
310
+ data: { ok: true, changes, ignored, prettierUnignored },
242
311
  };
243
312
  }
244
313
  //# sourceMappingURL=skill.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill.js","sourceRoot":"","sources":["../../src/commands/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EACL,UAAU,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,UAAU,EACV,MAAM,EACN,aAAa,GACd,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IAAI,EAAE,UAAU,CAAC,CAAA;IAC/D,OAAO;QACL,IAAI,EAAE;YACJ,0BAA0B,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,yCAAyC;YACxF,GAAG,KAAK;YACR,EAAE;YACF,oCAAoC,gBAAgB,+BAA+B;YACnF,mCAAmC;YACnC,GAAG,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC;gBACtB,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC;oBACE,EAAE;oBACF,yEAAyE;oBACzE,0BAA0B;oBAC1B,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC;iBACvC,CAAC;YACN,GAAG,CAAC,iBAAiB,CAAC,MAAM,KAAK,CAAC;gBAChC,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC;oBACE,EAAE;oBACF,uFAAuF;oBACvF,yFAAyF;oBACzF,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC;iBAChD,CAAC;YACN,EAAE;YACF,kDAAkD;SACnD,CAAC,IAAI,CAAC,IAAI,CAAC;QACZ,IAAI,EAAE,EAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAC;KACtD,CAAA;AACH,CAAC"}
package/dist/manifest.js CHANGED
@@ -81,7 +81,7 @@ export const COMMANDS = [
81
81
  },
82
82
  {
83
83
  name: 'skill',
84
- summary: 'Claude Code skills — /duro-mockup (the mockup → implementation → proof workflow) plus the colors, typography and ui interface skills; install writes all four into the current repo',
84
+ summary: 'Claude Code skills — /duro-mockup (the mockup → implementation → proof workflow) plus the colors, typography and ui interface skills; install writes all four into the current repo; --force overwrites a skill directory of your own and removes the files in it that the package does not ship',
85
85
  args: [
86
86
  {
87
87
  name: 'action',
@@ -99,7 +99,7 @@ export const COMMANDS = [
99
99
  {
100
100
  name: 'force',
101
101
  type: 'boolean',
102
- description: 'install: with --force, write into an existing colors, typography or ui skill directory that lacks the shipped NOTICE.md (a skill of your own); without --force install refuses',
102
+ description: 'install: with --force, write into an existing colors, typography or ui skill directory that lacks the shipped NOTICE.md (a skill of your own); without --force install refuses. --force also removes the files of that overwritten directory the package does not ship',
103
103
  },
104
104
  ],
105
105
  returns: {
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAA;AAEzC,oFAAoF;AACpF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;AAgB7D,MAAM,CAAC,MAAM,QAAQ,GAAkB;IACrC;QACE,IAAI,EAAE,QAAQ;QACd,OAAO,EACL,+LAA+L;QACjM,IAAI,EAAE;YACJ;gBACE,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,WAAW,EACT,uGAAuG;gBACzG,UAAU,EAAE,OAAO;aACpB;SACF;QACD,KAAK,EAAE;YACL,EAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yCAAyC,EAAC;YACtF,EAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAiB,EAAC;YAChE,EAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,oCAAoC,EAAC;SAC1F;QACD,OAAO,EAAE;YACP,KAAK,EACH,wFAAwF;YAC1F,WAAW,EAAE,uEAAuE;SACrF;QACD,QAAQ,EAAE;YACR,aAAa;YACb,yBAAyB;YACzB,+BAA+B;YAC/B,uBAAuB;SACxB;QACD,OAAO,EAAE,gBAAgB;KAC1B;IACD;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,yCAAyC;QAClD,IAAI,EAAE;YACJ;gBACE,IAAI,E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KACF;CACF,CAAA;AAED,MAAM,UAAU,aAAa,CAAC,QAAkB,EAAE,OAAe;IAC/D,OAAO;QACL,IAAI,EAAE,eAAe;QACrB,GAAG,EAAE,MAAM;QACX,OAAO;QACP,aAAa,EAAE,QAAQ,CAAC,aAAa;QACrC,WAAW,EAAE,oDAAoD;QACjE,KAAK,EAAE,sCAAsC;QAC7C,WAAW,EAAE;YACX,EAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,qBAAqB,EAAC;YACnE,EAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,sBAAsB,EAAC;SACzE;QACD,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE;YACL,2EAA2E;YAC3E,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;YACzE,KAAK,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,QAAQ,CAAC;YAC1C,MAAM,EAAE,CAAC,eAAe,EAAE,SAAS,CAAC;YACpC,aAAa,EAAE,kBAAkB;YACjC,YAAY,EAAE,CAAC,SAAS,CAAC;SAC1B;KACF,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duro-app/cli",
3
- "version": "5.18.0",
3
+ "version": "5.20.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Machine-queryable docs for the Duro design system: components, props, recipes, tokens and rules as CLI output, JSON, or an MCP server.",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@modelcontextprotocol/sdk": ">=1.0.0",
49
- "@duro-app/ui": "^5.18.0"
49
+ "@duro-app/ui": "^5.20.0"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "@duro-app/ui": {
@@ -61,9 +61,9 @@
61
61
  "@types/node": "^24.0.0",
62
62
  "ts-morph": "^26.0.0",
63
63
  "typescript": "^5.7.0",
64
- "@duro-app/eslint-plugin": "^5.18.0",
65
- "@duro-app/tokens": "^5.18.0",
66
- "@duro-app/ui": "^5.18.0"
64
+ "@duro-app/eslint-plugin": "^5.20.0",
65
+ "@duro-app/ui": "^5.20.0",
66
+ "@duro-app/tokens": "^5.20.0"
67
67
  },
68
68
  "scripts": {
69
69
  "registry": "node scripts/build-registry.mjs",
package/registry.json CHANGED
@@ -1964,7 +1964,9 @@
1964
1964
  "fast",
1965
1965
  "brisk",
1966
1966
  "base",
1967
- "slow"
1967
+ "slow",
1968
+ "slower",
1969
+ "stagger"
1968
1970
  ]
1969
1971
  }
1970
1972
  ],
@@ -2234,7 +2236,9 @@
2234
2236
  "fast",
2235
2237
  "brisk",
2236
2238
  "base",
2237
- "slow"
2239
+ "slow",
2240
+ "slower",
2241
+ "stagger"
2238
2242
  ]
2239
2243
  }
2240
2244
  ],
@@ -2716,7 +2720,9 @@
2716
2720
  "fast",
2717
2721
  "brisk",
2718
2722
  "base",
2719
- "slow"
2723
+ "slow",
2724
+ "slower",
2725
+ "stagger"
2720
2726
  ]
2721
2727
  },
2722
2728
  {
@@ -4911,7 +4917,7 @@
4911
4917
  ],
4912
4918
  "required": []
4913
4919
  },
4914
- "description": "Structural primitive for grouping content with header, body, and footer slots. A \"workspace surface\" for forms, settings sections, and inspectors. Sub-components are purely structural — no context required.",
4920
+ "description": "Structural primitive for grouping content with header, body, and footer slots. A \"workspace surface\" for forms, settings sections, and inspectors. Sub-components are purely structural — no context required. On native the Body does not scroll (unlike the web Body): wrap long content in ScrollArea. A TextLink inside needs onNavigate for in-app routes on native.",
4915
4921
  "example": "<Panel.Root bordered>\n <Panel.Header>\n <Heading level={3}>Section Title</Heading>\n <Button variant=\"secondary\" size=\"small\">Action</Button>\n </Panel.Header>\n <Panel.Body>\n {/* Content */}\n </Panel.Body>\n <Panel.Footer>\n <Button>Save</Button>\n </Panel.Footer>\n</Panel.Root>",
4916
4922
  "relatedTo": [
4917
4923
  {
@@ -4937,7 +4943,7 @@
4937
4943
  ]
4938
4944
  },
4939
4945
  "name": "Panel",
4940
- "native": false,
4946
+ "native": true,
4941
4947
  "parts": {
4942
4948
  "Body": {
4943
4949
  "name": "Body",
@@ -5741,6 +5747,7 @@
5741
5747
  "Top-level horizontal nav — use Inline with LinkButton"
5742
5748
  ],
5743
5749
  "whenToUse": [
5750
+ "Inside `AppShell.Rail`: the Rail is the navigation landmark, so Root renders a plain block, or `role=\"group\"` with its `aria-label` when it has one. Name the Rail \"Main\", not \"Navigation\" (screen readers would announce \"Navigation navigation\"). Outside a Rail, Root is a `nav` landmark.",
5744
5751
  "App-level sidebar navigation — flat `Section`s, every destination visible",
5745
5752
  "Settings navigation with labelled regions",
5746
5753
  "`Group` for a rare or advanced region tucked below the flat sections",
@@ -5807,7 +5814,7 @@
5807
5814
  "type": "ReactNode"
5808
5815
  },
5809
5816
  {
5810
- "description": "Names the navigation landmark (\"Main\", \"Settings\"). Give one whenever the page has another nav (a breadcrumb, a pager): screen readers list landmarks by name.",
5817
+ "description": "Names the navigation landmark (\"Main\", \"Settings\"). Give one whenever the page has another nav (a breadcrumb, a pager): screen readers list landmarks by name. Inside `AppShell.Rail` it is not a landmark (the Rail is): the name then labels a `role=\"group\"`.",
5811
5818
  "name": "aria-label",
5812
5819
  "required": false,
5813
5820
  "type": "string"
@@ -7374,7 +7381,7 @@
7374
7381
  "importPath": "@duro-app/ui",
7375
7382
  "kind": "component",
7376
7383
  "meta": {
7377
- "description": "Inline hyperlink for running text and standalone text links (\"View all\", \"Edit profile\"). Always underlined, so colour is never the only cue: default is accent text with an accent underline; subtle keeps the surrounding text colour with a muted underline and turns accent on hover. target=\"_blank\" defaults rel to noopener noreferrer. onNavigate(href, event) hands a plain primary click to a client router (the app calls event.preventDefault(), then navigates); modified clicks keep the browser default.",
7384
+ "description": "Inline hyperlink for running text and standalone text links (\"View all\", \"Edit profile\"). Always underlined, so colour is never the only cue: default is accent text with an accent underline; subtle keeps the surrounding text colour with a muted underline and turns accent on hover. target=\"_blank\" defaults rel to noopener noreferrer. onNavigate(href, event) hands a plain primary click to a client router (the app calls event.preventDefault(), then navigates); modified clicks keep the browser default. On native the link renders no href and a press goes through onNavigate, then the system (Linking.openURL): onNavigate is required for in-app routes on native, and a target set skips it.",
7378
7385
  "example": "<Text>\n Read the <TextLink href=\"/docs/migrate\">migration guide</TextLink> before you change seats, or{' '}\n <TextLink href=\"/plans\" variant=\"subtle\">compare plans</TextLink> first.\n</Text>",
7379
7386
  "relatedTo": [
7380
7387
  {
@@ -7400,7 +7407,7 @@
7400
7407
  ]
7401
7408
  },
7402
7409
  "name": "TextLink",
7403
- "native": false,
7410
+ "native": true,
7404
7411
  "props": [
7405
7412
  {
7406
7413
  "name": "href",
@@ -8253,7 +8260,7 @@
8253
8260
  "Item"
8254
8261
  ]
8255
8262
  },
8256
- "description": "Hierarchy of items with single selection and expandable branches (the WAI-ARIA tree pattern): one tab stop, arrow keys, Home/End, typeahead. An Item with href renders its row as a real link (cmd-click opens a tab) outside the tab order; Enter/Space follows it, through onNavigate(href, event) when given. Compound component — Root is required. On React Native selection, expansion and aria-level are the same; the keyboard model (arrows, Home/End, typeahead) is web only.",
8263
+ "description": "Hierarchy of items with single selection and expandable branches (the WAI-ARIA tree pattern): one tab stop, arrow keys, Home/End, typeahead. A click or Enter on a branch row with no href selects it and toggles it open or closed (a folder); a branch with href navigates, and its chevron toggles. An Item with href renders its row as a real link (cmd-click opens a tab) outside the tab order; Enter/Space follows it, through onNavigate(href, event) when given. Compound component — Root is required. On React Native each row is a pressable link (href) or button, and a branch has its own chevron control that expands it (named by the optional Root prop expandLabel(text), default the item text); selection, expansion and aria-level are the same, the keyboard model (arrows, Home/End, typeahead) is web only. On native onNavigate is required for in-app routes: without it a relative href goes to the system (Linking.openURL). On web a tree with more items than Root virtualizeThreshold (default 150, open or not) is windowed: only the rows in view mount, as flat treeitems with aria-level, aria-setsize and aria-posinset; maxHeight caps its scroll viewport. Items must be JSX descendants of Root (fragments and arrays are fine, an Item hidden inside another component is not seen by the window). Native renders every row.",
8257
8264
  "example": "<Tree.Root aria-label=\"Blocs\" defaultExpanded={['energy']} onValueChange={setSelected}>\n <Tree.Item value=\"energy\" label=\"Core business — Energy\">\n <Tree.Item value=\"generation\" label=\"Generation\" meta=\"4 apps\" />\n <Tree.Item value=\"network\" label=\"Network operations\">\n <Tree.Item value=\"scada\" label=\"SCADA supervision\" />\n </Tree.Item>\n </Tree.Item>\n <Tree.Item value=\"finance\" label=\"Finance & steering\" />\n</Tree.Root>",
8258
8265
  "relatedTo": [
8259
8266
  {
@@ -8381,6 +8388,25 @@
8381
8388
  "name": "onExpandedChange",
8382
8389
  "required": false,
8383
8390
  "type": "(expanded: string[]) => void"
8391
+ },
8392
+ {
8393
+ "description": "Native: the accessible name of a branch's chevron control, from the item's text (its `textValue`, else a string `label`). Defaults to that text.",
8394
+ "name": "expandLabel",
8395
+ "required": false,
8396
+ "type": "(label: string) => string"
8397
+ },
8398
+ {
8399
+ "default": "150",
8400
+ "description": "Web: with more items than this (open or not) the tree mounts only the rows in view. At or below it, every row is mounted. Default 150.",
8401
+ "name": "virtualizeThreshold",
8402
+ "required": false,
8403
+ "type": "number"
8404
+ },
8405
+ {
8406
+ "description": "Web, windowed: caps the scroll viewport's height; without it, it fills its parent.",
8407
+ "name": "maxHeight",
8408
+ "required": false,
8409
+ "type": "Length"
8384
8410
  }
8385
8411
  ],
8386
8412
  "sourcePath": "packages/ui/src/components/Tree/Tree.tsx"
@@ -8918,8 +8944,8 @@
8918
8944
  },
8919
8945
  "ui": {
8920
8946
  "LICENSE": "MIT License\n\nCopyright (c) 2026 Jakub Krehel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
8921
- "NOTICE.md": "# Notice\n\nThis skill is a fork of `better-ui/` from the repository `jakubkrehel/skills`, at commit `4c66b1fa86e9ab70187b43d7da9b6fdb29f2ef63`, fetched 2026-10-16.\n\nLocal edits:\n\n- Renamed by `scripts/fork-interface-skills.sh` at dotfiles commit `5fbdc4b` (`better-ui` to `ui`).\n- Dropped `agents/openai.yaml`.\n- Added the precedence block after the introduction of `SKILL.md`.\n- Reconciled the clause in `ui/SKILL.md` that limited project tokens, so a project token always wins.\n- Extended the `description:` with animation triggers (menu or dialog enter and exit, staggered items, hover and press feedback, icon swaps), so `ui` wins those prompts over `motion-design`: 18/18 should, 0/12 near-miss on 2026-10-17, against 12/18 before.\n\nUpdating: diff upstream from the pinned commit, have a frontier model port the changes over the local edits, then bump the pin.\n\nThe upstream license (MIT) applies; the text is in `LICENSE`:\n\n> MIT License\n>\n> Copyright (c) 2026 Jakub Krehel\n>\n> Permission is hereby granted, free of charge, to any person obtaining a copy\n> of this software and associated documentation files (the \"Software\"), to deal\n> in the Software without restriction, including without limitation the rights\n> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n> copies of the Software, and to permit persons to whom the Software is\n> furnished to do so, subject to the following conditions:\n>\n> The above copyright notice and this permission notice shall be included in all\n> copies or substantial portions of the Software.\n>\n> THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n> SOFTWARE.\n",
8922
- "SKILL.md": "---\nname: ui\ndescription: Polishes the surfaces, icons and motion in your project with exact values for border radius, optical alignment, shadows, icon states and animation. Use when adding or tuning a UI animation or transition, such as a menu or dialog enter and exit, staggered list items, hover and press feedback or an icon swap.\n---\n\n# UI polish\n\nThis skill holds the visual polish for surfaces, icons and motion, with the exact value each detail takes. It applies once the underlying interaction is sound, and a polish finding never outranks a broken interaction.\n\nA decision of this repository (resolved at its applicable scope with `aval resolve`) outranks a value in this skill. Apply token requirements and gap routing only where the repository's decisions require them, keeping their named exemptions. On `duro-stack`, a non-exempt measure without a token is a design-system gap under ADR-0006/0027, never a local literal.\n\nWhere Duro defines the value, these win: the `spacing.css.ts` radii, `shadows.css.ts` and `motion.css.ts`.\n\nThe ui values with no token (`300ms` enter, `100ms` stagger, `cubic-bezier(0.2, 0, 0, 1)`) are known design-system gaps tracked in one issue (https://github.com/fredericrous/duro-design-system/issues/120), so a review reports them once against that issue and not per use.\n\n## Exact values, optional polish\n\nThe values below are exact, not ranges to approximate. `cubic-bezier(0.2, 0, 0, 1)` is not `cubic-bezier(0.4, 0, 0.2, 1)`, and `0.96` is not `0.95`. The optical nudges and the concentric padding cutoff are the exceptions. They are starting points, judged by eye.\n\nKeep the project's component library, tokens and density. A project token always wins over a value here, and this skill's value applies only where the project has no token for it. Match the project's motion language wherever no rule here gives a value. A deliberate and consistent project convention, such as a style with no shadows, is a preference and not a finding. The same detail done two ways within the project is a finding.\n\nText wrapping, font rendering, tabular numbers and text spacing belong to `typography`. Hit areas, keyboard support, ARIA and the reduced-motion requirement belong to `accessibility`. Grouping, section spacing, breakpoints and spatial RTL belong to `layout`, except directional icon mirroring. Color tokens and contrast measurement belong to `colors`.\n\n## Outer radius equals inner radius plus padding\n\nWhere nested surfaces share a visible, even inset, the outer radius is the inner radius plus the padding plus any border width. Past `24px` of padding, or where the padding is deliberately asymmetric, treat the layers as separate surfaces and keep each one's radius token. Recipes are in [surfaces.md](surfaces.md).\n\n## Align optically where geometry looks off\n\nWhere geometric centering looks off, nudge by eye. Give a button `2px` less padding on its icon side, shift a play triangle toward its point and fix asymmetric glyphs in the SVG itself. Recipes are in [surfaces.md](surfaces.md#optical-alignment).\n\n## Shadows for elevation, borders for structure\n\nWhere a border exists only to create depth, replace it with layered transparent `box-shadow` values. Keep borders on dividers, separators, table cells and selected states. Keep them on form inputs too, whose boundary needs 3:1 non-text contrast under `accessibility`. Focus rings belong to `accessibility` as well.\n\nForced-colors mode removes every `box-shadow`. Keep `border: 1px solid transparent` under a shadow ring so that mode still draws an edge. Recipes are in [surfaces.md](surfaces.md#shadow-recipes).\n\n## Outline images in pure black or white\n\nGive content images a `1px` outline inset by `1px`. Use `oklch(0 0 0 / 0.1)` in light mode and `oklch(1 0 0 / 0.1)` in dark. Never use a palette near-black, a tinted neutral or the accent color, because the tint shows as a colored fringe on the image edge. Skip transparent artwork such as logos and illustrations. The recipe is in [surfaces.md](surfaces.md#image-outlines).\n\n## Transitions, not keyframes, for interactive state\n\nDrive interactive state changes with CSS transitions or a motion library's springs, which retarget when the user reverses mid-flight. Keyframes run a fixed timeline and cannot reverse, so reserve them for sequences that run once. See [animations.md](animations.md).\n\n## Press scales to 0.96\n\nA pressed button scales to `0.96` over `150ms` with `ease-out`, and a disabled one never scales. Give the button an opt-out where the motion would distract, through the component's existing variant API or a `static` prop. See [recipes for CSS, Tailwind and Motion](animations.md#scale-on-press).\n\n## High-frequency interactions get no animation\n\nKeystrokes, row hovers and tab switches get instant feedback, or a transition of `150ms` or less on `opacity` or `background-color`. Reserve expressive motion for infrequent moments such as a view's first load, a success state or an empty state.\n\nEvery animated state change also leaves a static cue in the form of a color, icon or label. Motion is never the only feedback channel.\n\n## Gate motion behind the reduced-motion preference\n\n`accessibility` owns the requirement, and no recipe here ships without it. Run movement, scale and blur only under `prefers-reduced-motion: no-preference`. Under reduced motion, replace them with an opacity cross-fade rather than removing the element instantly. Recipes for CSS, Tailwind and Motion are in [animations.md](animations.md#reduced-motion-fallback).\n\n## Stagger infrequent entrances by 100ms\n\nWhere sequence communicates hierarchy in a staged entrance, split the content into semantic chunks such as title, description and actions. Stagger them `100ms` apart, each entering with opacity, `4px` of blur and `12px` of `translateY` over `300ms` with `ease-out`. Never stagger routine interactions. See [enter-exit.md](enter-exit.md).\n\n## Exits are shorter and smaller than enters\n\nExit with opacity, `4px` of blur and a fixed `-12px` `translateY` over `150ms` with `ease-out`, never the full container height. Slide fully out only where the destination carries meaning, such as a drawer closing. Remove the element instantly where motion adds no information. See [enter-exit.md](enter-exit.md#exit-animations).\n\n## Skip state animations on first render\n\nSet `initial={false}` on an `AnimatePresence` that wraps a state swap, so the default state does not animate in on mount. Never set it around an intentional entrance such as a staggered hero. See [animations.md](animations.md#skip-animation-on-page-load).\n\n## Cross-fade contextual icons with exact values\n\nWhere an icon swaps on an infrequent state change, such as play to pause or copy to copied, cross-fade it. Scale runs `0.25` to `1`, opacity `0` to `1` and blur `4px` to `0px`. With a motion library, use `{ type: \"spring\", duration: 0.3, bounce: 0 }`, and bounce is always `0`. Without one, keep both icons in the DOM and cross-fade over `300ms` with `cubic-bezier(0.2, 0, 0, 1)`.\n\nA tab's icon swap and the actions a row reveals on hover fall under **High-frequency interactions get no animation**. Both recipes are in [icon-transitions.md](icon-transitions.md).\n\n## Suppress transitions on theme switch\n\nDisable every transition for the theme swap, force a style flush and restore transitions after the next frame. Otherwise every color transition fires at once and the switch smears. See the [recipe](animations.md#suppress-transitions-on-theme-switch).\n\n## Transition only what changes\n\nName the exact properties, as in `transition-property: scale, opacity`, and never `all`. See [performance.md](performance.md).\n\n## Name the animated property in will-change\n\nAdd `will-change` only after you see first-frame stutter, and name the property you animate: `scale` for `scale`, `transform` for `transform`. Limit it to transform properties, `opacity` and `filter`, and never use `all`. See [performance.md](performance.md#use-will-change-sparingly).\n\n## Hover effects only on hover-capable pointers\n\nPut hover-only styling behind `@media (hover: hover)`. On touch, `:hover` latches after a tap and reads as a stuck selected state. Tailwind 4's `hover:` variant already compiles under that query, and Tailwind 3's does not. Where a control draws its own pressed state, set `-webkit-tap-highlight-color: transparent` so the default gray flash does not double it.\n\n## Contain scroll inside overlays\n\nGive scrollable dialogs, drawers, menus and side panels `overscroll-behavior: contain`, so scrolling past their end never scrolls the page behind.\n\n## Match icon stroke to text weight\n\nAn icon's rendered stroke tracks the weight of the text beside it, from `1.5px` at 400 to `2.5px` at 700. Use one icon library per surface. The table, sizing and grid rules are in [icons.md](icons.md).\n\n## One SVG, recolored per state\n\nIcons use `currentColor` and take hover, selected and disabled states from CSS color and opacity, never from separate assets. Outline is the default variant, and fill marks the active state. Under `dir=\"rtl\"`, mirror only icons whose meaning follows reading direction. See [icons.md](icons.md#icons-in-rtl).\n\n## Before you finish\n\n| Detection | Fix |\n| --- | --- |\n| Padded parent and child with the same `rounded-*` or `border-radius` | Add the padding to the outer radius |\n| `box-shadow: 0 0 0 1px` ring with no `border` beside it | `border: 1px solid transparent` |\n| `outline-slate-*`, `outline-zinc-*` or a hex outline color on `img` | `outline-black/10` and `dark:outline-white/10` |\n| `transition-all` or `transition: all` | Name the changing properties |\n| `animation:` set on `:hover`, `.open` or another toggled class | A transition on the same properties |\n| `active:scale-95`, `scale-90` or `whileTap` below `0.96` | `0.96` |\n| `:active` scale with no `:disabled` exclusion | `enabled:active:` or `:not(:disabled):active` |\n| `bounce:` set to anything but `0` | `bounce: 0` |\n| `opacity: 0` in a base rule that only an `animation` reveals | Hidden state in the `from` keyframe, `animation-fill-mode: both` |\n| `translate`, `scale`, `filter` or `motion.*` animation with no `prefers-reduced-motion`, `motion-safe:` or `MotionConfig` guard | Gate it and cross-fade opacity under reduced motion |\n| Color transitions plus a theme toggle with no `disableTransitionOnChange` or override | The theme-switch suppression recipe |\n| `will-change: all`, or `will-change` on an element that never animates | Name the animated property or delete it |\n| `fill=\"#...\"` or `stroke=\"#...\"` inside an icon SVG | `currentColor` |\n| Plain-CSS `:hover` or Tailwind 3 `hover:` outside `@media (hover: hover)` | Wrap it in the query |\n| `overflow: auto` or `overflow-y-auto` on a dialog, drawer or menu with no `overscroll-behavior` | `overscroll-behavior: contain` |\n\n## Reporting\n\n**Severity.** `HIGH` breaks an interaction, as a keyframe toggle that cannot reverse or a hover state stuck on touch does. Two of `interface`'s escalation triggers land here and are `HIGH` on sight. One is motion that ignores `prefers-reduced-motion`, and the other is a state change carried by motion alone. `MEDIUM` is a visible inconsistency in surfaces, icons or motion. `LOW` is isolated polish.\n\n**Verification.** Without a browser, read every state the component defines from the code, such as hover, pressed, selected, loading and empty, with its durations and easings. With one, walk each state and replay motion at 10% speed in the browser's Animations panel. Report every check you could not run as `Not verified`.\n\n**Format.** Group findings under the principle each violates, ordered by severity, one row per root cause listing every location it appears in:\n\n| Severity | Location | Before | After | Why |\n| --- | --- | --- | --- | --- |\n\n`Location` is `path/to/file:line`. `Why` names the principle and the user impact.\n\nEnd with `Block` when any `HIGH` remains, `Approve` otherwise, leaving the rest in the table as work to do. Never `Approve` coverage you did not inspect. With nothing to report, state \"No actionable UI-polish findings\" and report verification.\n",
8947
+ "NOTICE.md": "# Notice\n\nThis skill is a fork of `better-ui/` from the repository `jakubkrehel/skills`, at commit `4c66b1fa86e9ab70187b43d7da9b6fdb29f2ef63`, fetched 2026-10-16.\n\nLocal edits:\n\n- Renamed by `scripts/fork-interface-skills.sh` at dotfiles commit `5fbdc4b` (`better-ui` to `ui`).\n- Dropped `agents/openai.yaml`.\n- Added the precedence block after the introduction of `SKILL.md`.\n- Reconciled the clause in `ui/SKILL.md` that limited project tokens, so a project token always wins.\n- Extended the `description:` with animation triggers (menu or dialog enter and exit, staggered items, hover and press feedback, icon swaps), so `ui` wins those prompts over `motion-design`: 18/18 should, 0/12 near-miss on 2026-10-17, against 12/18 before.\n- Replaced the line calling the untokenised ui values known gaps (issue #120) with one naming them as Duro tokens: `duration.slower`, `duration.stagger`, `easing.emphasized`.\n\nUpdating: diff upstream from the pinned commit, have a frontier model port the changes over the local edits, then bump the pin.\n\nThe upstream license (MIT) applies; the text is in `LICENSE`:\n\n> MIT License\n>\n> Copyright (c) 2026 Jakub Krehel\n>\n> Permission is hereby granted, free of charge, to any person obtaining a copy\n> of this software and associated documentation files (the \"Software\"), to deal\n> in the Software without restriction, including without limitation the rights\n> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n> copies of the Software, and to permit persons to whom the Software is\n> furnished to do so, subject to the following conditions:\n>\n> The above copyright notice and this permission notice shall be included in all\n> copies or substantial portions of the Software.\n>\n> THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n> SOFTWARE.\n",
8948
+ "SKILL.md": "---\nname: ui\ndescription: Polishes the surfaces, icons and motion in your project with exact values for border radius, optical alignment, shadows, icon states and animation. Use when adding or tuning a UI animation or transition, such as a menu or dialog enter and exit, staggered list items, hover and press feedback or an icon swap.\n---\n\n# UI polish\n\nThis skill holds the visual polish for surfaces, icons and motion, with the exact value each detail takes. It applies once the underlying interaction is sound, and a polish finding never outranks a broken interaction.\n\nA decision of this repository (resolved at its applicable scope with `aval resolve`) outranks a value in this skill. Apply token requirements and gap routing only where the repository's decisions require them, keeping their named exemptions. On `duro-stack`, a non-exempt measure without a token is a design-system gap under ADR-0006/0027, never a local literal.\n\nWhere Duro defines the value, these win: the `spacing.css.ts` radii, `shadows.css.ts` and `motion.css.ts`.\n\nThe ui values `300ms` enter, `100ms` stagger and `cubic-bezier(0.2, 0, 0, 1)` are Duro tokens (`duration.slower`, `duration.stagger`, `easing.emphasized`) that a review uses instead of the literal.\n\n## Exact values, optional polish\n\nThe values below are exact, not ranges to approximate. `cubic-bezier(0.2, 0, 0, 1)` is not `cubic-bezier(0.4, 0, 0.2, 1)`, and `0.96` is not `0.95`. The optical nudges and the concentric padding cutoff are the exceptions. They are starting points, judged by eye.\n\nKeep the project's component library, tokens and density. A project token always wins over a value here, and this skill's value applies only where the project has no token for it. Match the project's motion language wherever no rule here gives a value. A deliberate and consistent project convention, such as a style with no shadows, is a preference and not a finding. The same detail done two ways within the project is a finding.\n\nText wrapping, font rendering, tabular numbers and text spacing belong to `typography`. Hit areas, keyboard support, ARIA and the reduced-motion requirement belong to `accessibility`. Grouping, section spacing, breakpoints and spatial RTL belong to `layout`, except directional icon mirroring. Color tokens and contrast measurement belong to `colors`.\n\n## Outer radius equals inner radius plus padding\n\nWhere nested surfaces share a visible, even inset, the outer radius is the inner radius plus the padding plus any border width. Past `24px` of padding, or where the padding is deliberately asymmetric, treat the layers as separate surfaces and keep each one's radius token. Recipes are in [surfaces.md](surfaces.md).\n\n## Align optically where geometry looks off\n\nWhere geometric centering looks off, nudge by eye. Give a button `2px` less padding on its icon side, shift a play triangle toward its point and fix asymmetric glyphs in the SVG itself. Recipes are in [surfaces.md](surfaces.md#optical-alignment).\n\n## Shadows for elevation, borders for structure\n\nWhere a border exists only to create depth, replace it with layered transparent `box-shadow` values. Keep borders on dividers, separators, table cells and selected states. Keep them on form inputs too, whose boundary needs 3:1 non-text contrast under `accessibility`. Focus rings belong to `accessibility` as well.\n\nForced-colors mode removes every `box-shadow`. Keep `border: 1px solid transparent` under a shadow ring so that mode still draws an edge. Recipes are in [surfaces.md](surfaces.md#shadow-recipes).\n\n## Outline images in pure black or white\n\nGive content images a `1px` outline inset by `1px`. Use `oklch(0 0 0 / 0.1)` in light mode and `oklch(1 0 0 / 0.1)` in dark. Never use a palette near-black, a tinted neutral or the accent color, because the tint shows as a colored fringe on the image edge. Skip transparent artwork such as logos and illustrations. The recipe is in [surfaces.md](surfaces.md#image-outlines).\n\n## Transitions, not keyframes, for interactive state\n\nDrive interactive state changes with CSS transitions or a motion library's springs, which retarget when the user reverses mid-flight. Keyframes run a fixed timeline and cannot reverse, so reserve them for sequences that run once. See [animations.md](animations.md).\n\n## Press scales to 0.96\n\nA pressed button scales to `0.96` over `150ms` with `ease-out`, and a disabled one never scales. Give the button an opt-out where the motion would distract, through the component's existing variant API or a `static` prop. See [recipes for CSS, Tailwind and Motion](animations.md#scale-on-press).\n\n## High-frequency interactions get no animation\n\nKeystrokes, row hovers and tab switches get instant feedback, or a transition of `150ms` or less on `opacity` or `background-color`. Reserve expressive motion for infrequent moments such as a view's first load, a success state or an empty state.\n\nEvery animated state change also leaves a static cue in the form of a color, icon or label. Motion is never the only feedback channel.\n\n## Gate motion behind the reduced-motion preference\n\n`accessibility` owns the requirement, and no recipe here ships without it. Run movement, scale and blur only under `prefers-reduced-motion: no-preference`. Under reduced motion, replace them with an opacity cross-fade rather than removing the element instantly. Recipes for CSS, Tailwind and Motion are in [animations.md](animations.md#reduced-motion-fallback).\n\n## Stagger infrequent entrances by 100ms\n\nWhere sequence communicates hierarchy in a staged entrance, split the content into semantic chunks such as title, description and actions. Stagger them `100ms` apart, each entering with opacity, `4px` of blur and `12px` of `translateY` over `300ms` with `ease-out`. Never stagger routine interactions. See [enter-exit.md](enter-exit.md).\n\n## Exits are shorter and smaller than enters\n\nExit with opacity, `4px` of blur and a fixed `-12px` `translateY` over `150ms` with `ease-out`, never the full container height. Slide fully out only where the destination carries meaning, such as a drawer closing. Remove the element instantly where motion adds no information. See [enter-exit.md](enter-exit.md#exit-animations).\n\n## Skip state animations on first render\n\nSet `initial={false}` on an `AnimatePresence` that wraps a state swap, so the default state does not animate in on mount. Never set it around an intentional entrance such as a staggered hero. See [animations.md](animations.md#skip-animation-on-page-load).\n\n## Cross-fade contextual icons with exact values\n\nWhere an icon swaps on an infrequent state change, such as play to pause or copy to copied, cross-fade it. Scale runs `0.25` to `1`, opacity `0` to `1` and blur `4px` to `0px`. With a motion library, use `{ type: \"spring\", duration: 0.3, bounce: 0 }`, and bounce is always `0`. Without one, keep both icons in the DOM and cross-fade over `300ms` with `cubic-bezier(0.2, 0, 0, 1)`.\n\nA tab's icon swap and the actions a row reveals on hover fall under **High-frequency interactions get no animation**. Both recipes are in [icon-transitions.md](icon-transitions.md).\n\n## Suppress transitions on theme switch\n\nDisable every transition for the theme swap, force a style flush and restore transitions after the next frame. Otherwise every color transition fires at once and the switch smears. See the [recipe](animations.md#suppress-transitions-on-theme-switch).\n\n## Transition only what changes\n\nName the exact properties, as in `transition-property: scale, opacity`, and never `all`. See [performance.md](performance.md).\n\n## Name the animated property in will-change\n\nAdd `will-change` only after you see first-frame stutter, and name the property you animate: `scale` for `scale`, `transform` for `transform`. Limit it to transform properties, `opacity` and `filter`, and never use `all`. See [performance.md](performance.md#use-will-change-sparingly).\n\n## Hover effects only on hover-capable pointers\n\nPut hover-only styling behind `@media (hover: hover)`. On touch, `:hover` latches after a tap and reads as a stuck selected state. Tailwind 4's `hover:` variant already compiles under that query, and Tailwind 3's does not. Where a control draws its own pressed state, set `-webkit-tap-highlight-color: transparent` so the default gray flash does not double it.\n\n## Contain scroll inside overlays\n\nGive scrollable dialogs, drawers, menus and side panels `overscroll-behavior: contain`, so scrolling past their end never scrolls the page behind.\n\n## Match icon stroke to text weight\n\nAn icon's rendered stroke tracks the weight of the text beside it, from `1.5px` at 400 to `2.5px` at 700. Use one icon library per surface. The table, sizing and grid rules are in [icons.md](icons.md).\n\n## One SVG, recolored per state\n\nIcons use `currentColor` and take hover, selected and disabled states from CSS color and opacity, never from separate assets. Outline is the default variant, and fill marks the active state. Under `dir=\"rtl\"`, mirror only icons whose meaning follows reading direction. See [icons.md](icons.md#icons-in-rtl).\n\n## Before you finish\n\n| Detection | Fix |\n| --- | --- |\n| Padded parent and child with the same `rounded-*` or `border-radius` | Add the padding to the outer radius |\n| `box-shadow: 0 0 0 1px` ring with no `border` beside it | `border: 1px solid transparent` |\n| `outline-slate-*`, `outline-zinc-*` or a hex outline color on `img` | `outline-black/10` and `dark:outline-white/10` |\n| `transition-all` or `transition: all` | Name the changing properties |\n| `animation:` set on `:hover`, `.open` or another toggled class | A transition on the same properties |\n| `active:scale-95`, `scale-90` or `whileTap` below `0.96` | `0.96` |\n| `:active` scale with no `:disabled` exclusion | `enabled:active:` or `:not(:disabled):active` |\n| `bounce:` set to anything but `0` | `bounce: 0` |\n| `opacity: 0` in a base rule that only an `animation` reveals | Hidden state in the `from` keyframe, `animation-fill-mode: both` |\n| `translate`, `scale`, `filter` or `motion.*` animation with no `prefers-reduced-motion`, `motion-safe:` or `MotionConfig` guard | Gate it and cross-fade opacity under reduced motion |\n| Color transitions plus a theme toggle with no `disableTransitionOnChange` or override | The theme-switch suppression recipe |\n| `will-change: all`, or `will-change` on an element that never animates | Name the animated property or delete it |\n| `fill=\"#...\"` or `stroke=\"#...\"` inside an icon SVG | `currentColor` |\n| Plain-CSS `:hover` or Tailwind 3 `hover:` outside `@media (hover: hover)` | Wrap it in the query |\n| `overflow: auto` or `overflow-y-auto` on a dialog, drawer or menu with no `overscroll-behavior` | `overscroll-behavior: contain` |\n\n## Reporting\n\n**Severity.** `HIGH` breaks an interaction, as a keyframe toggle that cannot reverse or a hover state stuck on touch does. Two of `interface`'s escalation triggers land here and are `HIGH` on sight. One is motion that ignores `prefers-reduced-motion`, and the other is a state change carried by motion alone. `MEDIUM` is a visible inconsistency in surfaces, icons or motion. `LOW` is isolated polish.\n\n**Verification.** Without a browser, read every state the component defines from the code, such as hover, pressed, selected, loading and empty, with its durations and easings. With one, walk each state and replay motion at 10% speed in the browser's Animations panel. Report every check you could not run as `Not verified`.\n\n**Format.** Group findings under the principle each violates, ordered by severity, one row per root cause listing every location it appears in:\n\n| Severity | Location | Before | After | Why |\n| --- | --- | --- | --- | --- |\n\n`Location` is `path/to/file:line`. `Why` names the principle and the user impact.\n\nEnd with `Block` when any `HIGH` remains, `Approve` otherwise, leaving the rest in the table as work to do. Never `Approve` coverage you did not inspect. With nothing to report, state \"No actionable UI-polish findings\" and report verification.\n",
8923
8949
  "animations.md": "# Animations\n\nRecipes for interruptible transitions, press feedback, first-render behavior, theme switches and the reduced-motion fallback. Staged entrances and exits live in [enter-exit.md](enter-exit.md), and icon swaps in [icon-transitions.md](icon-transitions.md).\n\n## Interruptible animations\n\n| | CSS transitions | CSS keyframe animations |\n| --- | --- | --- |\n| **Behavior** | Interpolate toward the latest state | Run on a fixed timeline |\n| **Interrupted** | Retarget mid-flight and reverse | Snap or restart from the beginning |\n| **Use for** | Hover, toggle, open and close | Sequences that run once, such as enters and loading |\n\n```css\n/* Good: clicking again mid-animation reverses smoothly */\n.drawer {\n transform: translateX(-100%);\n transition: transform 200ms ease-out;\n}\n.drawer.open {\n transform: translateX(0);\n}\n\n/* Bad: closing mid-animation snaps */\n.drawer.open {\n animation: slideIn 200ms ease-out forwards;\n}\n```\n\n## Scale on press\n\n```css\n.button {\n transition-property: scale;\n transition-duration: 150ms;\n transition-timing-function: ease-out;\n}\n\n.button:not(:disabled):active {\n scale: 0.96;\n}\n```\n\n```tsx\n// Tailwind\n<button className=\"transition-transform duration-150 ease-out enabled:active:scale-[0.96]\">\n Click me\n</button>\n\n// Motion\n<motion.button whileTap={disabled ? undefined : { scale: 0.96 }} disabled={disabled}>\n Click me\n</motion.button>\n```\n\n### Static prop pattern\n\nWhere the button has no variant API to carry the opt-out, apply the scale class conditionally on a `static` prop:\n\n```tsx\nconst tapScale = \"enabled:active:scale-[0.96]\";\n\nfunction Button({ static: isStatic, className, children, ...props }) {\n return (\n <button\n className={cn(\n \"transition-transform duration-150 ease-out\",\n !isStatic && tapScale,\n className,\n )}\n {...props}\n >\n {children}\n </button>\n );\n}\n\n// Usage\n<Button>Click me</Button> {/* scales on press */}\n<Button static>Submit</Button> {/* no scale */}\n```\n\n## Skip animation on page load\n\nThe icon recipe in [icon-transitions.md](icon-transitions.md#motion) shows `initial={false}` used correctly. It suits icon swaps, toggles, tabs and segmented controls, anything with a default state on page load.\n\nSetting it around a first-time entrance skips that entrance entirely. Check the component on a full page refresh before adding it.\n\n```tsx\n// Bad: initial={false} skips the staggered page enter\n<AnimatePresence initial={false}>\n <motion.div initial=\"hidden\" animate=\"visible\" variants={...}>\n ...\n </motion.div>\n</AnimatePresence>\n```\n\n## Suppress transitions on theme switch\n\nInject a stylesheet that turns off every transition, force a style flush so the new colors commit while it applies, then remove it after the next frame:\n\n```tsx\n\"use client\";\n\nimport { useEffect } from \"react\";\n\nexport function DisableThemeTransitions() {\n useEffect(() => {\n const mql = window.matchMedia(\"(prefers-color-scheme: dark)\");\n\n const handleChange = () => {\n const style = document.createElement(\"style\");\n style.append(\n document.createTextNode(\n \"*,*::before,*::after{transition:none !important}\"\n )\n );\n document.head.append(style);\n\n void document.body.offsetHeight; // forces a synchronous style flush\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => style.remove());\n });\n };\n\n mql.addEventListener(\"change\", handleChange);\n return () => mql.removeEventListener(\"change\", handleChange);\n }, []);\n\n return null;\n}\n```\n\nThe new theme resolves while the override is still in the document, so no transition starts. The nested `requestAnimationFrame` removes the override only after that paint.\n\nThat covers the OS-level change. An in-app toggle needs the same steps around its own flip: apply the override, change the theme, flush and remove. `next-themes` ships this as `disableTransitionOnChange`.\n\n## High-frequency motion\n\n```css\n/* Good: high-frequency hover gets a minimal transition */\n.row:hover {\n background-color: var(--surface-hover);\n transition: background-color 100ms ease-out;\n}\n\n/* Bad: every hover replays a full entrance */\n.row:hover .row-icon {\n animation: bounceIn 500ms;\n}\n```\n\n## Reduced-motion fallback\n\nThe opacity fade runs for everyone, and movement, scale and blur join it only without the preference:\n\n```css\n.panel {\n transition: opacity 150ms ease-out;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .panel {\n transition-property: opacity, translate, scale, filter;\n transition-duration: 300ms;\n }\n}\n```\n\nIn Tailwind, prefix movement, scale and blur utilities with `motion-safe:`. In Motion, wrap the app in `<MotionConfig reducedMotion=\"user\">`. It turns off transform and layout animations under the preference and keeps opacity. Blur still runs there, so branch on `useReducedMotion()` where a recipe animates `filter`.\n",
8924
8950
  "enter-exit.md": "# Enter and exit animations\n\nRecipes for staged entrances and the exits that follow them. For interactive state feedback see [animations.md](animations.md), and for icon swaps see [icon-transitions.md](icon-transitions.md).\n\n## Enter animations\n\n1. **Split** into semantic groups such as title, description and actions.\n2. **Stagger** the groups `100ms` apart.\n3. **Split a short display headline** into words, staggered `80ms` apart, where it should read word by word.\n4. **Combine** `opacity`, `blur` and `translateY` for each group's enter.\n\n### Motion\n\n```tsx\nconst item = {\n hidden: { opacity: 0, y: 12, filter: \"blur(4px)\" },\n visible: {\n opacity: 1,\n y: 0,\n filter: \"blur(0px)\",\n transition: { duration: 0.3, ease: \"easeOut\" },\n },\n};\n\nfunction PageHeader() {\n return (\n <motion.div\n initial=\"hidden\"\n animate=\"visible\"\n variants={{ visible: { transition: { staggerChildren: 0.1 } } }}\n >\n <motion.h1 variants={item}>Welcome</motion.h1>\n <motion.p variants={item}>A description of the page.</motion.p>\n <motion.div variants={item}>\n <Button>Get started</Button>\n </motion.div>\n </motion.div>\n );\n}\n```\n\n### CSS\n\nThe hidden state lives in the `from` keyframe, so an item whose animation never runs stays visible. Reduced motion keeps only the opacity keyframe.\n\n```css\n.stagger-item {\n animation: fade-in 300ms ease-out both;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .stagger-item {\n animation-name: fade-in-up;\n }\n}\n\n.stagger-item:nth-child(2) { animation-delay: 100ms; }\n.stagger-item:nth-child(3) { animation-delay: 200ms; }\n\n@keyframes fade-in {\n from { opacity: 0; }\n}\n\n@keyframes fade-in-up {\n from {\n opacity: 0;\n transform: translateY(12px);\n filter: blur(4px);\n }\n}\n```\n\n### Entering from display: none\n\nA popover, dialog or element toggled from `display: none` has no previous style to transition from. `@starting-style` supplies one, and `transition-behavior: allow-discrete` keeps it rendered through the exit. The open state's duration applies on enter and the closed state's on exit.\n\n```css\n[popover] {\n opacity: 0;\n translate: 0 12px;\n transition-property: opacity, translate, display, overlay;\n transition-duration: 150ms;\n transition-timing-function: ease-out;\n transition-behavior: allow-discrete;\n}\n\n[popover]:popover-open {\n opacity: 1;\n translate: 0 0;\n transition-duration: 300ms;\n}\n\n@starting-style {\n [popover]:popover-open {\n opacity: 0;\n translate: 0 12px;\n }\n}\n```\n\n`@starting-style` and discrete `display` transitions are Baseline 2024. `overlay` is Chromium only, and browsers without support show and hide instantly.\n\n## Exit animations\n\n### Subtle exit\n\n```tsx\n<motion.div\n exit={{\n opacity: 0,\n y: -12,\n filter: \"blur(4px)\",\n transition: { duration: 0.15, ease: \"easeOut\" },\n }}\n>\n {content}\n</motion.div>\n```\n\n### Full exit\n\nSlide fully out only where the destination carries meaning, such as a card returning to a list or a drawer closing:\n\n```tsx\n<motion.div\n exit={{\n opacity: 0,\n x: \"-100%\",\n transition: { duration: 0.2, ease: \"easeOut\" },\n }}\n>\n {content}\n</motion.div>\n```\n\n### Good and bad\n\n```css\n/* Good: subtle exit */\n.item-exit {\n opacity: 0;\n transform: translateY(-12px);\n transition: opacity 150ms ease-out, transform 150ms ease-out;\n}\n\n/* Bad: dramatic exit that steals focus */\n.item-exit {\n opacity: 0;\n transform: translateY(-100%) scale(0.5);\n transition: all 400ms ease-out;\n}\n\n/* Sometimes correct: remove at once when motion adds no information */\n.item-exit {\n display: none;\n}\n```\n",
8925
8951
  "icon-transitions.md": "# Icon transitions\n\nCross-fade recipes for an icon that swaps on a state change, with and without a motion library. Icon weight, color and direction live in [icons.md](icons.md).\n\n## Which library\n\nCheck the project's `package.json`. Import from `\"motion/react\"` when `motion` is installed, or `\"framer-motion\"` when that is. Where both exist, follow the imports the component or its nearest peers already use. Where neither is present, use the CSS cross-fade and never add a dependency just for icon transitions.\n\n## Motion\n\n```tsx\nimport { AnimatePresence, motion } from \"motion/react\";\n\nfunction IconButton({ isActive, icon: Icon }) {\n return (\n <button>\n <AnimatePresence initial={false} mode=\"popLayout\">\n <motion.span\n key={isActive ? \"active\" : \"inactive\"}\n initial={{ opacity: 0, scale: 0.25, filter: \"blur(4px)\" }}\n animate={{ opacity: 1, scale: 1, filter: \"blur(0px)\" }}\n exit={{ opacity: 0, scale: 0.25, filter: \"blur(4px)\" }}\n transition={{ type: \"spring\", duration: 0.3, bounce: 0 }}\n >\n <Icon />\n </motion.span>\n </AnimatePresence>\n </button>\n );\n}\n```\n\n`initial={false}` keeps the default icon from animating in on mount.\n\n## CSS, both icons in the DOM\n\nBoth icons stay mounted in one grid cell, so enter and exit both animate and the larger icon sets the size. The `motion-reduce:` classes leave only the opacity fade under reduced motion.\n\n```tsx\nconst layer = cn(\n \"[grid-area:1/1] transition-[opacity,filter,scale] duration-300\",\n \"ease-[cubic-bezier(0.2,0,0,1)]\",\n \"motion-reduce:scale-100 motion-reduce:blur-[0px]\"\n);\nconst shown = \"scale-100 opacity-100 blur-[0px]\";\nconst hidden = \"scale-[0.25] opacity-0 blur-[4px]\";\n\nfunction IconButton({ isActive, ActiveIcon, InactiveIcon }) {\n return (\n <button>\n <span className=\"grid place-items-center\">\n <span className={cn(layer, isActive ? shown : hidden)}>\n <ActiveIcon />\n </span>\n <span className={cn(layer, isActive ? hidden : shown)}>\n <InactiveIcon />\n </span>\n </span>\n </button>\n );\n}\n```\n\nTailwind 4's `scale-*` utilities write the `scale` property, so `transition-[...scale]` animates them. Tailwind 3's write `transform`, so name `transform` in the transition instead.\n\n## Which icons animate\n\n| Animate | Don't animate |\n| --- | --- |\n| Infrequent state swaps such as play to pause, like to liked or copy to copied | Hover-revealed actions in list rows |\n| Icons in a toolbar that appears on selection | Tab and navigation icon swaps |\n| Loading and success indicators | Decorative or always-visible icons |\n",
@@ -10248,6 +10274,14 @@
10248
10274
  "key": "duration.slow",
10249
10275
  "value": "280ms"
10250
10276
  },
10277
+ {
10278
+ "key": "duration.slower",
10279
+ "value": "300ms"
10280
+ },
10281
+ {
10282
+ "key": "duration.stagger",
10283
+ "value": "100ms"
10284
+ },
10251
10285
  {
10252
10286
  "key": "easing.standard",
10253
10287
  "value": "ease"
@@ -10263,6 +10297,10 @@
10263
10297
  {
10264
10298
  "key": "easing.easeIn",
10265
10299
  "value": "cubic-bezier(0.72, 0, 0.68, 0.28)"
10300
+ },
10301
+ {
10302
+ "key": "easing.emphasized",
10303
+ "value": "cubic-bezier(0.2, 0, 0, 1)"
10266
10304
  }
10267
10305
  ],
10268
10306
  "exportName": "duration, easing",
@@ -10839,7 +10877,7 @@
10839
10877
  "importPath": "@duro-app/tokens/tokens/typography.css"
10840
10878
  }
10841
10879
  },
10842
- "mockupCss": "/*\n * GENERATED by scripts/generate-mockup-css.mjs — do not edit.\n *\n * The design tokens as resolved values, for HTML that loads no stylesheet\n * (mockup artboards, static previews). Same names as vars.css; where vars.css\n * follows the live theme, this file carries every theme and switches on\n * <html data-theme=\"light|high-contrast\">.\n *\n * Inside the component library and the apps, never use this: go through\n * css.create() and the token imports, or vars.css from plain CSS.\n */\n:root {\n color-scheme: dark;\n /* colors */\n --duro-color-accent: #6aaffc;\n --duro-color-accent-contrast: #000000;\n --duro-color-accent-disabled: rgba(106, 175, 252, 0.4);\n --duro-color-accent-hover: #93c5fd;\n --duro-color-active: #6aaffc;\n --duro-color-active-bg: rgba(106, 175, 252, 0.1);\n --duro-color-active-border: rgba(106, 175, 252, 0.3);\n --duro-color-active-text: #93c5fd;\n --duro-color-bg: #0f0f0f;\n --duro-color-bg-card: #1a1a1a;\n --duro-color-bg-card-hover: #242424;\n --duro-color-bg-elevated: #242424;\n --duro-color-bg-inset: #0a0a0a;\n --duro-color-bg-section-tint: rgba(255, 255, 255, 0.03);\n --duro-color-bg-selected: rgba(106, 175, 252, 0.15);\n --duro-color-border: #333333;\n --duro-color-border-strong: #555555;\n --duro-color-border-subtle: #242424;\n --duro-color-contrast-border: rgba(0, 0, 0, 0.42);\n --duro-color-contrast-surface: #f5f5f5;\n --duro-color-error: #f87171;\n --duro-color-error-bg: rgba(248, 113, 113, 0.1);\n --duro-color-error-border: rgba(248, 113, 113, 0.3);\n --duro-color-error-contrast: #000000;\n --duro-color-error-hover: #fca5a5;\n --duro-color-error-text: #fca5a5;\n --duro-color-fixed-dark: #000000;\n --duro-color-fixed-light: #ffffff;\n --duro-color-highlight: #c084fc;\n --duro-color-highlight-bg: rgba(192, 132, 252, 0.1);\n --duro-color-highlight-border: rgba(192, 132, 252, 0.3);\n --duro-color-highlight-text: #d8b4fe;\n --duro-color-info: #6aaffc;\n --duro-color-info-bg: rgba(106, 175, 252, 0.1);\n --duro-color-info-border: rgba(106, 175, 252, 0.3);\n --duro-color-info-text: #93c5fd;\n --duro-color-inverse-border: rgba(0, 0, 0, 0.55);\n --duro-color-inverse-border-hover: rgba(0, 0, 0, 0.70);\n --duro-color-inverse-fill: rgba(0, 0, 0, 0.10);\n --duro-color-inverse-fill-hover: rgba(0, 0, 0, 0.18);\n --duro-color-neutral: #a3a3a3;\n --duro-color-neutral-bg: rgba(163, 163, 163, 0.1);\n --duro-color-neutral-border: rgba(163, 163, 163, 0.3);\n --duro-color-neutral-text: #d4d4d4;\n --duro-color-on-contrast-surface: #1a1a1a;\n --duro-color-on-scrim-muted: rgba(255, 255, 255, 0.72);\n --duro-color-overlay-light: rgba(255, 255, 255, 0.78);\n --duro-color-press-overlay: rgba(255, 255, 255, 0.08);\n --duro-color-ripple: rgba(255, 255, 255, 0.12);\n --duro-color-scrim: rgba(0, 0, 0, 0.4);\n --duro-color-scrim-soft: rgba(0, 0, 0, 0.2);\n --duro-color-scrim-strong: rgba(0, 0, 0, 0.6);\n --duro-color-segment-active: #333333;\n --duro-color-segment-track: rgba(255, 255, 255, 0.06);\n --duro-color-success: #22c55e;\n --duro-color-success-bg: rgba(34, 197, 94, 0.1);\n --duro-color-success-border: rgba(34, 197, 94, 0.3);\n --duro-color-success-text: #86efac;\n --duro-color-surface-highlight: rgba(255, 255, 255, 0.06);\n --duro-color-text: #e5e5e5;\n --duro-color-text-disabled: #6b6b6b;\n --duro-color-text-muted: #b0b0b0;\n --duro-color-text-subtle: #8a8a8a;\n --duro-color-warning: #fbbf24;\n --duro-color-warning-bg: rgba(251, 191, 36, 0.1);\n --duro-color-warning-border: rgba(251, 191, 36, 0.3);\n --duro-color-warning-text: #fde68a;\n /* shadows */\n --duro-shadow-drop-over: inset 0 0 0 2px #6aaffc;\n --duro-shadow-drop-ready: inset 0 0 0 1px #333333;\n --duro-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);\n --duro-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);\n --duro-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);\n /* spacing */\n --duro-spacing-lg: 24px;\n --duro-spacing-md: 16px;\n --duro-spacing-ms: 12px;\n --duro-spacing-sm: 8px;\n --duro-spacing-xl: 32px;\n --duro-spacing-xs: 4px;\n --duro-spacing-xxl: 48px;\n --duro-spacing-xxxl: 64px;\n /* microSpacing */\n --duro-micro-spacing-px1: 1px;\n --duro-micro-spacing-px2: 2px;\n --duro-micro-spacing-px3: 3px;\n --duro-micro-spacing-px5: 5px;\n --duro-micro-spacing-px6: 6px;\n /* radii */\n --duro-radius-full: 9999px;\n --duro-radius-lg: 16px;\n --duro-radius-md: 12px;\n --duro-radius-px6: 6px;\n --duro-radius-sm: 8px;\n --duro-radius-xs: 4px;\n /* sizes */\n --duro-size-app-bar-h: 61px;\n --duro-size-aside-w: 320px;\n --duro-size-bar-h: 4px;\n --duro-size-canvas-min-h: 480px;\n --duro-size-check-mark-h: 9px;\n --duro-size-check-mark-w: 5px;\n --duro-size-chip: 24px;\n --duro-size-color-area-h: 150px;\n --duro-size-color-picker-w: 196px;\n --duro-size-color-preview-h: 22px;\n --duro-size-color-swatch: 20px;\n --duro-size-color-track-h: 12px;\n --duro-size-control-lg: 40px;\n --duro-size-control-md: 39px;\n --duro-size-control-sm: 28px;\n --duro-size-day-header-h: 46px;\n --duro-size-device-bar-w: 96px;\n --duro-size-dialog-lg: 680px;\n --duro-size-dialog-md: 520px;\n --duro-size-dialog-sm: 400px;\n --duro-size-divider: 1px;\n --duro-size-drag-thumb-h: 99px;\n --duro-size-drag-thumb-w: 132px;\n --duro-size-drop-zone-min-h: 128px;\n --duro-size-edge-fade: 32px;\n --duro-size-editor-min-h: 160px;\n --duro-size-embed-w: 550px;\n --duro-size-field-min-w: 160px;\n --duro-size-field-min-w-sm: 80px;\n --duro-size-glyph-clamp-max: 160px;\n --duro-size-glyph-md: 16px;\n --duro-size-glyph-sm: 12px;\n --duro-size-glyph-xs: 10px;\n --duro-size-grid-col-md: 280px;\n --duro-size-grid-col-sm: 240px;\n --duro-size-grid-col-xs: 200px;\n --duro-size-handle: 16px;\n --duro-size-icon-button: 32px;\n --duro-size-icon-button-sm: 28px;\n --duro-size-icon-lg: 24px;\n --duro-size-icon-md: 18px;\n --duro-size-icon-sm: 16px;\n --duro-size-icon-xl: 36px;\n --duro-size-icon-xxl: 48px;\n --duro-size-indicator: 18px;\n --duro-size-indicator-dot: 8px;\n --duro-size-label-min-w: 120px;\n --duro-size-list-max-h: 280px;\n --duro-size-list-max-h-sm: 200px;\n --duro-size-media-tile-min-w: 108px;\n --duro-size-meter-h: 6px;\n --duro-size-nav-marker-h: 18px;\n --duro-size-nav-marker-w: 3px;\n --duro-size-page-lg: 1200px;\n --duro-size-page-md: 800px;\n --duro-size-page-sm: 600px;\n --duro-size-page-xl: 1440px;\n --duro-size-page-xs: 480px;\n --duro-size-palette-min-w: 96px;\n --duro-size-panel-lg: 640px;\n --duro-size-panel-md: 480px;\n --duro-size-panel-sm: 360px;\n --duro-size-placeholder-min-h: 80px;\n --duro-size-popover-w: 320px;\n --duro-size-popover-w-sm: 240px;\n --duro-size-popup-max-w: 280px;\n --duro-size-popup-min-w: 160px;\n --duro-size-preview-max-h: 320px;\n --duro-size-readout-w: 40px;\n --duro-size-scrollbar: 8px;\n --duro-size-sheet-grabber-h: 4px;\n --duro-size-sheet-grabber-w: 40px;\n --duro-size-sidebar-w: 240px;\n --duro-size-skeleton-chip-w: 96px;\n --duro-size-slider-w: 96px;\n --duro-size-spinner-lg: 40px;\n --duro-size-spinner-md: 24px;\n --duro-size-spinner-sm: 16px;\n --duro-size-swatch-h: 34px;\n --duro-size-swatch-w: 44px;\n --duro-size-switch-thumb: 16px;\n --duro-size-switch-track-h: 20px;\n --duro-size-switch-track-w: 36px;\n --duro-size-tab-indicator: 2px;\n --duro-size-thumb-sm: 40px;\n --duro-size-time-gutter-w: 64px;\n --duro-size-timeline-label-w: 180px;\n --duro-size-time-readout-w: 74px;\n --duro-size-toast-max-w: 440px;\n --duro-size-toolbar-h: 36px;\n --duro-size-touch-target: 44px;\n /* borders */\n --duro-border-accent: 3px;\n --duro-border-focus-offset: 2px;\n --duro-border-focus-offset-sm: 1px;\n --duro-border-focus-ring: 2px;\n --duro-border-hairline: 1px;\n --duro-border-strong: 2px;\n /* layers */\n --duro-layer-floating: 50;\n --duro-layer-floating-raised: 60;\n --duro-layer-modal: 1001;\n --duro-layer-modal-raised: 1002;\n --duro-layer-overlay: 1000;\n --duro-layer-popover: 1040;\n --duro-layer-popover-raised: 1041;\n --duro-layer-popup: 1050;\n --duro-layer-popup-backdrop: 1049;\n --duro-layer-portal: 1100;\n --duro-layer-raised: 1;\n --duro-layer-toast: 1060;\n /* effects */\n --duro-effect-overlay-blur: blur(2px);\n --duro-effect-surface-blur: blur(6px);\n /* layoutSpacing */\n --duro-layout-spacing-container-lg: 32px;\n --duro-layout-spacing-container-md: 24px;\n --duro-layout-spacing-container-sm: 16px;\n --duro-layout-spacing-inline-lg: 24px;\n --duro-layout-spacing-inline-md: 16px;\n --duro-layout-spacing-inline-sm: 8px;\n --duro-layout-spacing-inline-xs: 4px;\n --duro-layout-spacing-stack-lg: 24px;\n --duro-layout-spacing-stack-md: 16px;\n --duro-layout-spacing-stack-sm: 8px;\n --duro-layout-spacing-stack-xl: 48px;\n --duro-layout-spacing-stack-xs: 4px;\n /* typography */\n --duro-typography-font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n --duro-typography-font-family-mono: \"SF Mono\", \"Fira Code\", \"Fira Mono\", \"Roboto Mono\", \"Courier New\", monospace;\n --duro-typography-font-size-heading: 1.5rem;\n --duro-typography-font-size-lg: 1.125rem;\n --duro-typography-font-size-md: 1rem;\n --duro-typography-font-size-sm: 0.875rem;\n --duro-typography-font-size-xl: 1.25rem;\n --duro-typography-font-size-xs: 0.75rem;\n --duro-typography-font-weight-bold: 700;\n --duro-typography-font-weight-medium: 500;\n --duro-typography-font-weight-normal: 400;\n --duro-typography-font-weight-semibold: 600;\n --duro-typography-line-height: 1.5;\n /* typeScale */\n --duro-type-scale-display-lg: clamp(3.5rem, 2rem + 3.5vw, 4.5rem);\n --duro-type-scale-display-md: clamp(2.75rem, 1.75rem + 2.5vw, 3.75rem);\n --duro-type-scale-display-sm: clamp(2.25rem, 1.5rem + 2vw, 3rem);\n --duro-type-scale-font-size1: 0.75rem;\n --duro-type-scale-font-size2: 0.8125rem;\n --duro-type-scale-font-size3: 0.875rem;\n --duro-type-scale-font-size4: 1rem;\n --duro-type-scale-font-size5: 1.125rem;\n --duro-type-scale-font-size6: 1.25rem;\n --duro-type-scale-font-size7: 1.5rem;\n --duro-type-scale-font-size8: 1.875rem;\n --duro-type-scale-font-size9: 2.25rem;\n --duro-type-scale-letter-spacing-normal: 0;\n --duro-type-scale-letter-spacing-tight: -0.02em;\n --duro-type-scale-letter-spacing-wide: 0.04em;\n --duro-type-scale-line-height1: 1rem;\n --duro-type-scale-line-height2: 1.25rem;\n --duro-type-scale-line-height3: 1.25rem;\n --duro-type-scale-line-height4: 1.5rem;\n --duro-type-scale-line-height5: 1.5rem;\n --duro-type-scale-line-height6: 1.75rem;\n --duro-type-scale-line-height7: 2rem;\n --duro-type-scale-line-height8: 2.25rem;\n --duro-type-scale-line-height9: 2.75rem;\n /* duration */\n --duro-duration-base: 200ms;\n --duro-duration-brisk: 160ms;\n --duro-duration-fast: 150ms;\n --duro-duration-instant: 0ms;\n --duro-duration-minimal: 1ms;\n --duro-duration-quick: 120ms;\n --duro-duration-slow: 280ms;\n /* easing */\n --duro-easing-ease-in: cubic-bezier(0.72, 0, 0.68, 0.28);\n --duro-easing-ease-out: cubic-bezier(0.32, 0.72, 0, 1);\n --duro-easing-linear: linear;\n --duro-easing-standard: ease;\n /* breakpoints */\n --duro-breakpoint-lg: 1024px;\n --duro-breakpoint-md: 768px;\n --duro-breakpoint-sm: 640px;\n --duro-breakpoint-xl: 1280px;\n --duro-breakpoint-xs: 480px;\n}\n\n:root[data-theme=\"light\"] {\n color-scheme: light;\n /* colors */\n --duro-color-accent: #1e40af;\n --duro-color-accent-contrast: #ffffff;\n --duro-color-accent-disabled: rgba(30, 64, 175, 0.4);\n --duro-color-accent-hover: #1a3799;\n --duro-color-active: #1e40af;\n --duro-color-active-bg: rgba(30, 64, 175, 0.08);\n --duro-color-active-border: rgba(30, 64, 175, 0.3);\n --duro-color-active-text: #1e40af;\n --duro-color-bg: #ffffff;\n --duro-color-bg-card: #f5f5f5;\n --duro-color-bg-card-hover: #ebebeb;\n --duro-color-bg-elevated: #ffffff;\n --duro-color-bg-inset: #f0f0f0;\n --duro-color-bg-section-tint: rgba(0, 0, 0, 0.03);\n --duro-color-bg-selected: rgba(30, 64, 175, 0.12);\n --duro-color-border: #d4d4d4;\n --duro-color-border-strong: #a3a3a3;\n --duro-color-border-subtle: #ebebeb;\n --duro-color-contrast-border: rgba(255, 255, 255, 0.33);\n --duro-color-contrast-surface: #1a1a1a;\n --duro-color-error: #991b1b;\n --duro-color-error-bg: rgba(153, 27, 27, 0.08);\n --duro-color-error-border: rgba(153, 27, 27, 0.3);\n --duro-color-error-contrast: #ffffff;\n --duro-color-error-hover: #7f1d1d;\n --duro-color-error-text: #7f1d1d;\n --duro-color-fixed-dark: #000000;\n --duro-color-fixed-light: #ffffff;\n --duro-color-highlight: #6b21a8;\n --duro-color-highlight-bg: rgba(107, 33, 168, 0.08);\n --duro-color-highlight-border: rgba(107, 33, 168, 0.3);\n --duro-color-highlight-text: #581c87;\n --duro-color-info: #1e40af;\n --duro-color-info-bg: rgba(30, 64, 175, 0.08);\n --duro-color-info-border: rgba(30, 64, 175, 0.3);\n --duro-color-info-text: #1e40af;\n --duro-color-inverse-border: rgba(0, 0, 0, 0.55);\n --duro-color-inverse-border-hover: rgba(0, 0, 0, 0.70);\n --duro-color-inverse-fill: rgba(0, 0, 0, 0.10);\n --duro-color-inverse-fill-hover: rgba(0, 0, 0, 0.18);\n --duro-color-neutral: #525252;\n --duro-color-neutral-bg: rgba(82, 82, 82, 0.08);\n --duro-color-neutral-border: rgba(82, 82, 82, 0.3);\n --duro-color-neutral-text: #404040;\n --duro-color-on-contrast-surface: #e5e5e5;\n --duro-color-on-scrim-muted: rgba(255, 255, 255, 0.72);\n --duro-color-overlay-light: rgba(255, 255, 255, 0.78);\n --duro-color-press-overlay: rgba(0, 0, 0, 0.08);\n --duro-color-ripple: rgba(0, 0, 0, 0.12);\n --duro-color-scrim: rgba(0, 0, 0, 0.4);\n --duro-color-scrim-soft: rgba(0, 0, 0, 0.2);\n --duro-color-scrim-strong: rgba(0, 0, 0, 0.6);\n --duro-color-segment-active: #ffffff;\n --duro-color-segment-track: rgba(0, 0, 0, 0.06);\n --duro-color-success: #166534;\n --duro-color-success-bg: rgba(22, 101, 52, 0.08);\n --duro-color-success-border: rgba(22, 101, 52, 0.3);\n --duro-color-success-text: #14532d;\n --duro-color-surface-highlight: rgba(255, 255, 255, 0.7);\n --duro-color-text: #1a1a1a;\n --duro-color-text-disabled: #a3a3a3;\n --duro-color-text-muted: #4a4a4a;\n --duro-color-text-subtle: #6b6b6b;\n --duro-color-warning: #92400e;\n --duro-color-warning-bg: rgba(146, 64, 14, 0.08);\n --duro-color-warning-border: rgba(146, 64, 14, 0.3);\n --duro-color-warning-text: #78350f;\n /* shadows */\n --duro-shadow-drop-over: inset 0 0 0 2px #1e40af;\n --duro-shadow-drop-ready: inset 0 0 0 1px #d4d4d4;\n --duro-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);\n --duro-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);\n --duro-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);\n}\n\n:root[data-theme=\"high-contrast\"] {\n color-scheme: dark;\n /* colors */\n --duro-color-accent: #60a5fa;\n --duro-color-accent-contrast: #000000;\n --duro-color-accent-disabled: rgba(96, 165, 250, 0.5);\n --duro-color-accent-hover: #93c5fd;\n --duro-color-active: #60a5fa;\n --duro-color-active-bg: rgba(96, 165, 250, 0.15);\n --duro-color-active-border: rgba(96, 165, 250, 0.5);\n --duro-color-active-text: #bfdbfe;\n --duro-color-bg: #000000;\n --duro-color-bg-card: #111111;\n --duro-color-bg-card-hover: #1a1a1a;\n --duro-color-bg-elevated: #1a1a1a;\n --duro-color-bg-inset: #0a0a0a;\n --duro-color-bg-section-tint: rgba(255, 255, 255, 0.06);\n --duro-color-bg-selected: rgba(96, 165, 250, 0.25);\n --duro-color-border: #555555;\n --duro-color-border-strong: #888888;\n --duro-color-border-subtle: #333333;\n --duro-color-contrast-border: rgba(0, 0, 0, 0.42);\n --duro-color-contrast-surface: #ffffff;\n --duro-color-error: #f87171;\n --duro-color-error-bg: rgba(248, 113, 113, 0.15);\n --duro-color-error-border: rgba(248, 113, 113, 0.5);\n --duro-color-error-contrast: #000000;\n --duro-color-error-hover: #fca5a5;\n --duro-color-error-text: #fca5a5;\n --duro-color-fixed-dark: #000000;\n --duro-color-fixed-light: #ffffff;\n --duro-color-highlight: #d8b4fe;\n --duro-color-highlight-bg: rgba(216, 180, 254, 0.15);\n --duro-color-highlight-border: rgba(216, 180, 254, 0.5);\n --duro-color-highlight-text: #e9d5ff;\n --duro-color-info: #60a5fa;\n --duro-color-info-bg: rgba(96, 165, 250, 0.15);\n --duro-color-info-border: rgba(96, 165, 250, 0.5);\n --duro-color-info-text: #bfdbfe;\n --duro-color-inverse-border: rgba(0, 0, 0, 0.55);\n --duro-color-inverse-border-hover: rgba(0, 0, 0, 0.70);\n --duro-color-inverse-fill: rgba(0, 0, 0, 0.10);\n --duro-color-inverse-fill-hover: rgba(0, 0, 0, 0.18);\n --duro-color-neutral: #d4d4d4;\n --duro-color-neutral-bg: rgba(212, 212, 212, 0.15);\n --duro-color-neutral-border: rgba(212, 212, 212, 0.5);\n --duro-color-neutral-text: #e5e5e5;\n --duro-color-on-contrast-surface: #000000;\n --duro-color-on-scrim-muted: rgba(255, 255, 255, 0.72);\n --duro-color-overlay-light: rgba(255, 255, 255, 0.78);\n --duro-color-press-overlay: rgba(255, 255, 255, 0.15);\n --duro-color-ripple: rgba(255, 255, 255, 0.2);\n --duro-color-scrim: rgba(0, 0, 0, 0.4);\n --duro-color-scrim-soft: rgba(0, 0, 0, 0.3);\n --duro-color-scrim-strong: rgba(0, 0, 0, 0.7);\n --duro-color-segment-active: #333333;\n --duro-color-segment-track: rgba(255, 255, 255, 0.12);\n --duro-color-success: #4ade80;\n --duro-color-success-bg: rgba(74, 222, 128, 0.15);\n --duro-color-success-border: rgba(74, 222, 128, 0.5);\n --duro-color-success-text: #86efac;\n --duro-color-surface-highlight: rgba(255, 255, 255, 0.15);\n --duro-color-text: #ffffff;\n --duro-color-text-disabled: #808080;\n --duro-color-text-muted: #b0b0b0;\n --duro-color-text-subtle: #a3a3a3;\n --duro-color-warning: #fcd34d;\n --duro-color-warning-bg: rgba(252, 211, 77, 0.15);\n --duro-color-warning-border: rgba(252, 211, 77, 0.5);\n --duro-color-warning-text: #fef08a;\n /* shadows */\n --duro-shadow-drop-over: inset 0 0 0 2px #60a5fa;\n --duro-shadow-drop-ready: inset 0 0 0 1px #555555;\n --duro-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.8);\n --duro-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.7);\n --duro-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);\n}\n"
10880
+ "mockupCss": "/*\n * GENERATED by scripts/generate-mockup-css.mjs — do not edit.\n *\n * The design tokens as resolved values, for HTML that loads no stylesheet\n * (mockup artboards, static previews). Same names as vars.css; where vars.css\n * follows the live theme, this file carries every theme and switches on\n * <html data-theme=\"light|high-contrast\">.\n *\n * Inside the component library and the apps, never use this: go through\n * css.create() and the token imports, or vars.css from plain CSS.\n */\n:root {\n color-scheme: dark;\n /* colors */\n --duro-color-accent: #6aaffc;\n --duro-color-accent-contrast: #000000;\n --duro-color-accent-disabled: rgba(106, 175, 252, 0.4);\n --duro-color-accent-hover: #93c5fd;\n --duro-color-active: #6aaffc;\n --duro-color-active-bg: rgba(106, 175, 252, 0.1);\n --duro-color-active-border: rgba(106, 175, 252, 0.3);\n --duro-color-active-text: #93c5fd;\n --duro-color-bg: #0f0f0f;\n --duro-color-bg-card: #1a1a1a;\n --duro-color-bg-card-hover: #242424;\n --duro-color-bg-elevated: #242424;\n --duro-color-bg-inset: #0a0a0a;\n --duro-color-bg-section-tint: rgba(255, 255, 255, 0.03);\n --duro-color-bg-selected: rgba(106, 175, 252, 0.15);\n --duro-color-border: #333333;\n --duro-color-border-strong: #555555;\n --duro-color-border-subtle: #242424;\n --duro-color-contrast-border: rgba(0, 0, 0, 0.42);\n --duro-color-contrast-surface: #f5f5f5;\n --duro-color-error: #f87171;\n --duro-color-error-bg: rgba(248, 113, 113, 0.1);\n --duro-color-error-border: rgba(248, 113, 113, 0.3);\n --duro-color-error-contrast: #000000;\n --duro-color-error-hover: #fca5a5;\n --duro-color-error-text: #fca5a5;\n --duro-color-fixed-dark: #000000;\n --duro-color-fixed-light: #ffffff;\n --duro-color-highlight: #c084fc;\n --duro-color-highlight-bg: rgba(192, 132, 252, 0.1);\n --duro-color-highlight-border: rgba(192, 132, 252, 0.3);\n --duro-color-highlight-text: #d8b4fe;\n --duro-color-info: #6aaffc;\n --duro-color-info-bg: rgba(106, 175, 252, 0.1);\n --duro-color-info-border: rgba(106, 175, 252, 0.3);\n --duro-color-info-text: #93c5fd;\n --duro-color-inverse-border: rgba(0, 0, 0, 0.55);\n --duro-color-inverse-border-hover: rgba(0, 0, 0, 0.70);\n --duro-color-inverse-fill: rgba(0, 0, 0, 0.10);\n --duro-color-inverse-fill-hover: rgba(0, 0, 0, 0.18);\n --duro-color-neutral: #a3a3a3;\n --duro-color-neutral-bg: rgba(163, 163, 163, 0.1);\n --duro-color-neutral-border: rgba(163, 163, 163, 0.3);\n --duro-color-neutral-text: #d4d4d4;\n --duro-color-on-contrast-surface: #1a1a1a;\n --duro-color-on-scrim-muted: rgba(255, 255, 255, 0.72);\n --duro-color-overlay-light: rgba(255, 255, 255, 0.78);\n --duro-color-press-overlay: rgba(255, 255, 255, 0.08);\n --duro-color-ripple: rgba(255, 255, 255, 0.12);\n --duro-color-scrim: rgba(0, 0, 0, 0.4);\n --duro-color-scrim-soft: rgba(0, 0, 0, 0.2);\n --duro-color-scrim-strong: rgba(0, 0, 0, 0.6);\n --duro-color-segment-active: #333333;\n --duro-color-segment-track: rgba(255, 255, 255, 0.06);\n --duro-color-success: #22c55e;\n --duro-color-success-bg: rgba(34, 197, 94, 0.1);\n --duro-color-success-border: rgba(34, 197, 94, 0.3);\n --duro-color-success-text: #86efac;\n --duro-color-surface-highlight: rgba(255, 255, 255, 0.06);\n --duro-color-text: #e5e5e5;\n --duro-color-text-disabled: #6b6b6b;\n --duro-color-text-muted: #b0b0b0;\n --duro-color-text-subtle: #8a8a8a;\n --duro-color-warning: #fbbf24;\n --duro-color-warning-bg: rgba(251, 191, 36, 0.1);\n --duro-color-warning-border: rgba(251, 191, 36, 0.3);\n --duro-color-warning-text: #fde68a;\n /* shadows */\n --duro-shadow-drop-over: inset 0 0 0 2px #6aaffc;\n --duro-shadow-drop-ready: inset 0 0 0 1px #333333;\n --duro-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);\n --duro-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);\n --duro-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);\n /* spacing */\n --duro-spacing-lg: 24px;\n --duro-spacing-md: 16px;\n --duro-spacing-ms: 12px;\n --duro-spacing-sm: 8px;\n --duro-spacing-xl: 32px;\n --duro-spacing-xs: 4px;\n --duro-spacing-xxl: 48px;\n --duro-spacing-xxxl: 64px;\n /* microSpacing */\n --duro-micro-spacing-px1: 1px;\n --duro-micro-spacing-px2: 2px;\n --duro-micro-spacing-px3: 3px;\n --duro-micro-spacing-px5: 5px;\n --duro-micro-spacing-px6: 6px;\n /* radii */\n --duro-radius-full: 9999px;\n --duro-radius-lg: 16px;\n --duro-radius-md: 12px;\n --duro-radius-px6: 6px;\n --duro-radius-sm: 8px;\n --duro-radius-xs: 4px;\n /* sizes */\n --duro-size-app-bar-h: 61px;\n --duro-size-aside-w: 320px;\n --duro-size-bar-h: 4px;\n --duro-size-canvas-min-h: 480px;\n --duro-size-check-mark-h: 9px;\n --duro-size-check-mark-w: 5px;\n --duro-size-chip: 24px;\n --duro-size-color-area-h: 150px;\n --duro-size-color-picker-w: 196px;\n --duro-size-color-preview-h: 22px;\n --duro-size-color-swatch: 20px;\n --duro-size-color-track-h: 12px;\n --duro-size-control-lg: 40px;\n --duro-size-control-md: 39px;\n --duro-size-control-sm: 28px;\n --duro-size-day-header-h: 46px;\n --duro-size-device-bar-w: 96px;\n --duro-size-dialog-lg: 680px;\n --duro-size-dialog-md: 520px;\n --duro-size-dialog-sm: 400px;\n --duro-size-divider: 1px;\n --duro-size-drag-thumb-h: 99px;\n --duro-size-drag-thumb-w: 132px;\n --duro-size-drop-zone-min-h: 128px;\n --duro-size-edge-fade: 32px;\n --duro-size-editor-min-h: 160px;\n --duro-size-embed-w: 550px;\n --duro-size-field-min-w: 160px;\n --duro-size-field-min-w-sm: 80px;\n --duro-size-glyph-clamp-max: 160px;\n --duro-size-glyph-md: 16px;\n --duro-size-glyph-sm: 12px;\n --duro-size-glyph-xs: 10px;\n --duro-size-grid-col-md: 280px;\n --duro-size-grid-col-sm: 240px;\n --duro-size-grid-col-xs: 200px;\n --duro-size-handle: 16px;\n --duro-size-icon-button: 32px;\n --duro-size-icon-button-sm: 28px;\n --duro-size-icon-lg: 24px;\n --duro-size-icon-md: 18px;\n --duro-size-icon-sm: 16px;\n --duro-size-icon-xl: 36px;\n --duro-size-icon-xxl: 48px;\n --duro-size-indicator: 18px;\n --duro-size-indicator-dot: 8px;\n --duro-size-label-min-w: 120px;\n --duro-size-list-max-h: 280px;\n --duro-size-list-max-h-sm: 200px;\n --duro-size-media-tile-min-w: 108px;\n --duro-size-meter-h: 6px;\n --duro-size-nav-marker-h: 18px;\n --duro-size-nav-marker-w: 3px;\n --duro-size-page-lg: 1200px;\n --duro-size-page-md: 800px;\n --duro-size-page-sm: 600px;\n --duro-size-page-xl: 1440px;\n --duro-size-page-xs: 480px;\n --duro-size-palette-min-w: 96px;\n --duro-size-panel-lg: 640px;\n --duro-size-panel-md: 480px;\n --duro-size-panel-sm: 360px;\n --duro-size-placeholder-min-h: 80px;\n --duro-size-popover-w: 320px;\n --duro-size-popover-w-sm: 240px;\n --duro-size-popup-max-w: 280px;\n --duro-size-popup-min-w: 160px;\n --duro-size-preview-max-h: 320px;\n --duro-size-readout-w: 40px;\n --duro-size-scrollbar: 8px;\n --duro-size-sheet-grabber-h: 4px;\n --duro-size-sheet-grabber-w: 40px;\n --duro-size-sidebar-w: 240px;\n --duro-size-skeleton-chip-w: 96px;\n --duro-size-slider-w: 96px;\n --duro-size-spinner-lg: 40px;\n --duro-size-spinner-md: 24px;\n --duro-size-spinner-sm: 16px;\n --duro-size-swatch-h: 34px;\n --duro-size-swatch-w: 44px;\n --duro-size-switch-thumb: 16px;\n --duro-size-switch-track-h: 20px;\n --duro-size-switch-track-w: 36px;\n --duro-size-tab-indicator: 2px;\n --duro-size-thumb-sm: 40px;\n --duro-size-time-gutter-w: 64px;\n --duro-size-timeline-label-w: 180px;\n --duro-size-time-readout-w: 74px;\n --duro-size-toast-max-w: 440px;\n --duro-size-toolbar-h: 36px;\n --duro-size-touch-target: 44px;\n /* borders */\n --duro-border-accent: 3px;\n --duro-border-focus-offset: 2px;\n --duro-border-focus-offset-sm: 1px;\n --duro-border-focus-ring: 2px;\n --duro-border-hairline: 1px;\n --duro-border-strong: 2px;\n /* layers */\n --duro-layer-floating: 50;\n --duro-layer-floating-raised: 60;\n --duro-layer-modal: 1001;\n --duro-layer-modal-raised: 1002;\n --duro-layer-overlay: 1000;\n --duro-layer-popover: 1040;\n --duro-layer-popover-raised: 1041;\n --duro-layer-popup: 1050;\n --duro-layer-popup-backdrop: 1049;\n --duro-layer-portal: 1100;\n --duro-layer-raised: 1;\n --duro-layer-toast: 1060;\n /* effects */\n --duro-effect-overlay-blur: blur(2px);\n --duro-effect-surface-blur: blur(6px);\n /* layoutSpacing */\n --duro-layout-spacing-container-lg: 32px;\n --duro-layout-spacing-container-md: 24px;\n --duro-layout-spacing-container-sm: 16px;\n --duro-layout-spacing-inline-lg: 24px;\n --duro-layout-spacing-inline-md: 16px;\n --duro-layout-spacing-inline-sm: 8px;\n --duro-layout-spacing-inline-xs: 4px;\n --duro-layout-spacing-stack-lg: 24px;\n --duro-layout-spacing-stack-md: 16px;\n --duro-layout-spacing-stack-sm: 8px;\n --duro-layout-spacing-stack-xl: 48px;\n --duro-layout-spacing-stack-xs: 4px;\n /* typography */\n --duro-typography-font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n --duro-typography-font-family-mono: \"SF Mono\", \"Fira Code\", \"Fira Mono\", \"Roboto Mono\", \"Courier New\", monospace;\n --duro-typography-font-size-heading: 1.5rem;\n --duro-typography-font-size-lg: 1.125rem;\n --duro-typography-font-size-md: 1rem;\n --duro-typography-font-size-sm: 0.875rem;\n --duro-typography-font-size-xl: 1.25rem;\n --duro-typography-font-size-xs: 0.75rem;\n --duro-typography-font-weight-bold: 700;\n --duro-typography-font-weight-medium: 500;\n --duro-typography-font-weight-normal: 400;\n --duro-typography-font-weight-semibold: 600;\n --duro-typography-line-height: 1.5;\n /* typeScale */\n --duro-type-scale-display-lg: clamp(3.5rem, 2rem + 3.5vw, 4.5rem);\n --duro-type-scale-display-md: clamp(2.75rem, 1.75rem + 2.5vw, 3.75rem);\n --duro-type-scale-display-sm: clamp(2.25rem, 1.5rem + 2vw, 3rem);\n --duro-type-scale-font-size1: 0.75rem;\n --duro-type-scale-font-size2: 0.8125rem;\n --duro-type-scale-font-size3: 0.875rem;\n --duro-type-scale-font-size4: 1rem;\n --duro-type-scale-font-size5: 1.125rem;\n --duro-type-scale-font-size6: 1.25rem;\n --duro-type-scale-font-size7: 1.5rem;\n --duro-type-scale-font-size8: 1.875rem;\n --duro-type-scale-font-size9: 2.25rem;\n --duro-type-scale-letter-spacing-normal: 0;\n --duro-type-scale-letter-spacing-tight: -0.02em;\n --duro-type-scale-letter-spacing-wide: 0.04em;\n --duro-type-scale-line-height1: 1rem;\n --duro-type-scale-line-height2: 1.25rem;\n --duro-type-scale-line-height3: 1.25rem;\n --duro-type-scale-line-height4: 1.5rem;\n --duro-type-scale-line-height5: 1.5rem;\n --duro-type-scale-line-height6: 1.75rem;\n --duro-type-scale-line-height7: 2rem;\n --duro-type-scale-line-height8: 2.25rem;\n --duro-type-scale-line-height9: 2.75rem;\n /* duration */\n --duro-duration-base: 200ms;\n --duro-duration-brisk: 160ms;\n --duro-duration-fast: 150ms;\n --duro-duration-instant: 0ms;\n --duro-duration-minimal: 1ms;\n --duro-duration-quick: 120ms;\n --duro-duration-slow: 280ms;\n --duro-duration-slower: 300ms;\n --duro-duration-stagger: 100ms;\n /* easing */\n --duro-easing-ease-in: cubic-bezier(0.72, 0, 0.68, 0.28);\n --duro-easing-ease-out: cubic-bezier(0.32, 0.72, 0, 1);\n --duro-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);\n --duro-easing-linear: linear;\n --duro-easing-standard: ease;\n /* breakpoints */\n --duro-breakpoint-lg: 1024px;\n --duro-breakpoint-md: 768px;\n --duro-breakpoint-sm: 640px;\n --duro-breakpoint-xl: 1280px;\n --duro-breakpoint-xs: 480px;\n}\n\n:root[data-theme=\"light\"] {\n color-scheme: light;\n /* colors */\n --duro-color-accent: #1e40af;\n --duro-color-accent-contrast: #ffffff;\n --duro-color-accent-disabled: rgba(30, 64, 175, 0.4);\n --duro-color-accent-hover: #1a3799;\n --duro-color-active: #1e40af;\n --duro-color-active-bg: rgba(30, 64, 175, 0.08);\n --duro-color-active-border: rgba(30, 64, 175, 0.3);\n --duro-color-active-text: #1e40af;\n --duro-color-bg: #ffffff;\n --duro-color-bg-card: #f5f5f5;\n --duro-color-bg-card-hover: #ebebeb;\n --duro-color-bg-elevated: #ffffff;\n --duro-color-bg-inset: #f0f0f0;\n --duro-color-bg-section-tint: rgba(0, 0, 0, 0.03);\n --duro-color-bg-selected: rgba(30, 64, 175, 0.12);\n --duro-color-border: #d4d4d4;\n --duro-color-border-strong: #a3a3a3;\n --duro-color-border-subtle: #ebebeb;\n --duro-color-contrast-border: rgba(255, 255, 255, 0.33);\n --duro-color-contrast-surface: #1a1a1a;\n --duro-color-error: #991b1b;\n --duro-color-error-bg: rgba(153, 27, 27, 0.08);\n --duro-color-error-border: rgba(153, 27, 27, 0.3);\n --duro-color-error-contrast: #ffffff;\n --duro-color-error-hover: #7f1d1d;\n --duro-color-error-text: #7f1d1d;\n --duro-color-fixed-dark: #000000;\n --duro-color-fixed-light: #ffffff;\n --duro-color-highlight: #6b21a8;\n --duro-color-highlight-bg: rgba(107, 33, 168, 0.08);\n --duro-color-highlight-border: rgba(107, 33, 168, 0.3);\n --duro-color-highlight-text: #581c87;\n --duro-color-info: #1e40af;\n --duro-color-info-bg: rgba(30, 64, 175, 0.08);\n --duro-color-info-border: rgba(30, 64, 175, 0.3);\n --duro-color-info-text: #1e40af;\n --duro-color-inverse-border: rgba(0, 0, 0, 0.55);\n --duro-color-inverse-border-hover: rgba(0, 0, 0, 0.70);\n --duro-color-inverse-fill: rgba(0, 0, 0, 0.10);\n --duro-color-inverse-fill-hover: rgba(0, 0, 0, 0.18);\n --duro-color-neutral: #525252;\n --duro-color-neutral-bg: rgba(82, 82, 82, 0.08);\n --duro-color-neutral-border: rgba(82, 82, 82, 0.3);\n --duro-color-neutral-text: #404040;\n --duro-color-on-contrast-surface: #e5e5e5;\n --duro-color-on-scrim-muted: rgba(255, 255, 255, 0.72);\n --duro-color-overlay-light: rgba(255, 255, 255, 0.78);\n --duro-color-press-overlay: rgba(0, 0, 0, 0.08);\n --duro-color-ripple: rgba(0, 0, 0, 0.12);\n --duro-color-scrim: rgba(0, 0, 0, 0.4);\n --duro-color-scrim-soft: rgba(0, 0, 0, 0.2);\n --duro-color-scrim-strong: rgba(0, 0, 0, 0.6);\n --duro-color-segment-active: #ffffff;\n --duro-color-segment-track: rgba(0, 0, 0, 0.06);\n --duro-color-success: #166534;\n --duro-color-success-bg: rgba(22, 101, 52, 0.08);\n --duro-color-success-border: rgba(22, 101, 52, 0.3);\n --duro-color-success-text: #14532d;\n --duro-color-surface-highlight: rgba(255, 255, 255, 0.7);\n --duro-color-text: #1a1a1a;\n --duro-color-text-disabled: #a3a3a3;\n --duro-color-text-muted: #4a4a4a;\n --duro-color-text-subtle: #6b6b6b;\n --duro-color-warning: #92400e;\n --duro-color-warning-bg: rgba(146, 64, 14, 0.08);\n --duro-color-warning-border: rgba(146, 64, 14, 0.3);\n --duro-color-warning-text: #78350f;\n /* shadows */\n --duro-shadow-drop-over: inset 0 0 0 2px #1e40af;\n --duro-shadow-drop-ready: inset 0 0 0 1px #d4d4d4;\n --duro-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);\n --duro-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);\n --duro-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);\n}\n\n:root[data-theme=\"high-contrast\"] {\n color-scheme: dark;\n /* colors */\n --duro-color-accent: #60a5fa;\n --duro-color-accent-contrast: #000000;\n --duro-color-accent-disabled: rgba(96, 165, 250, 0.5);\n --duro-color-accent-hover: #93c5fd;\n --duro-color-active: #60a5fa;\n --duro-color-active-bg: rgba(96, 165, 250, 0.15);\n --duro-color-active-border: rgba(96, 165, 250, 0.5);\n --duro-color-active-text: #bfdbfe;\n --duro-color-bg: #000000;\n --duro-color-bg-card: #111111;\n --duro-color-bg-card-hover: #1a1a1a;\n --duro-color-bg-elevated: #1a1a1a;\n --duro-color-bg-inset: #0a0a0a;\n --duro-color-bg-section-tint: rgba(255, 255, 255, 0.06);\n --duro-color-bg-selected: rgba(96, 165, 250, 0.25);\n --duro-color-border: #555555;\n --duro-color-border-strong: #888888;\n --duro-color-border-subtle: #333333;\n --duro-color-contrast-border: rgba(0, 0, 0, 0.42);\n --duro-color-contrast-surface: #ffffff;\n --duro-color-error: #f87171;\n --duro-color-error-bg: rgba(248, 113, 113, 0.15);\n --duro-color-error-border: rgba(248, 113, 113, 0.5);\n --duro-color-error-contrast: #000000;\n --duro-color-error-hover: #fca5a5;\n --duro-color-error-text: #fca5a5;\n --duro-color-fixed-dark: #000000;\n --duro-color-fixed-light: #ffffff;\n --duro-color-highlight: #d8b4fe;\n --duro-color-highlight-bg: rgba(216, 180, 254, 0.15);\n --duro-color-highlight-border: rgba(216, 180, 254, 0.5);\n --duro-color-highlight-text: #e9d5ff;\n --duro-color-info: #60a5fa;\n --duro-color-info-bg: rgba(96, 165, 250, 0.15);\n --duro-color-info-border: rgba(96, 165, 250, 0.5);\n --duro-color-info-text: #bfdbfe;\n --duro-color-inverse-border: rgba(0, 0, 0, 0.55);\n --duro-color-inverse-border-hover: rgba(0, 0, 0, 0.70);\n --duro-color-inverse-fill: rgba(0, 0, 0, 0.10);\n --duro-color-inverse-fill-hover: rgba(0, 0, 0, 0.18);\n --duro-color-neutral: #d4d4d4;\n --duro-color-neutral-bg: rgba(212, 212, 212, 0.15);\n --duro-color-neutral-border: rgba(212, 212, 212, 0.5);\n --duro-color-neutral-text: #e5e5e5;\n --duro-color-on-contrast-surface: #000000;\n --duro-color-on-scrim-muted: rgba(255, 255, 255, 0.72);\n --duro-color-overlay-light: rgba(255, 255, 255, 0.78);\n --duro-color-press-overlay: rgba(255, 255, 255, 0.15);\n --duro-color-ripple: rgba(255, 255, 255, 0.2);\n --duro-color-scrim: rgba(0, 0, 0, 0.4);\n --duro-color-scrim-soft: rgba(0, 0, 0, 0.3);\n --duro-color-scrim-strong: rgba(0, 0, 0, 0.7);\n --duro-color-segment-active: #333333;\n --duro-color-segment-track: rgba(255, 255, 255, 0.12);\n --duro-color-success: #4ade80;\n --duro-color-success-bg: rgba(74, 222, 128, 0.15);\n --duro-color-success-border: rgba(74, 222, 128, 0.5);\n --duro-color-success-text: #86efac;\n --duro-color-surface-highlight: rgba(255, 255, 255, 0.15);\n --duro-color-text: #ffffff;\n --duro-color-text-disabled: #808080;\n --duro-color-text-muted: #b0b0b0;\n --duro-color-text-subtle: #a3a3a3;\n --duro-color-warning: #fcd34d;\n --duro-color-warning-bg: rgba(252, 211, 77, 0.15);\n --duro-color-warning-border: rgba(252, 211, 77, 0.5);\n --duro-color-warning-text: #fef08a;\n /* shadows */\n --duro-shadow-drop-over: inset 0 0 0 2px #60a5fa;\n --duro-shadow-drop-ready: inset 0 0 0 1px #555555;\n --duro-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.8);\n --duro-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.7);\n --duro-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);\n}\n"
10843
10881
  },
10844
10882
  "unions": {
10845
10883
  "AlertVariant": [
@@ -10935,7 +10973,9 @@
10935
10973
  "fast",
10936
10974
  "brisk",
10937
10975
  "base",
10938
- "slow"
10976
+ "slow",
10977
+ "slower",
10978
+ "stagger"
10939
10979
  ],
10940
10980
  "FieldsetGap": [
10941
10981
  "xs",
@@ -9,6 +9,7 @@ Local edits:
9
9
  - Added the precedence block after the introduction of `SKILL.md`.
10
10
  - Reconciled the clause in `ui/SKILL.md` that limited project tokens, so a project token always wins.
11
11
  - Extended the `description:` with animation triggers (menu or dialog enter and exit, staggered items, hover and press feedback, icon swaps), so `ui` wins those prompts over `motion-design`: 18/18 should, 0/12 near-miss on 2026-10-17, against 12/18 before.
12
+ - Replaced the line calling the untokenised ui values known gaps (issue #120) with one naming them as Duro tokens: `duration.slower`, `duration.stagger`, `easing.emphasized`.
12
13
 
13
14
  Updating: diff upstream from the pinned commit, have a frontier model port the changes over the local edits, then bump the pin.
14
15
 
@@ -11,7 +11,7 @@ A decision of this repository (resolved at its applicable scope with `aval resol
11
11
 
12
12
  Where Duro defines the value, these win: the `spacing.css.ts` radii, `shadows.css.ts` and `motion.css.ts`.
13
13
 
14
- The ui values with no token (`300ms` enter, `100ms` stagger, `cubic-bezier(0.2, 0, 0, 1)`) are known design-system gaps tracked in one issue (https://github.com/fredericrous/duro-design-system/issues/120), so a review reports them once against that issue and not per use.
14
+ The ui values `300ms` enter, `100ms` stagger and `cubic-bezier(0.2, 0, 0, 1)` are Duro tokens (`duration.slower`, `duration.stagger`, `easing.emphasized`) that a review uses instead of the literal.
15
15
 
16
16
  ## Exact values, optional polish
17
17