@lostgradient/cinder 0.25.0 → 0.26.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/CHANGELOG.md +233 -0
- package/components.json +13 -6
- package/dist/components/accordion-item/accordion-item.css +0 -10
- package/dist/components/action-row/action-row.css +0 -9
- package/dist/components/alert/alert.css +0 -1
- package/dist/components/alert-dialog/index.js +2 -2
- package/dist/components/approval-card/index.js +2 -2
- package/dist/components/area-chart/index.js +2 -2
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/avatar-group/avatar-group.css +0 -2
- package/dist/components/avatar-group/index.js +2 -2
- package/dist/components/backdrop/index.js +2 -2
- package/dist/components/bar-chart/index.js +2 -2
- package/dist/components/button/button.css +4 -4
- package/dist/components/button/button.variables.js +2 -2
- package/dist/components/card/card.css +0 -2
- package/dist/components/carousel/carousel.css +0 -5
- package/dist/components/checkbox/index.js +2 -2
- package/dist/components/code-block/code-block.css +0 -5
- package/dist/components/code-block/index.js +2 -2
- package/dist/components/color-field/index.js +2 -2
- package/dist/components/combobox/index.js +2 -2
- package/dist/components/command-menu/index.js +2 -2
- package/dist/components/command-palette/command-palette.css +50 -46
- package/dist/components/command-palette/index.js +2 -2
- package/dist/components/confirm-dialog/index.js +2 -2
- package/dist/components/context-menu/index.js +2 -2
- package/dist/components/data-table/data-table.css +0 -2
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/index.js +2 -2
- package/dist/components/date-range-field/index.js +2 -2
- package/dist/components/drawer/index.js +2 -2
- package/dist/components/dropdown/index.js +2 -2
- package/dist/components/dropdown-menu/index.js +2 -2
- package/dist/components/feed-event/feed-event.css +0 -2
- package/dist/components/file-upload/file-upload.css +0 -5
- package/dist/components/find-bar/find-bar.css +9 -1
- package/dist/components/focus-trap/index.js +2 -2
- package/dist/components/form-field/index.js +2 -2
- package/dist/components/guidance-region/index.css +1 -1
- package/dist/components/hover-card/index.js +2 -2
- package/dist/components/inline-confirm/index.js +2 -2
- package/dist/components/input/index.js +2 -2
- package/dist/components/input/input.css +95 -6
- package/dist/components/invocation-rule-builder/index.js +2 -2
- package/dist/components/json-editor/index.js +2 -2
- package/dist/components/json-schema-editor/index.js +4 -4
- package/dist/components/kanban-board/kanban-board.css +0 -10
- package/dist/components/key-value-editor/index.css +1 -1
- package/dist/components/line-chart/index.js +2 -2
- package/dist/components/marquee/marquee.css +0 -2
- package/dist/components/matrix-chart/index.js +2 -2
- package/dist/components/menu-bar/index.js +3 -3
- package/dist/components/modal/index.js +2 -2
- package/dist/components/modal/modal.css +0 -26
- package/dist/components/modal-region/index.css +1 -1
- package/dist/components/multi-select/index.js +2 -2
- package/dist/components/navigation-bar/index.js +2 -2
- package/dist/components/parameter-field/index.js +2 -2
- package/dist/components/permission-matrix/index.js +2 -2
- package/dist/components/policy-lock/index.js +2 -2
- package/dist/components/popover/index.js +2 -2
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/schedule-builder/index.js +2 -2
- package/dist/components/schema-form/index.js +2 -2
- package/dist/components/scroll-area/index.js +2 -2
- package/dist/components/select/index.js +2 -2
- package/dist/components/selectable-row/selectable-row.css +0 -6
- package/dist/components/selection-popover/index.js +2 -2
- package/dist/components/share-card/index.js +2 -2
- package/dist/components/side-navigation/side-navigation.css +0 -1
- package/dist/components/sidebar/index.js +2 -2
- package/dist/components/speed-dial/index.js +2 -2
- package/dist/components/statistic/statistic.css +0 -8
- package/dist/components/statistic-group/index.js +2 -2
- package/dist/components/statistic-group/statistic-group.css +116 -69
- package/dist/components/status-dot/status-dot.css +0 -3
- package/dist/components/table/index.js +2 -2
- package/dist/components/table-of-contents/table-of-contents.css +0 -4
- package/dist/components/textarea/index.js +2 -2
- package/dist/components/time-field/index.js +2 -2
- package/dist/components/time-field/time-field.css +9 -8
- package/dist/components/toast-region/index.js +2 -2
- package/dist/components/toggle/toggle.variables.js +2 -2
- package/dist/components/tooltip/index.js +2 -2
- package/dist/components/transfer-list/index.js +2 -2
- package/dist/components/tree/tree.css +0 -3
- package/dist/components/virtual-list/_internal/adaptive-overscan.d.ts +87 -0
- package/dist/components/virtual-list/_internal/edge-proximity.d.ts +75 -0
- package/dist/components/virtual-list/_internal/frame-scheduler.d.ts +76 -0
- package/dist/components/virtual-list/_internal/geometry.d.ts +170 -0
- package/dist/components/virtual-list/_internal/list-semantics.d.ts +93 -0
- package/dist/components/virtual-list/_internal/measurement-window.d.ts +125 -0
- package/dist/components/virtual-list/_internal/reverse-order.d.ts +87 -0
- package/dist/components/virtual-list/_internal/scroll-restoration.d.ts +98 -0
- package/dist/components/virtual-list/_internal/sticky-items.d.ts +48 -0
- package/dist/components/virtual-list/_internal/virtual-list-measurement-store.svelte.d.ts +69 -0
- package/dist/components/virtual-list/index.d.ts +1 -1
- package/dist/components/virtual-list/index.js +2 -2
- package/dist/components/virtual-list/virtual-list.css +153 -2
- package/dist/components/virtual-list/virtual-list.schema.js +69 -6
- package/dist/components/virtual-list/virtual-list.svelte.d.ts +11 -8
- package/dist/components/virtual-list/virtual-list.types.d.ts +177 -4
- package/dist/index.browser.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +18 -18
- package/dist/server/components/alert-dialog/index.js +1 -1
- package/dist/server/components/approval-card/index.js +1 -1
- package/dist/server/components/area-chart/index.js +1 -1
- package/dist/server/components/autocomplete/index.js +1 -1
- package/dist/server/components/avatar-group/index.js +1 -1
- package/dist/server/components/backdrop/index.js +1 -1
- package/dist/server/components/bar-chart/index.js +1 -1
- package/dist/server/components/checkbox/index.js +1 -1
- package/dist/server/components/code-block/index.js +1 -1
- package/dist/server/components/color-field/index.js +1 -1
- package/dist/server/components/combobox/index.js +1 -1
- package/dist/server/components/command-menu/index.js +1 -1
- package/dist/server/components/command-palette/index.js +2 -2
- package/dist/server/components/confirm-dialog/index.js +1 -1
- package/dist/server/components/context-menu/index.js +1 -1
- package/dist/server/components/data-table/index.js +1 -1
- package/dist/server/components/date-picker/index.js +1 -1
- package/dist/server/components/date-range-field/index.js +1 -1
- package/dist/server/components/drawer/index.js +1 -1
- package/dist/server/components/dropdown/index.js +1 -1
- package/dist/server/components/dropdown-menu/index.js +2 -2
- package/dist/server/components/focus-trap/index.js +1 -1
- package/dist/server/components/form-field/index.js +1 -1
- package/dist/server/components/hover-card/index.js +1 -1
- package/dist/server/components/inline-confirm/index.js +1 -1
- package/dist/server/components/input/index.js +1 -1
- package/dist/server/components/invocation-rule-builder/index.js +1 -1
- package/dist/server/components/json-editor/index.js +1 -1
- package/dist/server/components/json-schema-editor/index.js +1 -1
- package/dist/server/components/line-chart/index.js +1 -1
- package/dist/server/components/matrix-chart/index.js +1 -1
- package/dist/server/components/menu-bar/index.js +2 -2
- package/dist/server/components/modal/index.js +1 -1
- package/dist/server/components/multi-select/index.js +1 -1
- package/dist/server/components/navigation-bar/index.js +2 -2
- package/dist/server/components/parameter-field/index.js +1 -1
- package/dist/server/components/permission-matrix/index.js +1 -1
- package/dist/server/components/policy-lock/index.js +1 -1
- package/dist/server/components/popover/index.js +1 -1
- package/dist/server/components/radio-group/index.js +1 -1
- package/dist/server/components/schedule-builder/index.js +1 -1
- package/dist/server/components/schema-form/index.js +1 -1
- package/dist/server/components/scroll-area/index.js +1 -1
- package/dist/server/components/select/index.js +1 -1
- package/dist/server/components/selection-popover/index.js +1 -1
- package/dist/server/components/share-card/index.js +1 -1
- package/dist/server/components/sidebar/index.js +1 -1
- package/dist/server/components/speed-dial/index.js +2 -2
- package/dist/server/components/statistic-group/index.js +1 -1
- package/dist/server/components/table/index.js +1 -1
- package/dist/server/components/textarea/index.js +1 -1
- package/dist/server/components/time-field/index.js +1 -1
- package/dist/server/components/toast-region/index.js +1 -1
- package/dist/server/components/tooltip/index.js +1 -1
- package/dist/server/components/transfer-list/index.js +1 -1
- package/dist/server/components/virtual-list/index.js +2 -2
- package/dist/server/index.js +2 -2
- package/dist/server/{index.server-skq0f5sr.js → index.server-0jw25w9w.js} +1 -1
- package/dist/server/index.server-0kk20wvp.js +4 -0
- package/dist/server/{index.server-fzsqdajc.js → index.server-2awq6q9m.js} +1 -1
- package/dist/server/{index.server-e4hmhaeh.js → index.server-3xwvw6w2.js} +3 -3
- package/dist/server/{index.server-95h7xy01.js → index.server-428dh2t9.js} +2 -2
- package/dist/server/{index.server-jd88r74m.js → index.server-5dq66aja.js} +2 -2
- package/dist/server/{index.server-dvwfhf77.js → index.server-5s94r0kk.js} +2 -2
- package/dist/server/{index.server-qv6z5ta3.js → index.server-80qgcjnm.js} +1 -1
- package/dist/server/{index.server-7k2732ky.js → index.server-81abtrsw.js} +1 -1
- package/dist/server/{index.server-csmqnx5w.js → index.server-83q1gv2c.js} +1 -1
- package/dist/server/{index.server-qw8k9rjg.js → index.server-8fyav10d.js} +1 -1
- package/dist/server/{index.server-4dgjj4k1.js → index.server-8h5caecr.js} +2 -2
- package/dist/server/{index.server-emyqytmm.js → index.server-90n8sd9e.js} +1 -1
- package/dist/server/{index.server-0xrdyzvh.js → index.server-99penx1m.js} +1 -1
- package/dist/server/{index.server-p94j3jah.js → index.server-9g9d15z1.js} +1 -1
- package/dist/server/{index.server-xp9hkc81.js → index.server-9kbdx511.js} +1 -1
- package/dist/server/index.server-a2yhk45s.js +3 -0
- package/dist/server/{index.server-g8d2m2tk.js → index.server-acq55gjs.js} +1 -1
- package/dist/server/{index.server-ewze54tv.js → index.server-afjftjmr.js} +1 -1
- package/dist/server/{index.server-ejyye4gv.js → index.server-bfed6a8a.js} +1 -1
- package/dist/server/{index.server-z5ng08q2.js → index.server-c1746s0z.js} +1 -1
- package/dist/server/{index.server-gt1tfc1w.js → index.server-dmeztywe.js} +1 -1
- package/dist/server/{index.server-kzsppq0n.js → index.server-dyj3jdx9.js} +1 -1
- package/dist/server/index.server-dz92zvx6.js +4 -0
- package/dist/server/{index.server-3md8kdcr.js → index.server-e6682k08.js} +1 -1
- package/dist/server/{index.server-t1pshh65.js → index.server-ewkv461x.js} +1 -1
- package/dist/server/{index.server-zfgwhtmp.js → index.server-fa449wd3.js} +1 -1
- package/dist/server/{index.server-1kgwayct.js → index.server-fhfypmgw.js} +1 -1
- package/dist/server/{index.server-s4z8hsby.js → index.server-ge4adxs2.js} +1 -1
- package/dist/server/{index.server-68xyfsg3.js → index.server-gggkq22y.js} +2 -2
- package/dist/server/{index.server-acgwdamx.js → index.server-j52rbk57.js} +1 -1
- package/dist/server/{index.server-z0nwftx6.js → index.server-jm89hxfb.js} +1 -1
- package/dist/server/{index.server-xa98r8p2.js → index.server-jw0v64se.js} +1 -1
- package/dist/server/index.server-m321p69g.js +3 -0
- package/dist/server/{index.server-xyervw3d.js → index.server-m7q2tc41.js} +1 -1
- package/dist/server/{index.server-tnrxy86j.js → index.server-mak7dmj2.js} +1 -1
- package/dist/server/{index.server-n5g5h5k1.js → index.server-mw5r2524.js} +1 -1
- package/dist/server/{index.server-caf7s6m7.js → index.server-nwq1cg55.js} +1 -1
- package/dist/server/{index.server-3wdvs0wr.js → index.server-p423fy4q.js} +2 -2
- package/dist/server/{index.server-ks7fvwxt.js → index.server-prk5syj2.js} +1 -1
- package/dist/server/{index.server-6w9fp018.js → index.server-q4hytsq3.js} +1 -1
- package/dist/server/{index.server-5w2qw8fm.js → index.server-q597a1ck.js} +1 -1
- package/dist/server/{index.server-fz1pkvda.js → index.server-qgne9v2w.js} +1 -1
- package/dist/server/{index.server-1f2app32.js → index.server-rvdavf92.js} +1 -1
- package/dist/server/index.server-rwq20a22.js +3 -0
- package/dist/server/{index.server-0rvmnrw2.js → index.server-s9tjs45r.js} +1 -1
- package/dist/server/{index.server-cm2prec7.js → index.server-sqgxyfsw.js} +1 -1
- package/dist/server/{index.server-v6777tgn.js → index.server-t761nwvb.js} +1 -1
- package/dist/server/index.server-tbds8nwq.js +4 -0
- package/dist/server/index.server-tyhta5n3.js +3 -0
- package/dist/server/{index.server-yw7rah51.js → index.server-v5dxham4.js} +1 -1
- package/dist/server/index.server-va98cpyf.js +3 -0
- package/dist/server/index.server-vq1k69xt.js +3 -0
- package/dist/server/{index.server-egd355s6.js → index.server-wnf9btp7.js} +2 -2
- package/dist/server/{index.server-sjcbaztf.js → index.server-y3zgdtbv.js} +1 -1
- package/dist/server/{index.server-4tjtgzf9.js → index.server-y6vtbmyj.js} +1 -1
- package/dist/server/{index.server-2p2mjzzb.js → index.server-zff2qp1v.js} +1 -1
- package/dist/server/tokens/registry.generated.js +2 -2
- package/dist/tokens/registry.generated.js +2 -2
- package/package.json +2 -2
- package/src/_internal/form-field-frame.svelte +5 -0
- package/src/_internal/overlay.ts +14 -1
- package/src/components/_internal/create-command-list-state.svelte.ts +4 -0
- package/src/components/accordion-item/accordion-item.css +0 -10
- package/src/components/action-row/action-row.css +0 -9
- package/src/components/alert/alert.css +0 -1
- package/src/components/avatar-group/avatar-group.css +0 -2
- package/src/components/button/button.css +4 -4
- package/src/components/button/button.variables.json +31 -1
- package/src/components/button/button.variables.ts +31 -1
- package/src/components/card/card.css +0 -2
- package/src/components/carousel/carousel.css +0 -5
- package/src/components/code-block/code-block.css +0 -5
- package/src/components/command-menu/command-menu.svelte +63 -7
- package/src/components/command-palette/command-palette.css +50 -46
- package/src/components/command-palette/command-palette.svelte +68 -78
- package/src/components/data-table/data-table.css +0 -2
- package/src/components/dropdown/dropdown.svelte +73 -18
- package/src/components/dropdown-menu/dropdown-menu.svelte +63 -7
- package/src/components/feed-event/feed-event.css +0 -2
- package/src/components/file-upload/file-upload.css +0 -5
- package/src/components/find-bar/find-bar.css +9 -1
- package/src/components/input/input.css +95 -6
- package/src/components/input/input.svelte +44 -81
- package/src/components/kanban-board/kanban-board.css +0 -10
- package/src/components/marquee/marquee.css +0 -2
- package/src/components/menu-bar/menu-bar.svelte +12 -1
- package/src/components/modal/modal.css +0 -26
- package/src/components/multi-select/multi-select.svelte +7 -0
- package/src/components/navigation-bar/navigation-bar.svelte +82 -6
- package/src/components/selectable-row/selectable-row.css +0 -6
- package/src/components/selection-popover/selection-popover.svelte +24 -10
- package/src/components/share-card/share-card.svelte +24 -44
- package/src/components/side-navigation/side-navigation.css +0 -1
- package/src/components/speed-dial/speed-dial.svelte +23 -5
- package/src/components/statistic/statistic.css +0 -8
- package/src/components/statistic-group/statistic-group.css +116 -69
- package/src/components/statistic-group/statistic-group.examples.json +6 -0
- package/src/components/statistic-group/statistic-group.svelte +13 -1
- package/src/components/status-dot/status-dot.css +0 -3
- package/src/components/table-of-contents/table-of-contents.css +0 -4
- package/src/components/time-field/time-field.css +9 -8
- package/src/components/toast-region/toast-region.svelte +9 -0
- package/src/components/toggle/toggle.variables.json +1 -1
- package/src/components/toggle/toggle.variables.ts +4 -1
- package/src/components/tree/tree.css +0 -3
- package/src/components/virtual-list/_internal/adaptive-overscan.ts +248 -0
- package/src/components/virtual-list/_internal/edge-proximity.ts +130 -0
- package/src/components/virtual-list/_internal/frame-scheduler.ts +136 -0
- package/src/components/virtual-list/_internal/geometry.ts +236 -0
- package/src/components/virtual-list/_internal/list-semantics.ts +151 -0
- package/src/components/virtual-list/_internal/measurement-window.ts +300 -0
- package/src/components/virtual-list/_internal/reverse-order.ts +146 -0
- package/src/components/virtual-list/_internal/scroll-restoration.ts +209 -0
- package/src/components/virtual-list/_internal/sticky-items.ts +111 -0
- package/src/components/virtual-list/_internal/virtual-list-measurement-store.svelte.ts +145 -0
- package/src/components/virtual-list/index.ts +7 -1
- package/src/components/virtual-list/virtual-list.css +153 -2
- package/src/components/virtual-list/virtual-list.examples.json +42 -0
- package/src/components/virtual-list/virtual-list.schema.json +53 -3
- package/src/components/virtual-list/virtual-list.schema.ts +64 -3
- package/src/components/virtual-list/virtual-list.svelte +1527 -36
- package/src/components/virtual-list/virtual-list.types.ts +181 -4
- package/src/index.ts +3 -0
- package/src/styles/tokens-base.css +57 -22
- package/src/tokens/cinder.resolver.json +8 -0
- package/src/tokens/index.json +1 -1
- package/src/tokens/registry.generated.json +30 -4
- package/src/tokens/registry.generated.ts +32 -4
- package/src/tokens/resolved/dark-reduced-motion.json +47 -17
- package/src/tokens/resolved/dark.json +47 -17
- package/src/tokens/resolved/light-reduced-motion.json +48 -18
- package/src/tokens/resolved/light.json +48 -18
- package/src/tokens/sets/components.tokens.json +1 -1
- package/src/tokens/sets/semantic.tokens.json +120 -30
- package/src/tokens/themes/dark.tokens.json +115 -19
- package/src/tokens/themes/light.tokens.json +51 -3
- package/dist/server/index.server-191cnacw.js +0 -3
- package/dist/server/index.server-25dqx151.js +0 -3
- package/dist/server/index.server-77jyqvbv.js +0 -4
- package/dist/server/index.server-bgjrzr70.js +0 -3
- package/dist/server/index.server-khsp90vh.js +0 -3
- package/dist/server/index.server-ryk2pgbe.js +0 -4
- package/dist/server/index.server-tajr81bm.js +0 -3
- package/dist/server/index.server-vjzcrw3d.js +0 -4
- package/dist/server/index.server-zg3fx1n1.js +0 -3
|
@@ -1344,17 +1344,42 @@
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
},
|
|
1347
|
+
"polarity.ink": {
|
|
1348
|
+
"$value": { "colorSpace": "oklch", "components": [1, 0, 0] },
|
|
1349
|
+
"$description": "The neutral ink that contrasts with the current theme's surfaces: black in light mode, white in dark mode. It is a complete color value, not a bare component triplet, so it can be assigned directly to any color-valued property and mixed with `color-mix()` to build a wash at any alpha. The scrollbar washes (track, thumb, thumb-hover) derive from this one token, so overriding it at :root or in a [data-theme] block re-polarizes them together; a subtree override does not reach them, because the washes are declared at :root and descendants inherit the already-resolved values. The shadow tokens are NOT derived from it and do not follow an override: shadow.small/medium/large carry independently tuned per-arm alphas (0.10 light against 0.09 dark, and so on) that one ink cannot express without changing what they paint.",
|
|
1350
|
+
"$extensions": {
|
|
1351
|
+
"com.lostgradient.cinder": {
|
|
1352
|
+
"cssProperty": "--cinder-polarity-ink",
|
|
1353
|
+
"public": true,
|
|
1354
|
+
"category": "color"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"$type": "color"
|
|
1358
|
+
},
|
|
1359
|
+
"border.ink": {
|
|
1360
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250] },
|
|
1361
|
+
"$description": "The single polarity-aware ink every neutral structural border tier is mixed from: a dark cool ink in light mode, a light cool ink in dark mode. `border.muted`, `border.control`, and `border.strong` are alpha steps over it, so each tier tracks the surface underneath it instead of being tuned per surface -- which is what holds each tier's contrast spread across the four legal surface tiers under 15% in both arms, against 29% for the opaque dark values it replaces. Overriding this one token at :root or in a [data-theme] block re-tints all three together; a subtree override does not reach them, because the tiers are declared at :root and descendants inherit the already-resolved values. The four HUED status borders (info, success, warning, danger) are deliberately NOT derived from it and stay opaque, because a translucent status border would take its hue from whatever it happened to sit on. Two neutral aliases do follow it and become translucent with it: status.neutral.border aliases border.control, and border.inverse's dark arm aliases border.strong.",
|
|
1362
|
+
"$extensions": {
|
|
1363
|
+
"com.lostgradient.cinder": {
|
|
1364
|
+
"cssProperty": "--cinder-border-ink",
|
|
1365
|
+
"public": true,
|
|
1366
|
+
"category": "color"
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
"$type": "color"
|
|
1370
|
+
},
|
|
1347
1371
|
"border.control": {
|
|
1348
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1349
|
-
"$description": "Functional control boundary that clears 3:1 against supported surfaces. It is the border of the secondary Button, whose fill is `surface.raised` -- white in light mode, a raised dark surface in dark mode -- so in both themes it is the only thing making that control read as a control. In light mode it must not be lightened past ~0.85 or it stops clearing 3:1 against that near-white fill.",
|
|
1372
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.48 },
|
|
1350
1373
|
"$extensions": {
|
|
1351
1374
|
"com.lostgradient.cinder": {
|
|
1375
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 52%)",
|
|
1352
1376
|
"cssProperty": "--cinder-border",
|
|
1353
1377
|
"public": true,
|
|
1354
1378
|
"category": "color",
|
|
1355
1379
|
"contrastPairs": ["surface.base", "surface.raised"]
|
|
1356
1380
|
}
|
|
1357
1381
|
},
|
|
1382
|
+
"$description": "Functional control boundary that clears WCAG 1.4.11's 3:1 floor against every supported surface. It is the border of the secondary Button, whose fill is `surface.raised` -- white in light mode, a raised dark surface in dark mode -- so in both themes it is the only thing making that control read as a control. Composed as a 48% alpha step over `border.ink` rather than authored per arm, so it can no longer drift out of step with the other two tiers.",
|
|
1358
1383
|
"$type": "color"
|
|
1359
1384
|
},
|
|
1360
1385
|
"border.faint": {
|
|
@@ -1370,31 +1395,33 @@
|
|
|
1370
1395
|
"$type": "color"
|
|
1371
1396
|
},
|
|
1372
1397
|
"border.muted": {
|
|
1373
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1374
|
-
"$description": "Decorative divider that wants less weight than `border.control`. Clears a separate 1.4:1 floor against its backdrop.",
|
|
1398
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.19 },
|
|
1375
1399
|
"$extensions": {
|
|
1376
1400
|
"com.lostgradient.cinder": {
|
|
1401
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 81%)",
|
|
1377
1402
|
"cssProperty": "--cinder-border-muted",
|
|
1378
1403
|
"public": true,
|
|
1379
1404
|
"category": "color"
|
|
1380
1405
|
}
|
|
1381
1406
|
},
|
|
1407
|
+
"$description": "Decorative divider that wants less weight than `border.control`. Clears a separate 1.4:1 floor against its backdrop. Composed as a 19% alpha step over `border.ink`.",
|
|
1382
1408
|
"$type": "color"
|
|
1383
1409
|
},
|
|
1384
1410
|
"border.strong": {
|
|
1385
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1386
|
-
"$description": "Stronger control boundary. Clears WCAG 1.4.11's 3:1 floor against every supported surface, like `border.control`.",
|
|
1411
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.58 },
|
|
1387
1412
|
"$extensions": {
|
|
1388
1413
|
"com.lostgradient.cinder": {
|
|
1414
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 42%)",
|
|
1389
1415
|
"cssProperty": "--cinder-border-strong",
|
|
1390
1416
|
"public": true,
|
|
1391
1417
|
"category": "color"
|
|
1392
1418
|
}
|
|
1393
1419
|
},
|
|
1420
|
+
"$description": "Stronger control boundary. Clears WCAG 1.4.11's 3:1 floor against every supported surface, like `border.control`, with more weight. Composed as a 58% alpha step over `border.ink`.",
|
|
1394
1421
|
"$type": "color"
|
|
1395
1422
|
},
|
|
1396
1423
|
"border.inverse": {
|
|
1397
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1424
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.58 },
|
|
1398
1425
|
"$description": "Border for surfaces using `surface.inverse` (Tooltip). Transparent in light mode; adds a 1px delineation in dark mode only.",
|
|
1399
1426
|
"$extensions": {
|
|
1400
1427
|
"com.lostgradient.cinder": {
|
|
@@ -1670,38 +1697,41 @@
|
|
|
1670
1697
|
"scrollbar.track": {
|
|
1671
1698
|
"$type": "color",
|
|
1672
1699
|
"$value": { "colorSpace": "oklch", "components": [1, 0, 0], "alpha": 0.04 },
|
|
1673
|
-
"$description": "Scrollbar track color.",
|
|
1674
1700
|
"$extensions": {
|
|
1675
1701
|
"com.lostgradient.cinder": {
|
|
1702
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 96%)",
|
|
1676
1703
|
"cssProperty": "--cinder-scrollbar-track",
|
|
1677
1704
|
"public": true,
|
|
1678
1705
|
"category": "color"
|
|
1679
1706
|
}
|
|
1680
|
-
}
|
|
1707
|
+
},
|
|
1708
|
+
"$description": "Scrollbar track color."
|
|
1681
1709
|
},
|
|
1682
1710
|
"scrollbar.thumb": {
|
|
1683
1711
|
"$type": "color",
|
|
1684
1712
|
"$value": { "colorSpace": "oklch", "components": [1, 0, 0], "alpha": 0.45 },
|
|
1685
|
-
"$description": "Scrollbar thumb color.",
|
|
1686
1713
|
"$extensions": {
|
|
1687
1714
|
"com.lostgradient.cinder": {
|
|
1715
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 55%)",
|
|
1688
1716
|
"cssProperty": "--cinder-scrollbar-thumb",
|
|
1689
1717
|
"public": true,
|
|
1690
1718
|
"category": "color"
|
|
1691
1719
|
}
|
|
1692
|
-
}
|
|
1720
|
+
},
|
|
1721
|
+
"$description": "Scrollbar thumb color."
|
|
1693
1722
|
},
|
|
1694
1723
|
"scrollbar.thumb-hover": {
|
|
1695
1724
|
"$type": "color",
|
|
1696
1725
|
"$value": { "colorSpace": "oklch", "components": [1, 0, 0], "alpha": 0.65 },
|
|
1697
|
-
"$description": "Scrollbar thumb hover color.",
|
|
1698
1726
|
"$extensions": {
|
|
1699
1727
|
"com.lostgradient.cinder": {
|
|
1728
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 35%)",
|
|
1700
1729
|
"cssProperty": "--cinder-scrollbar-thumb-hover",
|
|
1701
1730
|
"public": true,
|
|
1702
1731
|
"category": "color"
|
|
1703
1732
|
}
|
|
1704
|
-
}
|
|
1733
|
+
},
|
|
1734
|
+
"$description": "Scrollbar thumb hover color."
|
|
1705
1735
|
},
|
|
1706
1736
|
"overlay.backdrop": {
|
|
1707
1737
|
"$type": "color",
|
|
@@ -2368,7 +2398,7 @@
|
|
|
2368
2398
|
},
|
|
2369
2399
|
"status.neutral.border": {
|
|
2370
2400
|
"$type": "color",
|
|
2371
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
2401
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.48 },
|
|
2372
2402
|
"$description": "Border color on the soft neutral surface.",
|
|
2373
2403
|
"$extensions": {
|
|
2374
2404
|
"com.lostgradient.cinder": {
|
|
@@ -2630,7 +2660,7 @@
|
|
|
2630
2660
|
},
|
|
2631
2661
|
"button.border": {
|
|
2632
2662
|
"$type": "color",
|
|
2633
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
2663
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.58 },
|
|
2634
2664
|
"$description": "Secondary (default) button border.",
|
|
2635
2665
|
"$extensions": {
|
|
2636
2666
|
"com.lostgradient.cinder": {
|
|
@@ -3465,7 +3495,7 @@
|
|
|
3465
3495
|
},
|
|
3466
3496
|
"file-upload.border-color": {
|
|
3467
3497
|
"$type": "color",
|
|
3468
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
3498
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.48 },
|
|
3469
3499
|
"$description": "Dropzone border color.",
|
|
3470
3500
|
"$extensions": {
|
|
3471
3501
|
"com.lostgradient.cinder": {
|
|
@@ -3605,7 +3635,7 @@
|
|
|
3605
3635
|
"modal.backdrop": {
|
|
3606
3636
|
"$type": "color",
|
|
3607
3637
|
"$value": { "colorSpace": "oklch", "components": [0.08, 0.02, 245], "alpha": 0.65 },
|
|
3608
|
-
"$description": "`::backdrop` fill color override point.
|
|
3638
|
+
"$description": "`::backdrop` fill color override point. A consumer override should target `::backdrop` directly for cross-engine reliability.",
|
|
3609
3639
|
"$extensions": {
|
|
3610
3640
|
"com.lostgradient.cinder": {
|
|
3611
3641
|
"cssProperty": "--cinder-modal-backdrop",
|
|
@@ -1354,17 +1354,42 @@
|
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
1356
|
},
|
|
1357
|
+
"polarity.ink": {
|
|
1358
|
+
"$value": { "colorSpace": "oklch", "components": [1, 0, 0] },
|
|
1359
|
+
"$description": "The neutral ink that contrasts with the current theme's surfaces: black in light mode, white in dark mode. It is a complete color value, not a bare component triplet, so it can be assigned directly to any color-valued property and mixed with `color-mix()` to build a wash at any alpha. The scrollbar washes (track, thumb, thumb-hover) derive from this one token, so overriding it at :root or in a [data-theme] block re-polarizes them together; a subtree override does not reach them, because the washes are declared at :root and descendants inherit the already-resolved values. The shadow tokens are NOT derived from it and do not follow an override: shadow.small/medium/large carry independently tuned per-arm alphas (0.10 light against 0.09 dark, and so on) that one ink cannot express without changing what they paint.",
|
|
1360
|
+
"$extensions": {
|
|
1361
|
+
"com.lostgradient.cinder": {
|
|
1362
|
+
"cssProperty": "--cinder-polarity-ink",
|
|
1363
|
+
"public": true,
|
|
1364
|
+
"category": "color"
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"$type": "color"
|
|
1368
|
+
},
|
|
1369
|
+
"border.ink": {
|
|
1370
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250] },
|
|
1371
|
+
"$description": "The single polarity-aware ink every neutral structural border tier is mixed from: a dark cool ink in light mode, a light cool ink in dark mode. `border.muted`, `border.control`, and `border.strong` are alpha steps over it, so each tier tracks the surface underneath it instead of being tuned per surface -- which is what holds each tier's contrast spread across the four legal surface tiers under 15% in both arms, against 29% for the opaque dark values it replaces. Overriding this one token at :root or in a [data-theme] block re-tints all three together; a subtree override does not reach them, because the tiers are declared at :root and descendants inherit the already-resolved values. The four HUED status borders (info, success, warning, danger) are deliberately NOT derived from it and stay opaque, because a translucent status border would take its hue from whatever it happened to sit on. Two neutral aliases do follow it and become translucent with it: status.neutral.border aliases border.control, and border.inverse's dark arm aliases border.strong.",
|
|
1372
|
+
"$extensions": {
|
|
1373
|
+
"com.lostgradient.cinder": {
|
|
1374
|
+
"cssProperty": "--cinder-border-ink",
|
|
1375
|
+
"public": true,
|
|
1376
|
+
"category": "color"
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
"$type": "color"
|
|
1380
|
+
},
|
|
1357
1381
|
"border.control": {
|
|
1358
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1359
|
-
"$description": "Functional control boundary that clears 3:1 against supported surfaces. It is the border of the secondary Button, whose fill is `surface.raised` -- white in light mode, a raised dark surface in dark mode -- so in both themes it is the only thing making that control read as a control. In light mode it must not be lightened past ~0.85 or it stops clearing 3:1 against that near-white fill.",
|
|
1382
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.48 },
|
|
1360
1383
|
"$extensions": {
|
|
1361
1384
|
"com.lostgradient.cinder": {
|
|
1385
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 52%)",
|
|
1362
1386
|
"cssProperty": "--cinder-border",
|
|
1363
1387
|
"public": true,
|
|
1364
1388
|
"category": "color",
|
|
1365
1389
|
"contrastPairs": ["surface.base", "surface.raised"]
|
|
1366
1390
|
}
|
|
1367
1391
|
},
|
|
1392
|
+
"$description": "Functional control boundary that clears WCAG 1.4.11's 3:1 floor against every supported surface. It is the border of the secondary Button, whose fill is `surface.raised` -- white in light mode, a raised dark surface in dark mode -- so in both themes it is the only thing making that control read as a control. Composed as a 48% alpha step over `border.ink` rather than authored per arm, so it can no longer drift out of step with the other two tiers.",
|
|
1368
1393
|
"$type": "color"
|
|
1369
1394
|
},
|
|
1370
1395
|
"border.faint": {
|
|
@@ -1380,31 +1405,33 @@
|
|
|
1380
1405
|
"$type": "color"
|
|
1381
1406
|
},
|
|
1382
1407
|
"border.muted": {
|
|
1383
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1384
|
-
"$description": "Decorative divider that wants less weight than `border.control`. Clears a separate 1.4:1 floor against its backdrop.",
|
|
1408
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.19 },
|
|
1385
1409
|
"$extensions": {
|
|
1386
1410
|
"com.lostgradient.cinder": {
|
|
1411
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 81%)",
|
|
1387
1412
|
"cssProperty": "--cinder-border-muted",
|
|
1388
1413
|
"public": true,
|
|
1389
1414
|
"category": "color"
|
|
1390
1415
|
}
|
|
1391
1416
|
},
|
|
1417
|
+
"$description": "Decorative divider that wants less weight than `border.control`. Clears a separate 1.4:1 floor against its backdrop. Composed as a 19% alpha step over `border.ink`.",
|
|
1392
1418
|
"$type": "color"
|
|
1393
1419
|
},
|
|
1394
1420
|
"border.strong": {
|
|
1395
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1396
|
-
"$description": "Stronger control boundary. Clears WCAG 1.4.11's 3:1 floor against every supported surface, like `border.control`.",
|
|
1421
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.58 },
|
|
1397
1422
|
"$extensions": {
|
|
1398
1423
|
"com.lostgradient.cinder": {
|
|
1424
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 42%)",
|
|
1399
1425
|
"cssProperty": "--cinder-border-strong",
|
|
1400
1426
|
"public": true,
|
|
1401
1427
|
"category": "color"
|
|
1402
1428
|
}
|
|
1403
1429
|
},
|
|
1430
|
+
"$description": "Stronger control boundary. Clears WCAG 1.4.11's 3:1 floor against every supported surface, like `border.control`, with more weight. Composed as a 58% alpha step over `border.ink`.",
|
|
1404
1431
|
"$type": "color"
|
|
1405
1432
|
},
|
|
1406
1433
|
"border.inverse": {
|
|
1407
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1434
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.58 },
|
|
1408
1435
|
"$description": "Border for surfaces using `surface.inverse` (Tooltip). Transparent in light mode; adds a 1px delineation in dark mode only.",
|
|
1409
1436
|
"$extensions": {
|
|
1410
1437
|
"com.lostgradient.cinder": {
|
|
@@ -1680,38 +1707,41 @@
|
|
|
1680
1707
|
"scrollbar.track": {
|
|
1681
1708
|
"$type": "color",
|
|
1682
1709
|
"$value": { "colorSpace": "oklch", "components": [1, 0, 0], "alpha": 0.04 },
|
|
1683
|
-
"$description": "Scrollbar track color.",
|
|
1684
1710
|
"$extensions": {
|
|
1685
1711
|
"com.lostgradient.cinder": {
|
|
1712
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 96%)",
|
|
1686
1713
|
"cssProperty": "--cinder-scrollbar-track",
|
|
1687
1714
|
"public": true,
|
|
1688
1715
|
"category": "color"
|
|
1689
1716
|
}
|
|
1690
|
-
}
|
|
1717
|
+
},
|
|
1718
|
+
"$description": "Scrollbar track color."
|
|
1691
1719
|
},
|
|
1692
1720
|
"scrollbar.thumb": {
|
|
1693
1721
|
"$type": "color",
|
|
1694
1722
|
"$value": { "colorSpace": "oklch", "components": [1, 0, 0], "alpha": 0.45 },
|
|
1695
|
-
"$description": "Scrollbar thumb color.",
|
|
1696
1723
|
"$extensions": {
|
|
1697
1724
|
"com.lostgradient.cinder": {
|
|
1725
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 55%)",
|
|
1698
1726
|
"cssProperty": "--cinder-scrollbar-thumb",
|
|
1699
1727
|
"public": true,
|
|
1700
1728
|
"category": "color"
|
|
1701
1729
|
}
|
|
1702
|
-
}
|
|
1730
|
+
},
|
|
1731
|
+
"$description": "Scrollbar thumb color."
|
|
1703
1732
|
},
|
|
1704
1733
|
"scrollbar.thumb-hover": {
|
|
1705
1734
|
"$type": "color",
|
|
1706
1735
|
"$value": { "colorSpace": "oklch", "components": [1, 0, 0], "alpha": 0.65 },
|
|
1707
|
-
"$description": "Scrollbar thumb hover color.",
|
|
1708
1736
|
"$extensions": {
|
|
1709
1737
|
"com.lostgradient.cinder": {
|
|
1738
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 35%)",
|
|
1710
1739
|
"cssProperty": "--cinder-scrollbar-thumb-hover",
|
|
1711
1740
|
"public": true,
|
|
1712
1741
|
"category": "color"
|
|
1713
1742
|
}
|
|
1714
|
-
}
|
|
1743
|
+
},
|
|
1744
|
+
"$description": "Scrollbar thumb hover color."
|
|
1715
1745
|
},
|
|
1716
1746
|
"overlay.backdrop": {
|
|
1717
1747
|
"$type": "color",
|
|
@@ -2378,7 +2408,7 @@
|
|
|
2378
2408
|
},
|
|
2379
2409
|
"status.neutral.border": {
|
|
2380
2410
|
"$type": "color",
|
|
2381
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
2411
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.48 },
|
|
2382
2412
|
"$description": "Border color on the soft neutral surface.",
|
|
2383
2413
|
"$extensions": {
|
|
2384
2414
|
"com.lostgradient.cinder": {
|
|
@@ -2640,7 +2670,7 @@
|
|
|
2640
2670
|
},
|
|
2641
2671
|
"button.border": {
|
|
2642
2672
|
"$type": "color",
|
|
2643
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
2673
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.58 },
|
|
2644
2674
|
"$description": "Secondary (default) button border.",
|
|
2645
2675
|
"$extensions": {
|
|
2646
2676
|
"com.lostgradient.cinder": {
|
|
@@ -3475,7 +3505,7 @@
|
|
|
3475
3505
|
},
|
|
3476
3506
|
"file-upload.border-color": {
|
|
3477
3507
|
"$type": "color",
|
|
3478
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
3508
|
+
"$value": { "colorSpace": "oklch", "components": [0.86, 0.065, 250], "alpha": 0.48 },
|
|
3479
3509
|
"$description": "Dropzone border color.",
|
|
3480
3510
|
"$extensions": {
|
|
3481
3511
|
"com.lostgradient.cinder": {
|
|
@@ -3615,7 +3645,7 @@
|
|
|
3615
3645
|
"modal.backdrop": {
|
|
3616
3646
|
"$type": "color",
|
|
3617
3647
|
"$value": { "colorSpace": "oklch", "components": [0.08, 0.02, 245], "alpha": 0.65 },
|
|
3618
|
-
"$description": "`::backdrop` fill color override point.
|
|
3648
|
+
"$description": "`::backdrop` fill color override point. A consumer override should target `::backdrop` directly for cross-engine reliability.",
|
|
3619
3649
|
"$extensions": {
|
|
3620
3650
|
"com.lostgradient.cinder": {
|
|
3621
3651
|
"cssProperty": "--cinder-modal-backdrop",
|
|
@@ -1344,17 +1344,42 @@
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
},
|
|
1347
|
+
"polarity.ink": {
|
|
1348
|
+
"$value": { "colorSpace": "oklch", "components": [0, 0, 0] },
|
|
1349
|
+
"$description": "The neutral ink that contrasts with the current theme's surfaces: black in light mode, white in dark mode. It is a complete color value, not a bare component triplet, so it can be assigned directly to any color-valued property and mixed with `color-mix()` to build a wash at any alpha. The scrollbar washes (track, thumb, thumb-hover) derive from this one token, so overriding it at :root or in a [data-theme] block re-polarizes them together; a subtree override does not reach them, because the washes are declared at :root and descendants inherit the already-resolved values. The shadow tokens are NOT derived from it and do not follow an override: shadow.small/medium/large carry independently tuned per-arm alphas (0.10 light against 0.09 dark, and so on) that one ink cannot express without changing what they paint.",
|
|
1350
|
+
"$extensions": {
|
|
1351
|
+
"com.lostgradient.cinder": {
|
|
1352
|
+
"cssProperty": "--cinder-polarity-ink",
|
|
1353
|
+
"public": true,
|
|
1354
|
+
"category": "color"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"$type": "color"
|
|
1358
|
+
},
|
|
1359
|
+
"border.ink": {
|
|
1360
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255] },
|
|
1361
|
+
"$description": "The single polarity-aware ink every neutral structural border tier is mixed from: a dark cool ink in light mode, a light cool ink in dark mode. `border.muted`, `border.control`, and `border.strong` are alpha steps over it, so each tier tracks the surface underneath it instead of being tuned per surface -- which is what holds each tier's contrast spread across the four legal surface tiers under 15% in both arms, against 29% for the opaque dark values it replaces. Overriding this one token at :root or in a [data-theme] block re-tints all three together; a subtree override does not reach them, because the tiers are declared at :root and descendants inherit the already-resolved values. The four HUED status borders (info, success, warning, danger) are deliberately NOT derived from it and stay opaque, because a translucent status border would take its hue from whatever it happened to sit on. Two neutral aliases do follow it and become translucent with it: status.neutral.border aliases border.control, and border.inverse's dark arm aliases border.strong.",
|
|
1362
|
+
"$extensions": {
|
|
1363
|
+
"com.lostgradient.cinder": {
|
|
1364
|
+
"cssProperty": "--cinder-border-ink",
|
|
1365
|
+
"public": true,
|
|
1366
|
+
"category": "color"
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
"$type": "color"
|
|
1370
|
+
},
|
|
1347
1371
|
"border.control": {
|
|
1348
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1349
|
-
"$description": "Functional control boundary that clears 3:1 against supported surfaces. It is the border of the secondary Button, whose fill is `surface.raised` -- white in light mode, a raised dark surface in dark mode -- so in both themes it is the only thing making that control read as a control. In light mode it must not be lightened past ~0.85 or it stops clearing 3:1 against that near-white fill.",
|
|
1372
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.48 },
|
|
1350
1373
|
"$extensions": {
|
|
1351
1374
|
"com.lostgradient.cinder": {
|
|
1375
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 52%)",
|
|
1352
1376
|
"cssProperty": "--cinder-border",
|
|
1353
1377
|
"public": true,
|
|
1354
1378
|
"category": "color",
|
|
1355
1379
|
"contrastPairs": ["surface.base", "surface.raised"]
|
|
1356
1380
|
}
|
|
1357
1381
|
},
|
|
1382
|
+
"$description": "Functional control boundary that clears WCAG 1.4.11's 3:1 floor against every supported surface. It is the border of the secondary Button, whose fill is `surface.raised` -- white in light mode, a raised dark surface in dark mode -- so in both themes it is the only thing making that control read as a control. Composed as a 48% alpha step over `border.ink` rather than authored per arm, so it can no longer drift out of step with the other two tiers.",
|
|
1358
1383
|
"$type": "color"
|
|
1359
1384
|
},
|
|
1360
1385
|
"border.faint": {
|
|
@@ -1370,27 +1395,29 @@
|
|
|
1370
1395
|
"$type": "color"
|
|
1371
1396
|
},
|
|
1372
1397
|
"border.muted": {
|
|
1373
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1374
|
-
"$description": "Decorative divider that wants less weight than `border.control`. Clears a separate 1.4:1 floor against its backdrop.",
|
|
1398
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.19 },
|
|
1375
1399
|
"$extensions": {
|
|
1376
1400
|
"com.lostgradient.cinder": {
|
|
1401
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 81%)",
|
|
1377
1402
|
"cssProperty": "--cinder-border-muted",
|
|
1378
1403
|
"public": true,
|
|
1379
1404
|
"category": "color"
|
|
1380
1405
|
}
|
|
1381
1406
|
},
|
|
1407
|
+
"$description": "Decorative divider that wants less weight than `border.control`. Clears a separate 1.4:1 floor against its backdrop. Composed as a 19% alpha step over `border.ink`.",
|
|
1382
1408
|
"$type": "color"
|
|
1383
1409
|
},
|
|
1384
1410
|
"border.strong": {
|
|
1385
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
1386
|
-
"$description": "Stronger control boundary. Clears WCAG 1.4.11's 3:1 floor against every supported surface, like `border.control`.",
|
|
1411
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.58 },
|
|
1387
1412
|
"$extensions": {
|
|
1388
1413
|
"com.lostgradient.cinder": {
|
|
1414
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-border-ink), transparent 42%)",
|
|
1389
1415
|
"cssProperty": "--cinder-border-strong",
|
|
1390
1416
|
"public": true,
|
|
1391
1417
|
"category": "color"
|
|
1392
1418
|
}
|
|
1393
1419
|
},
|
|
1420
|
+
"$description": "Stronger control boundary. Clears WCAG 1.4.11's 3:1 floor against every supported surface, like `border.control`, with more weight. Composed as a 58% alpha step over `border.ink`.",
|
|
1394
1421
|
"$type": "color"
|
|
1395
1422
|
},
|
|
1396
1423
|
"border.inverse": {
|
|
@@ -1670,38 +1697,41 @@
|
|
|
1670
1697
|
"scrollbar.track": {
|
|
1671
1698
|
"$type": "color",
|
|
1672
1699
|
"$value": { "colorSpace": "oklch", "components": [0, 0, 0], "alpha": 0.04 },
|
|
1673
|
-
"$description": "Scrollbar track color.",
|
|
1674
1700
|
"$extensions": {
|
|
1675
1701
|
"com.lostgradient.cinder": {
|
|
1702
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 96%)",
|
|
1676
1703
|
"cssProperty": "--cinder-scrollbar-track",
|
|
1677
1704
|
"public": true,
|
|
1678
1705
|
"category": "color"
|
|
1679
1706
|
}
|
|
1680
|
-
}
|
|
1707
|
+
},
|
|
1708
|
+
"$description": "Scrollbar track color."
|
|
1681
1709
|
},
|
|
1682
1710
|
"scrollbar.thumb": {
|
|
1683
1711
|
"$type": "color",
|
|
1684
1712
|
"$value": { "colorSpace": "oklch", "components": [0, 0, 0], "alpha": 0.45 },
|
|
1685
|
-
"$description": "Scrollbar thumb color.",
|
|
1686
1713
|
"$extensions": {
|
|
1687
1714
|
"com.lostgradient.cinder": {
|
|
1715
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 55%)",
|
|
1688
1716
|
"cssProperty": "--cinder-scrollbar-thumb",
|
|
1689
1717
|
"public": true,
|
|
1690
1718
|
"category": "color"
|
|
1691
1719
|
}
|
|
1692
|
-
}
|
|
1720
|
+
},
|
|
1721
|
+
"$description": "Scrollbar thumb color."
|
|
1693
1722
|
},
|
|
1694
1723
|
"scrollbar.thumb-hover": {
|
|
1695
1724
|
"$type": "color",
|
|
1696
1725
|
"$value": { "colorSpace": "oklch", "components": [0, 0, 0], "alpha": 0.65 },
|
|
1697
|
-
"$description": "Scrollbar thumb hover color.",
|
|
1698
1726
|
"$extensions": {
|
|
1699
1727
|
"com.lostgradient.cinder": {
|
|
1728
|
+
"cssRecipe": "color-mix(in oklch, var(--cinder-polarity-ink), transparent 35%)",
|
|
1700
1729
|
"cssProperty": "--cinder-scrollbar-thumb-hover",
|
|
1701
1730
|
"public": true,
|
|
1702
1731
|
"category": "color"
|
|
1703
1732
|
}
|
|
1704
|
-
}
|
|
1733
|
+
},
|
|
1734
|
+
"$description": "Scrollbar thumb hover color."
|
|
1705
1735
|
},
|
|
1706
1736
|
"overlay.backdrop": {
|
|
1707
1737
|
"$type": "color",
|
|
@@ -2368,7 +2398,7 @@
|
|
|
2368
2398
|
},
|
|
2369
2399
|
"status.neutral.border": {
|
|
2370
2400
|
"$type": "color",
|
|
2371
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
2401
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.48 },
|
|
2372
2402
|
"$description": "Border color on the soft neutral surface.",
|
|
2373
2403
|
"$extensions": {
|
|
2374
2404
|
"com.lostgradient.cinder": {
|
|
@@ -2648,7 +2678,7 @@
|
|
|
2648
2678
|
},
|
|
2649
2679
|
"button.border": {
|
|
2650
2680
|
"$type": "color",
|
|
2651
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
2681
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.48 },
|
|
2652
2682
|
"$description": "Secondary (default) button border.",
|
|
2653
2683
|
"$extensions": {
|
|
2654
2684
|
"com.lostgradient.cinder": {
|
|
@@ -3024,7 +3054,7 @@
|
|
|
3024
3054
|
"$type": "dimension"
|
|
3025
3055
|
},
|
|
3026
3056
|
"toggle.track.off-resting": {
|
|
3027
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
3057
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.19 },
|
|
3028
3058
|
"$description": "Toggle track color in the off, resting state. Light arm preserves the `border.muted` look; dark arm raises lightness for >=3:1 shape contrast against the surface.",
|
|
3029
3059
|
"$extensions": {
|
|
3030
3060
|
"com.lostgradient.cinder": {
|
|
@@ -3037,7 +3067,7 @@
|
|
|
3037
3067
|
"$type": "color"
|
|
3038
3068
|
},
|
|
3039
3069
|
"toggle.track.off-hover-resting": {
|
|
3040
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
3070
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.48 },
|
|
3041
3071
|
"$description": "Toggle track color in the off state on hover. Steps up from `off-resting` to be distinguishable.",
|
|
3042
3072
|
"$extensions": {
|
|
3043
3073
|
"com.lostgradient.cinder": {
|
|
@@ -3484,7 +3514,7 @@
|
|
|
3484
3514
|
},
|
|
3485
3515
|
"file-upload.border-color": {
|
|
3486
3516
|
"$type": "color",
|
|
3487
|
-
"$value": { "colorSpace": "oklch", "components": [0.
|
|
3517
|
+
"$value": { "colorSpace": "oklch", "components": [0.2, 0.02, 255], "alpha": 0.48 },
|
|
3488
3518
|
"$description": "Dropzone border color.",
|
|
3489
3519
|
"$extensions": {
|
|
3490
3520
|
"com.lostgradient.cinder": {
|
|
@@ -3625,7 +3655,7 @@
|
|
|
3625
3655
|
"modal.backdrop": {
|
|
3626
3656
|
"$type": "color",
|
|
3627
3657
|
"$value": { "colorSpace": "oklch", "components": [0.2, 0.03, 245], "alpha": 0.5 },
|
|
3628
|
-
"$description": "`::backdrop` fill color override point.
|
|
3658
|
+
"$description": "`::backdrop` fill color override point. A consumer override should target `::backdrop` directly for cross-engine reliability.",
|
|
3629
3659
|
"$extensions": {
|
|
3630
3660
|
"com.lostgradient.cinder": {
|
|
3631
3661
|
"cssProperty": "--cinder-modal-backdrop",
|