@atom63/cli 0.1.0-beta.3 → 0.1.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3472,6 +3472,14 @@
3472
3472
  "appViewSlots",
3473
3473
  "appViewTopBarSpans",
3474
3474
  "appViewVisualArchetypes",
3475
+ "artPlateContract",
3476
+ "artPlateSafeAreas",
3477
+ "artPlateSizes",
3478
+ "artPlateSlots",
3479
+ "artPlateStates",
3480
+ "artPlateTones",
3481
+ "artPlateVeils",
3482
+ "artPlateVisualArchetypes",
3475
3483
  "autocompleteContract",
3476
3484
  "autocompleteSizeAliases",
3477
3485
  "autocompleteSizes",
@@ -3703,6 +3711,12 @@
3703
3711
  "labelSlots",
3704
3712
  "labelStates",
3705
3713
  "labelVisualArchetypes",
3714
+ "layeredSceneContract",
3715
+ "layeredScenePlacements",
3716
+ "layeredSceneSlots",
3717
+ "layeredSceneStates",
3718
+ "layeredSceneVisualArchetypes",
3719
+ "layeredSceneWidths",
3706
3720
  "loadMoreTriggerContract",
3707
3721
  "loadMoreTriggerSlots",
3708
3722
  "loadMoreTriggerStates",
@@ -3981,6 +3995,7 @@
3981
3995
  "AlertTitle",
3982
3996
  "Amount",
3983
3997
  "AnimatedCheck",
3998
+ "ArtPlate",
3984
3999
  "Atom63Theme",
3985
4000
  "Autocomplete",
3986
4001
  "AutocompleteClear",
@@ -4200,6 +4215,11 @@
4200
4215
  "Kbd",
4201
4216
  "KbdGroup",
4202
4217
  "Label",
4218
+ "LayeredScene",
4219
+ "LayeredSceneContent",
4220
+ "LayeredSceneForeground",
4221
+ "LayeredScenePlate",
4222
+ "LayeredSceneStage",
4203
4223
  "LoadMoreTrigger",
4204
4224
  "Marquee",
4205
4225
  "Menubar",
@@ -6985,7 +7005,7 @@
6985
7005
  "parity": "platform-adaptive",
6986
7006
  "platformAdaptations": {
6987
7007
  "react": [
6988
- "Uses a tab-backed segmented track with focus-visible feedback and an optional animated selection backplate."
7008
+ "Uses radiogroup and radio semantics on a segmented track, named by aria-label or aria-labelledby, with arrow-key selection, focus-visible feedback and an optional animated selection backplate."
6989
7009
  ],
6990
7010
  "swiftUI": [
6991
7011
  "Uses Picker with segmented style so geometry, typography, and selection feedback remain platform-native."
@@ -7042,7 +7062,7 @@
7042
7062
  ],
7043
7063
  "importPath": "@atom63/ui-react",
7044
7064
  "label": "Segmented Control",
7045
- "markdown": "# Segmented Control\n\nSegmented Control presents one active value on a shared track with a moving indicator.\n\n**Status:** Stable\n\n## Preview\n\nThe live documentation page renders the `Playground` story maintained with the component.\n\n## Guidance\n\n- Use it for a small set of peer choices and keep labels short enough to survive narrow widths.\n- Pair controls with persistent labels and explain errors beside the affected field.\n- Validate focus visibility, disabled state, invalid state, and touch input together.\n\n## Usage\n\n```tsx\nimport { SegmentedControl } from '@atom63/ui-react'\n```\n\n## API surface\n\n**Values:** `SegmentedControl`\n\n**Types:** `SegmentedControlItem`, `SegmentedControlProps`\n\nTypeScript remains the source of truth for complete prop contracts.\n\n## Contract\n\nSource: `packages/ui-foundation/contracts/components/segmented-control.json` (`segmentedControlContract` in `@atom63/ui-foundation`).\n\n| Axis | Values | Default |\n| --- | --- | --- |\n| `sizes` | `sm`, `md`, `lg` | `md` |\n| `tones` | `neutral`, `accent` | `neutral` |\n| `variants` | `icon`, `label` | `label` |\n\n**Slots:** `segmented-control`, `segmented-control-track`, `segmented-control-item`, `segmented-control-icon`, `segmented-control-label`, `segmented-control-indicator`\n\n**States:** `rest`, `hover`, `selected`, `disabled`, `focus-visible`\n\n**Visual archetype:** Segmented selection — One-of-many peer selections presented as a shared track or grouped row.\n\n### Web and iOS\n\nSwitch a compact local mode or view between a small set of mutually exclusive options. Rendered by `Picker(.segmented)` in SwiftUI, with `platform-adaptive` parity.\n\n**Required states:** `rest`, `selected`, `disabled`\n\n**Shared outcomes:**\n\n- One segment is selected at a time\n- Activation updates the selection once\n- Disabled segment prevents selection\n\n**Accessibility outcomes:**\n\n- Exposes each segment label\n- Exposes selected state\n- Preserves single selection semantics\n\n**Platform adaptations:**\n\n- React: Uses a tab-backed segmented track with focus-visible feedback and an optional animated selection backplate.\n- SwiftUI: Uses Picker with segmented style so geometry, typography, and selection feedback remain platform-native.\n\n## Related components\n\n- [Toggle Group](/components/component-toggle-group)\n- [Tabs](/components/component-tabs)\n- [Radio](/components/component-radio)\n",
7065
+ "markdown": "# Segmented Control\n\nSegmented Control presents one active value on a shared track with a moving indicator.\n\n**Status:** Stable\n\n## Preview\n\nThe live documentation page renders the `Playground` story maintained with the component.\n\n## Guidance\n\n- Use it for a small set of peer choices and keep labels short enough to survive narrow widths.\n- Pair controls with persistent labels and explain errors beside the affected field.\n- Validate focus visibility, disabled state, invalid state, and touch input together.\n\n## Usage\n\n```tsx\nimport { SegmentedControl } from '@atom63/ui-react'\n```\n\n## API surface\n\n**Values:** `SegmentedControl`\n\n**Types:** `SegmentedControlItem`, `SegmentedControlProps`\n\nTypeScript remains the source of truth for complete prop contracts.\n\n## Contract\n\nSource: `packages/ui-foundation/contracts/components/segmented-control.json` (`segmentedControlContract` in `@atom63/ui-foundation`).\n\n| Axis | Values | Default |\n| --- | --- | --- |\n| `sizes` | `sm`, `md`, `lg` | `md` |\n| `tones` | `neutral`, `accent` | `neutral` |\n| `variants` | `icon`, `label` | `label` |\n\n**Slots:** `segmented-control`, `segmented-control-track`, `segmented-control-item`, `segmented-control-icon`, `segmented-control-label`, `segmented-control-indicator`\n\n**States:** `rest`, `hover`, `selected`, `disabled`, `focus-visible`\n\n**Visual archetype:** Segmented selection — One-of-many peer selections presented as a shared track or grouped row.\n\n### Web and iOS\n\nSwitch a compact local mode or view between a small set of mutually exclusive options. Rendered by `Picker(.segmented)` in SwiftUI, with `platform-adaptive` parity.\n\n**Required states:** `rest`, `selected`, `disabled`\n\n**Shared outcomes:**\n\n- One segment is selected at a time\n- Activation updates the selection once\n- Disabled segment prevents selection\n\n**Accessibility outcomes:**\n\n- Exposes each segment label\n- Exposes selected state\n- Preserves single selection semantics\n\n**Platform adaptations:**\n\n- React: Uses radiogroup and radio semantics on a segmented track, named by aria-label or aria-labelledby, with arrow-key selection, focus-visible feedback and an optional animated selection backplate.\n- SwiftUI: Uses Picker with segmented style so geometry, typography, and selection feedback remain platform-native.\n\n## Related components\n\n- [Toggle Group](/components/component-toggle-group)\n- [Tabs](/components/component-tabs)\n- [Radio](/components/component-radio)\n",
7046
7066
  "related": [
7047
7067
  "toggle-group",
7048
7068
  "tabs",
@@ -7065,7 +7085,7 @@
7065
7085
  "Endpoints",
7066
7086
  "ContractMetadata"
7067
7087
  ],
7068
- "source": "import {\n segmentedControlContract,\n segmentedControlSizes,\n segmentedControlTones,\n segmentedControlVariants,\n themes,\n} from '@atom63/ui-foundation'\nimport { SegmentedControl, UIProvider } from '@atom63/ui-react'\nimport '@atom63/ui-react/styles.css'\nimport type { Meta, StoryObj } from '@storybook/react-vite'\nimport { GitBranch, Grid, List } from 'lucide-react'\nimport { type ReactNode, useState } from 'react'\n\nconst ITEMS = [\n { value: 'list', label: 'List' },\n { value: 'grid', label: 'Grid' },\n { value: 'tree', label: 'Tree' },\n]\n\nconst ICON_ITEMS = [\n { value: 'list', label: 'List', icon: <List /> },\n { value: 'grid', label: 'Grid', icon: <Grid /> },\n { value: 'tree', label: 'Tree', icon: <GitBranch /> },\n]\n\nconst LONG_ITEMS = [\n { value: 'list', label: 'Project overview' },\n { value: 'activity', label: 'Recent activity' },\n { value: 'permissions', label: 'Access permissions' },\n { value: 'integrations', label: 'Connected integrations' },\n]\n\nfunction Demo({\n animateBackplate,\n items = ITEMS,\n size,\n tabClassName,\n tone,\n variant,\n}: {\n animateBackplate?: boolean\n items?: typeof ITEMS\n size?: (typeof segmentedControlSizes)[number]\n tabClassName?: string\n tone?: (typeof segmentedControlTones)[number]\n variant?: (typeof segmentedControlVariants)[number]\n}) {\n const [value, setValue] = useState('list')\n return (\n <SegmentedControl\n animateBackplate={animateBackplate}\n items={items}\n onValueChange={setValue}\n size={size}\n tabClassName={tabClassName}\n tone={tone}\n value={value}\n variant={variant}\n />\n )\n}\n\nconst meta = {\n title: 'UI React/SegmentedControl',\n component: SegmentedControl,\n argTypes: {\n size: { control: 'inline-radio', options: segmentedControlSizes },\n variant: { control: 'inline-radio', options: segmentedControlVariants },\n tone: { control: 'inline-radio', options: segmentedControlTones },\n animateBackplate: { control: 'boolean' },\n },\n args: {\n size: 'md',\n tone: 'neutral',\n variant: 'label',\n animateBackplate: true,\n // Required props; every story renders its own items and state.\n items: [],\n value: '',\n onValueChange: () => {},\n },\n} satisfies Meta<typeof SegmentedControl>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nexport const Playground: Story = {\n render: ({ animateBackplate, size, tone, variant }) => (\n <Demo animateBackplate={animateBackplate} size={size} tone={tone} variant={variant} />\n ),\n}\n\n// Documents `animateBackplate` (default true) — set false to drop the indicator's\n// sliding transition — and the `tabClassName` per-segment escape hatch.\nexport const Backplate: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo animateBackplate />\n <Demo animateBackplate={false} />\n <Demo tabClassName=\"uppercase\" />\n </div>\n ),\n}\n\nexport const Sizes: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n {segmentedControlSizes.map(size => (\n <Demo key={size} size={size} />\n ))}\n </div>\n ),\n}\n\nexport const MobileOverflow: Story = {\n tags: ['!manifest'],\n render: () => (\n <UIProvider input=\"touch\">\n <div style={{ maxWidth: 320, width: 'min(100%, calc(100vw - 2rem))' }}>\n <Demo items={LONG_ITEMS} />\n </div>\n </UIProvider>\n ),\n}\n\nexport const Variants: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo variant=\"label\" />\n <Demo items={ICON_ITEMS} variant=\"icon\" />\n </div>\n ),\n}\n\nexport const Tones: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo tone=\"neutral\" />\n <Demo tone=\"accent\" />\n </div>\n ),\n}\n\n/* Captured with forced colors on (Windows High Contrast): the selected segment\n of both tones takes the system selection colours. */\nexport const ForcedColors: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo tone=\"neutral\" />\n <Demo tone=\"accent\" />\n <Demo items={ICON_ITEMS} variant=\"icon\" />\n </div>\n ),\n}\n\nexport const Themes: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n {themes.map(theme =>\n (['light', 'dark'] as const).map(mode => (\n <UIProvider key={`${theme}-${mode}`} mode={mode} theme={theme}>\n <div\n style={{\n alignItems: 'center',\n background: 'var(--a63-surface-panel)',\n borderRadius: 'var(--radius-lg)',\n color: 'var(--a63-text-primary)',\n display: 'flex',\n gap: 12,\n padding: '0.75rem',\n }}\n >\n <span style={{ fontSize: 12, color: 'var(--a63-text-secondary)', width: 96 }}>\n {theme} / {mode}\n </span>\n <Demo />\n <Demo tone=\"accent\" />\n </div>\n </UIProvider>\n ))\n )}\n </div>\n ),\n}\n\nfunction PreviewCard({ children, label }: { children: ReactNode; label: string }) {\n return (\n <div\n style={{\n background: 'var(--a63-surface-panel)',\n border: '1px solid var(--a63-border-subtle)',\n borderRadius: 'var(--radius-lg)',\n color: 'var(--a63-text-primary)',\n display: 'grid',\n gap: '0.875rem',\n padding: '1rem',\n }}\n >\n <div\n style={{\n color: 'var(--a63-text-secondary)',\n fontFamily: 'Geist Mono, monospace',\n fontSize: '0.75rem',\n }}\n >\n {label}\n </div>\n {children}\n </div>\n )\n}\n\nexport const Endpoints: Story = {\n render: () => (\n <div\n style={{\n display: 'grid',\n gap: '1rem',\n gridTemplateColumns: 'repeat(auto-fit, minmax(15rem, 1fr))',\n }}\n >\n <UIProvider designLanguage=\"web\" input=\"pointer\" mode=\"light\">\n <PreviewCard label=\"web / light / pointer\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider designLanguage=\"web\" input=\"pointer\" mode=\"dark\">\n <PreviewCard label=\"web / dark / pointer\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider designLanguage=\"ios\" input=\"touch\" mode=\"light\">\n <PreviewCard label=\"ios / light / touch\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider designLanguage=\"ios\" input=\"touch\" mode=\"dark\">\n <PreviewCard label=\"ios / dark / touch\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider density=\"compact\" designLanguage=\"web\" input=\"pointer\" mode=\"light\">\n <PreviewCard label=\"compact extension / light\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider density=\"compact\" designLanguage=\"web\" input=\"pointer\" mode=\"dark\">\n <PreviewCard label=\"compact extension / dark\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n </div>\n ),\n}\n\nexport const ContractMetadata: Story = {\n render: () => (\n <pre style={{ fontSize: 12, margin: 0, whiteSpace: 'pre-wrap' }}>\n {JSON.stringify(segmentedControlContract, null, 2)}\n </pre>\n ),\n}\n"
7088
+ "source": "import {\n segmentedControlContract,\n segmentedControlSizes,\n segmentedControlTones,\n segmentedControlVariants,\n themes,\n} from '@atom63/ui-foundation'\nimport { SegmentedControl, UIProvider } from '@atom63/ui-react'\nimport '@atom63/ui-react/styles.css'\nimport type { Meta, StoryObj } from '@storybook/react-vite'\nimport { GitBranch, Grid, List } from 'lucide-react'\nimport { type ReactNode, useState } from 'react'\n\nconst ITEMS = [\n { value: 'list', label: 'List' },\n { value: 'grid', label: 'Grid' },\n { value: 'tree', label: 'Tree' },\n]\n\nconst ICON_ITEMS = [\n { value: 'list', label: 'List', icon: <List /> },\n { value: 'grid', label: 'Grid', icon: <Grid /> },\n { value: 'tree', label: 'Tree', icon: <GitBranch /> },\n]\n\nconst LONG_ITEMS = [\n { value: 'list', label: 'Project overview' },\n { value: 'activity', label: 'Recent activity' },\n { value: 'permissions', label: 'Access permissions' },\n { value: 'integrations', label: 'Connected integrations' },\n]\n\nfunction Demo({\n animateBackplate,\n initialValue = 'list',\n items = ITEMS,\n size,\n tabClassName,\n tone,\n variant,\n}: {\n animateBackplate?: boolean\n initialValue?: string\n items?: typeof ITEMS\n size?: (typeof segmentedControlSizes)[number]\n tabClassName?: string\n tone?: (typeof segmentedControlTones)[number]\n variant?: (typeof segmentedControlVariants)[number]\n}) {\n const [value, setValue] = useState(initialValue)\n return (\n <SegmentedControl\n animateBackplate={animateBackplate}\n aria-label=\"View\"\n items={items}\n onValueChange={setValue}\n size={size}\n tabClassName={tabClassName}\n tone={tone}\n value={value}\n variant={variant}\n />\n )\n}\n\nconst meta = {\n title: 'UI React/SegmentedControl',\n component: SegmentedControl,\n argTypes: {\n size: { control: 'inline-radio', options: segmentedControlSizes },\n variant: { control: 'inline-radio', options: segmentedControlVariants },\n tone: { control: 'inline-radio', options: segmentedControlTones },\n animateBackplate: { control: 'boolean' },\n },\n args: {\n size: 'md',\n tone: 'neutral',\n variant: 'label',\n animateBackplate: true,\n // Required props; every story renders its own items and state.\n items: [],\n value: '',\n onValueChange: () => {},\n },\n} satisfies Meta<typeof SegmentedControl>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\n/* A radio group named \"View\": Tab enters at the selected segment and the arrow\n keys move and select. The APG radio pattern test plays this story, which\n starts on the second segment. */\nexport const Playground: Story = {\n render: ({ animateBackplate, size, tone, variant }) => (\n <Demo\n animateBackplate={animateBackplate}\n initialValue=\"grid\"\n size={size}\n tone={tone}\n variant={variant}\n />\n ),\n}\n\n// Documents `animateBackplate` (default true) — set false to drop the indicator's\n// sliding transition — and the `tabClassName` per-segment escape hatch.\nexport const Backplate: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo animateBackplate />\n <Demo animateBackplate={false} />\n <Demo tabClassName=\"uppercase\" />\n </div>\n ),\n}\n\nexport const Sizes: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n {segmentedControlSizes.map(size => (\n <Demo key={size} size={size} />\n ))}\n </div>\n ),\n}\n\nexport const MobileOverflow: Story = {\n tags: ['!manifest'],\n render: () => (\n <UIProvider input=\"touch\">\n <div style={{ maxWidth: 320, width: 'min(100%, calc(100vw - 2rem))' }}>\n <Demo items={LONG_ITEMS} />\n </div>\n </UIProvider>\n ),\n}\n\nexport const Variants: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo variant=\"label\" />\n <Demo items={ICON_ITEMS} variant=\"icon\" />\n </div>\n ),\n}\n\nexport const Tones: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo tone=\"neutral\" />\n <Demo tone=\"accent\" />\n </div>\n ),\n}\n\n/* Captured with forced colors on (Windows High Contrast): the selected segment\n of both tones takes the system selection colours. */\nexport const ForcedColors: Story = {\n render: () => (\n <div style={{ display: 'flex', gap: 16, alignItems: 'center' }}>\n <Demo tone=\"neutral\" />\n <Demo tone=\"accent\" />\n <Demo items={ICON_ITEMS} variant=\"icon\" />\n </div>\n ),\n}\n\nexport const Themes: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n {themes.map(theme =>\n (['light', 'dark'] as const).map(mode => (\n <UIProvider key={`${theme}-${mode}`} mode={mode} theme={theme}>\n <div\n style={{\n alignItems: 'center',\n background: 'var(--a63-surface-panel)',\n borderRadius: 'var(--radius-lg)',\n color: 'var(--a63-text-primary)',\n display: 'flex',\n gap: 12,\n padding: '0.75rem',\n }}\n >\n <span style={{ fontSize: 12, color: 'var(--a63-text-secondary)', width: 96 }}>\n {theme} / {mode}\n </span>\n <Demo />\n <Demo tone=\"accent\" />\n </div>\n </UIProvider>\n ))\n )}\n </div>\n ),\n}\n\nfunction PreviewCard({ children, label }: { children: ReactNode; label: string }) {\n return (\n <div\n style={{\n background: 'var(--a63-surface-panel)',\n border: '1px solid var(--a63-border-subtle)',\n borderRadius: 'var(--radius-lg)',\n color: 'var(--a63-text-primary)',\n display: 'grid',\n gap: '0.875rem',\n padding: '1rem',\n }}\n >\n <div\n style={{\n color: 'var(--a63-text-secondary)',\n fontFamily: 'Geist Mono, monospace',\n fontSize: '0.75rem',\n }}\n >\n {label}\n </div>\n {children}\n </div>\n )\n}\n\nexport const Endpoints: Story = {\n render: () => (\n <div\n style={{\n display: 'grid',\n gap: '1rem',\n gridTemplateColumns: 'repeat(auto-fit, minmax(15rem, 1fr))',\n }}\n >\n <UIProvider designLanguage=\"web\" input=\"pointer\" mode=\"light\">\n <PreviewCard label=\"web / light / pointer\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider designLanguage=\"web\" input=\"pointer\" mode=\"dark\">\n <PreviewCard label=\"web / dark / pointer\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider designLanguage=\"ios\" input=\"touch\" mode=\"light\">\n <PreviewCard label=\"ios / light / touch\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider designLanguage=\"ios\" input=\"touch\" mode=\"dark\">\n <PreviewCard label=\"ios / dark / touch\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider density=\"compact\" designLanguage=\"web\" input=\"pointer\" mode=\"light\">\n <PreviewCard label=\"compact extension / light\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n <UIProvider density=\"compact\" designLanguage=\"web\" input=\"pointer\" mode=\"dark\">\n <PreviewCard label=\"compact extension / dark\">\n <Demo />\n </PreviewCard>\n </UIProvider>\n </div>\n ),\n}\n\nexport const ContractMetadata: Story = {\n render: () => (\n <pre style={{ fontSize: 12, margin: 0, whiteSpace: 'pre-wrap' }}>\n {JSON.stringify(segmentedControlContract, null, 2)}\n </pre>\n ),\n}\n"
7069
7089
  },
7070
7090
  "summary": "Segmented Control presents one active value on a shared track with a moving indicator.",
7071
7091
  "usage": "Use it for a small set of peer choices and keep labels short enough to survive narrow widths.",
@@ -10854,6 +10874,113 @@
10854
10874
  "AppView"
10855
10875
  ]
10856
10876
  },
10877
+ {
10878
+ "axisGuidance": null,
10879
+ "contract": {
10880
+ "archetypes": [
10881
+ {
10882
+ "description": "In-flow containers and content surfaces that do not inherently manipulate state.",
10883
+ "id": "surface",
10884
+ "label": "Static content surfaces"
10885
+ }
10886
+ ],
10887
+ "axes": [
10888
+ {
10889
+ "name": "sizes",
10890
+ "values": [
10891
+ "viewport",
10892
+ "band",
10893
+ "card"
10894
+ ],
10895
+ "default": "viewport"
10896
+ },
10897
+ {
10898
+ "name": "safeAreas",
10899
+ "values": [
10900
+ "top",
10901
+ "bottom",
10902
+ "center",
10903
+ "start",
10904
+ "end"
10905
+ ],
10906
+ "default": "top"
10907
+ },
10908
+ {
10909
+ "name": "tones",
10910
+ "values": [
10911
+ "page",
10912
+ "media"
10913
+ ],
10914
+ "default": "page"
10915
+ },
10916
+ {
10917
+ "name": "veils",
10918
+ "values": [
10919
+ "none",
10920
+ "soft",
10921
+ "strong"
10922
+ ],
10923
+ "default": "none"
10924
+ }
10925
+ ],
10926
+ "exportName": "artPlateContract",
10927
+ "slots": [
10928
+ "art-plate",
10929
+ "art-plate-image",
10930
+ "art-plate-content"
10931
+ ],
10932
+ "source": "packages/ui-foundation/contracts/components/art-plate.json",
10933
+ "states": [
10934
+ "rest"
10935
+ ],
10936
+ "tokenSlots": []
10937
+ },
10938
+ "exports": {
10939
+ "types": [
10940
+ "ArtPlateFocus",
10941
+ "ArtPlateProps"
10942
+ ],
10943
+ "values": [
10944
+ "ArtPlate"
10945
+ ]
10946
+ },
10947
+ "group": {
10948
+ "id": "content-and-surfaces",
10949
+ "title": "Content and surfaces"
10950
+ },
10951
+ "guidance": [
10952
+ "Use Art Plate for a landing hero, a section band or a portfolio cover where the picture leads and content sits in a calm region of it.",
10953
+ "Keep product data and fetching outside the presentational component.",
10954
+ "Test long, empty, and narrow content before adding local layout overrides."
10955
+ ],
10956
+ "importPath": "@atom63/ui-react",
10957
+ "label": "Art Plate",
10958
+ "markdown": "# Art Plate\n\nArt Plate shows a full-bleed picture that owns its crop and keeps a safe area for headline and product UI.\n\n**Status:** Preview\n\n## Preview\n\nThe live documentation page renders the `Playground` story maintained with the component.\n\n## Guidance\n\n- Use Art Plate for a landing hero, a section band or a portfolio cover where the picture leads and content sits in a calm region of it.\n- Keep product data and fetching outside the presentational component.\n- Test long, empty, and narrow content before adding local layout overrides.\n\n## Usage\n\n```tsx\nimport { ArtPlate } from '@atom63/ui-react'\n```\n\n## API surface\n\n**Values:** `ArtPlate`\n\n**Types:** `ArtPlateFocus`, `ArtPlateProps`\n\nTypeScript remains the source of truth for complete prop contracts.\n\n## Contract\n\nSource: `packages/ui-foundation/contracts/components/art-plate.json` (`artPlateContract` in `@atom63/ui-foundation`).\n\n| Axis | Values | Default |\n| --- | --- | --- |\n| `sizes` | `viewport`, `band`, `card` | `viewport` |\n| `safeAreas` | `top`, `bottom`, `center`, `start`, `end` | `top` |\n| `tones` | `page`, `media` | `page` |\n| `veils` | `none`, `soft`, `strong` | `none` |\n\n**Slots:** `art-plate`, `art-plate-image`, `art-plate-content`\n\n**States:** `rest`\n\n**Visual archetype:** Static content surfaces — In-flow containers and content surfaces that do not inherently manipulate state.\n\n## Related components\n\n- [Card](/components/component-card)\n- [Frame](/components/component-frame)\n- [Progressive Blur](/components/component-progressive-blur)\n",
10959
+ "related": [
10960
+ "card",
10961
+ "frame",
10962
+ "progressive-blur"
10963
+ ],
10964
+ "route": "/components/component-art-plate",
10965
+ "slug": "art-plate",
10966
+ "status": "preview",
10967
+ "stories": {
10968
+ "file": "packages/ui-react/src/components/art-plate/art-plate.stories.tsx",
10969
+ "names": [
10970
+ "Playground",
10971
+ "Viewport",
10972
+ "SafeAreas",
10973
+ "Card",
10974
+ "Themes"
10975
+ ],
10976
+ "source": "import {\n artPlateSafeAreas,\n artPlateSizes,\n artPlateTones,\n artPlateVeils,\n themes,\n} from '@atom63/ui-foundation'\nimport { ArtPlate, Button, UIProvider } from '@atom63/ui-react'\nimport '@atom63/ui-react/styles.css'\nimport type { Meta, StoryObj } from '@storybook/react-vite'\n\n// Remote pictures are pinned to one placeholder in the visual and craft runs.\nconst PLATE = 'https://picsum.photos/id/1018/1920/1080'\n\nconst meta = {\n title: 'UI React/ArtPlate',\n component: ArtPlate,\n parameters: { layout: 'fullscreen' },\n argTypes: {\n safeArea: { control: 'inline-radio', options: artPlateSafeAreas },\n size: { control: 'inline-radio', options: artPlateSizes },\n tone: { control: 'inline-radio', options: artPlateTones },\n veil: { control: 'inline-radio', options: artPlateVeils },\n },\n args: {\n alt: '',\n focus: { x: 0.5, y: 0.7 },\n safeArea: 'top',\n size: 'band',\n src: PLATE,\n tone: 'media',\n veil: 'soft',\n },\n} satisfies Meta<typeof ArtPlate>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nfunction HeroCopy() {\n return (\n <div style={{ display: 'grid', gap: 'var(--a63-space-4)', maxInlineSize: '36rem' }}>\n <h1\n style={{\n margin: 0,\n fontSize: 'var(--a63-type-display-large-font-size)',\n lineHeight: 'var(--a63-type-display-large-line-height)',\n }}\n >\n Render at the speed of thought\n </h1>\n <p style={{ margin: 0 }}>A motion timeline that renders in the browser.</p>\n <div style={{ display: 'flex', gap: 'var(--a63-space-2)' }}>\n <Button>Start free</Button>\n <Button variant=\"outline\">Read the docs</Button>\n </div>\n </div>\n )\n}\n\nexport const Playground: Story = {\n render: args => (\n <ArtPlate {...args}>\n <HeroCopy />\n </ArtPlate>\n ),\n}\n\nexport const Viewport: Story = {\n args: { priority: true, size: 'viewport', safeArea: 'center' },\n render: args => (\n <ArtPlate {...args}>\n <HeroCopy />\n </ArtPlate>\n ),\n}\n\nexport const SafeAreas: Story = {\n render: args => (\n <div style={{ display: 'grid', gap: 'var(--a63-space-4)' }}>\n {artPlateSafeAreas.map(safeArea => (\n <ArtPlate key={safeArea} {...args} safeArea={safeArea}>\n <p style={{ margin: 0 }}>safeArea=&quot;{safeArea}&quot;</p>\n </ArtPlate>\n ))}\n </div>\n ),\n}\n\nexport const Card: Story = {\n args: { size: 'card', safeArea: 'bottom', veil: 'strong' },\n render: args => (\n <div style={{ padding: 'var(--a63-space-6)' }}>\n <ArtPlate {...args}>\n <p style={{ margin: 0 }}>Ship your next render tonight.</p>\n </ArtPlate>\n </div>\n ),\n}\n\nexport const Themes: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 'var(--a63-space-3)' }}>\n {themes.map(theme =>\n (['light', 'dark'] as const).map(mode => (\n <UIProvider key={`${theme}-${mode}`} mode={mode} theme={theme}>\n <div style={{ background: 'var(--a63-surface-page)', padding: 'var(--a63-space-3)' }}>\n <ArtPlate alt=\"\" safeArea=\"start\" size=\"card\" src={PLATE} tone=\"page\" veil=\"strong\">\n <p style={{ margin: 0 }}>\n {theme} / {mode}\n </p>\n </ArtPlate>\n </div>\n </UIProvider>\n ))\n )}\n </div>\n ),\n}\n"
10977
+ },
10978
+ "summary": "Art Plate shows a full-bleed picture that owns its crop and keeps a safe area for headline and product UI.",
10979
+ "usage": "Use Art Plate for a landing hero, a section band or a portfolio cover where the picture leads and content sits in a calm region of it.",
10980
+ "usageExports": [
10981
+ "ArtPlate"
10982
+ ]
10983
+ },
10857
10984
  {
10858
10985
  "axisGuidance": null,
10859
10986
  "contract": {
@@ -12451,6 +12578,101 @@
12451
12578
  "ItemActions"
12452
12579
  ]
12453
12580
  },
12581
+ {
12582
+ "axisGuidance": null,
12583
+ "contract": {
12584
+ "archetypes": [
12585
+ {
12586
+ "description": "In-flow containers and content surfaces that do not inherently manipulate state.",
12587
+ "id": "surface",
12588
+ "label": "Static content surfaces"
12589
+ }
12590
+ ],
12591
+ "axes": [
12592
+ {
12593
+ "name": "placements",
12594
+ "values": [
12595
+ "center-bottom",
12596
+ "end-bottom",
12597
+ "start-bottom"
12598
+ ],
12599
+ "default": "center-bottom"
12600
+ },
12601
+ {
12602
+ "name": "widths",
12603
+ "values": [
12604
+ "wide",
12605
+ "half"
12606
+ ],
12607
+ "default": "wide"
12608
+ }
12609
+ ],
12610
+ "exportName": "layeredSceneContract",
12611
+ "slots": [
12612
+ "layered-scene",
12613
+ "layered-scene-content",
12614
+ "layered-scene-stage",
12615
+ "layered-scene-foreground"
12616
+ ],
12617
+ "source": "packages/ui-foundation/contracts/components/layered-scene.json",
12618
+ "states": [
12619
+ "rest"
12620
+ ],
12621
+ "tokenSlots": []
12622
+ },
12623
+ "exports": {
12624
+ "types": [
12625
+ "LayeredSceneForegroundProps",
12626
+ "LayeredScenePlateProps",
12627
+ "LayeredSceneProps"
12628
+ ],
12629
+ "values": [
12630
+ "LayeredScene",
12631
+ "LayeredSceneContent",
12632
+ "LayeredSceneForeground",
12633
+ "LayeredScenePlate",
12634
+ "LayeredSceneStage"
12635
+ ]
12636
+ },
12637
+ "group": {
12638
+ "id": "content-and-surfaces",
12639
+ "title": "Content and surfaces"
12640
+ },
12641
+ "guidance": [
12642
+ "Use Layered Scene for a landing or portfolio hero where live product UI floats on an ArtPlate and a cut-out of the scene passes in front of it.",
12643
+ "Keep product data and fetching outside the presentational component.",
12644
+ "Test long, empty, and narrow content before adding local layout overrides."
12645
+ ],
12646
+ "importPath": "@atom63/ui-react",
12647
+ "label": "Layered Scene",
12648
+ "markdown": "# Layered Scene\n\nLayered Scene stacks a plate, a stage of product UI and an inert foreground cut-out so the interface sits inside the picture.\n\n**Status:** Preview\n\n## Preview\n\nThe live documentation page renders the `Playground` story maintained with the component.\n\n## Guidance\n\n- Use Layered Scene for a landing or portfolio hero where live product UI floats on an ArtPlate and a cut-out of the scene passes in front of it.\n- Keep product data and fetching outside the presentational component.\n- Test long, empty, and narrow content before adding local layout overrides.\n\n## Usage\n\n```tsx\nimport { LayeredScene, LayeredScenePlate, LayeredSceneContent, LayeredSceneStage, LayeredSceneForeground } from '@atom63/ui-react'\n```\n\n## API surface\n\n**Values:** `LayeredScene`, `LayeredSceneContent`, `LayeredSceneForeground`, `LayeredScenePlate`, `LayeredSceneStage`\n\n**Types:** `LayeredSceneForegroundProps`, `LayeredScenePlateProps`, `LayeredSceneProps`\n\nTypeScript remains the source of truth for complete prop contracts.\n\n## Contract\n\nSource: `packages/ui-foundation/contracts/components/layered-scene.json` (`layeredSceneContract` in `@atom63/ui-foundation`).\n\n| Axis | Values | Default |\n| --- | --- | --- |\n| `placements` | `center-bottom`, `end-bottom`, `start-bottom` | `center-bottom` |\n| `widths` | `wide`, `half` | `wide` |\n\n**Slots:** `layered-scene`, `layered-scene-content`, `layered-scene-stage`, `layered-scene-foreground`\n\n**States:** `rest`\n\n**Visual archetype:** Static content surfaces — In-flow containers and content surfaces that do not inherently manipulate state.\n\n## Related components\n\n- [Art Plate](/components/component-art-plate)\n- [Frame](/components/component-frame)\n- [Card](/components/component-card)\n",
12649
+ "related": [
12650
+ "art-plate",
12651
+ "frame",
12652
+ "card"
12653
+ ],
12654
+ "route": "/components/component-layered-scene",
12655
+ "slug": "layered-scene",
12656
+ "status": "preview",
12657
+ "stories": {
12658
+ "file": "packages/ui-react/src/components/layered-scene/layered-scene.stories.tsx",
12659
+ "names": [
12660
+ "Playground",
12661
+ "EndPlacement",
12662
+ "WithoutForeground"
12663
+ ],
12664
+ "source": "import { layeredScenePlacements, layeredSceneWidths } from '@atom63/ui-foundation'\nimport {\n Badge,\n Button,\n Frame,\n FrameDescription,\n FrameHeader,\n FramePanel,\n FrameTitle,\n LayeredScene,\n LayeredSceneContent,\n LayeredSceneForeground,\n LayeredScenePlate,\n LayeredSceneStage,\n} from '@atom63/ui-react'\nimport '@atom63/ui-react/styles.css'\nimport type { Meta, StoryObj } from '@storybook/react-vite'\n\n// Remote pictures are pinned to one placeholder in the visual and craft runs.\nconst PLATE = 'https://picsum.photos/id/1018/1920/1080'\nconst FOCUS = { x: 0.5, y: 0.7 }\n\n// A stand-in cut-out: a ridge across the bottom eighth of the plate, transparent\n// above it. A real scene uses a cut-out of its own plate.\nconst RIDGE =\n 'data:image/svg+xml,' +\n encodeURIComponent(\n '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1920 1080\" preserveAspectRatio=\"xMidYMid slice\"><path fill-opacity=\"0.9\" d=\"M0 1000 L180 960 L360 990 L560 945 L760 985 L980 950 L1180 990 L1400 955 L1620 985 L1920 960 L1920 1080 L0 1080 Z\"/></svg>'\n )\n\nconst meta = {\n title: 'UI React/LayeredScene',\n component: LayeredScene,\n parameters: { layout: 'fullscreen' },\n argTypes: {\n placement: { control: 'inline-radio', options: layeredScenePlacements },\n width: { control: 'inline-radio', options: layeredSceneWidths },\n },\n args: { placement: 'center-bottom', width: 'wide' },\n} satisfies Meta<typeof LayeredScene>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nfunction ProductWindow() {\n return (\n <Frame>\n <FrameHeader>\n <FrameTitle>Render queue</FrameTitle>\n <FrameDescription>3 jobs running on 4 workers</FrameDescription>\n </FrameHeader>\n <FramePanel>\n <div style={{ display: 'grid', gap: 'var(--a63-space-2)' }}>\n <span>title-sequence.mov · 72%</span>\n <span>logo-sting.mov · 40%</span>\n <span>lower-thirds.mov · queued</span>\n </div>\n {/* Empty room at the bottom of the window: the only part the cut-out may cover. */}\n <div style={{ blockSize: 'var(--spacing-24)' }} />\n </FramePanel>\n </Frame>\n )\n}\n\nfunction Copy() {\n return (\n <>\n <Badge variant=\"secondary\">Browser-native rendering</Badge>\n <h1\n style={{\n margin: 0,\n fontSize: 'var(--a63-type-display-large-font-size)',\n lineHeight: 'var(--a63-type-display-large-line-height)',\n maxInlineSize: '18ch',\n }}\n >\n Render at the speed of thought\n </h1>\n <p style={{ margin: 0 }}>A motion timeline that renders in the browser.</p>\n <div style={{ display: 'flex', gap: 'var(--a63-space-2)' }}>\n <Button>Start free</Button>\n <Button variant=\"outline\">Take a tour</Button>\n </div>\n </>\n )\n}\n\nexport const Playground: Story = {\n render: args => (\n <LayeredScene {...args}>\n <LayeredScenePlate alt=\"\" focus={FOCUS} priority src={PLATE} />\n <LayeredSceneContent>\n <Copy />\n </LayeredSceneContent>\n <LayeredSceneStage>\n <ProductWindow />\n </LayeredSceneStage>\n <LayeredSceneForeground focus={FOCUS} priority src={RIDGE} />\n </LayeredScene>\n ),\n}\n\nexport const EndPlacement: Story = {\n args: { placement: 'end-bottom', width: 'half' },\n render: Playground.render,\n}\n\nexport const WithoutForeground: Story = {\n render: args => (\n <LayeredScene {...args}>\n <LayeredScenePlate alt=\"\" focus={FOCUS} src={PLATE} />\n <LayeredSceneContent>\n <Copy />\n </LayeredSceneContent>\n <LayeredSceneStage>\n <ProductWindow />\n </LayeredSceneStage>\n </LayeredScene>\n ),\n}\n"
12665
+ },
12666
+ "summary": "Layered Scene stacks a plate, a stage of product UI and an inert foreground cut-out so the interface sits inside the picture.",
12667
+ "usage": "Use Layered Scene for a landing or portfolio hero where live product UI floats on an ArtPlate and a cut-out of the scene passes in front of it.",
12668
+ "usageExports": [
12669
+ "LayeredScene",
12670
+ "LayeredScenePlate",
12671
+ "LayeredSceneContent",
12672
+ "LayeredSceneStage",
12673
+ "LayeredSceneForeground"
12674
+ ]
12675
+ },
12454
12676
  {
12455
12677
  "axisGuidance": null,
12456
12678
  "contract": {
@@ -13339,10 +13561,11 @@
13339
13561
  "FailedTouch",
13340
13562
  "CustomChildren",
13341
13563
  "Themes",
13564
+ "FailedThemes",
13342
13565
  "Endpoints",
13343
13566
  "ContractMetadata"
13344
13567
  ],
13345
- "source": "import { loadMoreTriggerContract, loadMoreTriggerVariants, themes } from '@atom63/ui-foundation'\nimport { Button, LoadMoreTrigger, UIProvider } from '@atom63/ui-react'\nimport '@atom63/ui-react/styles.css'\nimport type { Meta, StoryObj } from '@storybook/react-vite'\n\nconst meta = {\n title: 'UI React/LoadMoreTrigger',\n component: LoadMoreTrigger,\n argTypes: {\n variant: { control: 'inline-radio', options: loadMoreTriggerVariants },\n state: {\n control: 'select',\n options: loadMoreTriggerContract.states.filter(state => state !== 'custom'),\n },\n hasMore: { control: 'boolean' },\n isLoading: { control: 'boolean' },\n },\n args: { hasMore: true, isLoading: false, variant: 'default' },\n} satisfies Meta<typeof LoadMoreTrigger>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nexport const Playground: Story = {}\n\n/* Explicit state API uses the shared state-tone contract. */\nexport const States: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n <LoadMoreTrigger state=\"idle\" />\n <LoadMoreTrigger state=\"loading\" />\n <LoadMoreTrigger onRetry={() => {}} state=\"failed\" />\n <LoadMoreTrigger state=\"exhausted\" />\n </div>\n ),\n}\n\nexport const Variants: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n {loadMoreTriggerVariants.map(variant => (\n <LoadMoreTrigger hasMore isLoading key={variant} variant={variant} />\n ))}\n </div>\n ),\n}\n\nexport const Exhausted: Story = {\n args: { state: 'exhausted' },\n}\n\nexport const Failed: Story = {\n args: { onRetry: () => {}, state: 'failed' },\n}\n\n/* On a touch screen the Retry text keeps its size, and its hit area grows to the\n 44px touch target (--a63-control-min-target) around it. */\nexport const FailedTouch: Story = {\n play: ({ canvasElement }) => {\n const retry = canvasElement.querySelector<HTMLElement>('[data-slot=\"load-more-trigger-action\"]')\n if (!retry) throw new Error('Expected a Retry action')\n const hitArea = getComputedStyle(retry, '::before')\n const [width, height] = [parseFloat(hitArea.width), parseFloat(hitArea.height)]\n if (!(width >= 44 && height >= 44)) {\n throw new Error(`Retry hit area is ${width}×${height}px, expected at least 44×44`)\n }\n },\n render: () => (\n <UIProvider input=\"touch\">\n <LoadMoreTrigger onRetry={() => {}} state=\"failed\" />\n </UIProvider>\n ),\n}\n\n/* Custom children take over the row entirely (e.g. a manual \"Load more\" button). */\nexport const CustomChildren: Story = {\n render: () => (\n <LoadMoreTrigger hasMore isLoading={false}>\n <Button type=\"button\" variant=\"secondary\">\n Load more\n </Button>\n </LoadMoreTrigger>\n ),\n}\n\n/* The loading row (spinner + message) across all 4 DS themes × light/dark. */\nexport const Themes: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n {themes.map(theme =>\n (['light', 'dark'] as const).map(mode => (\n <UIProvider key={`${theme}-${mode}`} mode={mode} theme={theme}>\n <div\n style={{\n alignItems: 'center',\n background: 'var(--a63-surface-panel)',\n borderRadius: 'var(--a63-surface-radius, var(--radius-lg))',\n color: 'var(--a63-text-primary)',\n display: 'flex',\n gap: 12,\n padding: '0.75rem',\n }}\n >\n <span style={{ fontSize: 12, color: 'var(--a63-text-secondary)', width: 96 }}>\n {theme} / {mode}\n </span>\n <LoadMoreTrigger hasMore isLoading />\n </div>\n </UIProvider>\n ))\n )}\n </div>\n ),\n}\n\nexport const Endpoints: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n <UIProvider designLanguage=\"web\" input=\"pointer\">\n <EndpointTrigger label=\"Web\" />\n </UIProvider>\n <UIProvider designLanguage=\"ios\" input=\"touch\">\n <EndpointTrigger label=\"iOS touch\" />\n </UIProvider>\n <UIProvider density=\"compact\" designLanguage=\"web\" input=\"pointer\">\n <EndpointTrigger label=\"Compact extension\" />\n </UIProvider>\n </div>\n ),\n}\n\nexport const ContractMetadata: Story = {\n render: () => (\n <pre style={{ fontSize: 12, margin: 0, whiteSpace: 'pre-wrap' }}>\n {JSON.stringify(loadMoreTriggerContract, null, 2)}\n </pre>\n ),\n}\n\nfunction EndpointTrigger({ label }: { label: string }) {\n return (\n <div\n style={{\n alignItems: 'center',\n background: 'var(--a63-surface-panel)',\n color: 'var(--a63-text-primary)',\n display: 'flex',\n gap: 12,\n paddingInline: 12,\n }}\n >\n <span style={{ fontSize: 12, color: 'var(--a63-text-secondary)', width: 112 }}>{label}</span>\n <LoadMoreTrigger hasMore isLoading variant=\"prominent\" />\n </div>\n )\n}\n"
13568
+ "source": "import { loadMoreTriggerContract, loadMoreTriggerVariants, themes } from '@atom63/ui-foundation'\nimport { Button, LoadMoreTrigger, UIProvider } from '@atom63/ui-react'\nimport '@atom63/ui-react/styles.css'\nimport type { Meta, StoryObj } from '@storybook/react-vite'\n\nconst meta = {\n title: 'UI React/LoadMoreTrigger',\n component: LoadMoreTrigger,\n argTypes: {\n variant: { control: 'inline-radio', options: loadMoreTriggerVariants },\n state: {\n control: 'select',\n options: loadMoreTriggerContract.states.filter(state => state !== 'custom'),\n },\n hasMore: { control: 'boolean' },\n isLoading: { control: 'boolean' },\n },\n args: { hasMore: true, isLoading: false, variant: 'default' },\n} satisfies Meta<typeof LoadMoreTrigger>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nexport const Playground: Story = {}\n\n/* Explicit state API uses the shared state-tone contract. */\nexport const States: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n <LoadMoreTrigger state=\"idle\" />\n <LoadMoreTrigger state=\"loading\" />\n <LoadMoreTrigger onRetry={() => {}} state=\"failed\" />\n <LoadMoreTrigger state=\"exhausted\" />\n </div>\n ),\n}\n\nexport const Variants: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n {loadMoreTriggerVariants.map(variant => (\n <LoadMoreTrigger hasMore isLoading key={variant} variant={variant} />\n ))}\n </div>\n ),\n}\n\nexport const Exhausted: Story = {\n args: { state: 'exhausted' },\n}\n\nexport const Failed: Story = {\n args: { onRetry: () => {}, state: 'failed' },\n}\n\n/* On a touch screen the Retry text keeps its size, and its hit area grows to the\n 44px touch target (--a63-control-min-target) around it. */\nexport const FailedTouch: Story = {\n play: ({ canvasElement }) => {\n const retry = canvasElement.querySelector<HTMLElement>('[data-slot=\"load-more-trigger-action\"]')\n if (!retry) throw new Error('Expected a Retry action')\n const hitArea = getComputedStyle(retry, '::before')\n const [width, height] = [parseFloat(hitArea.width), parseFloat(hitArea.height)]\n if (!(width >= 44 && height >= 44)) {\n throw new Error(`Retry hit area is ${width}×${height}px, expected at least 44×44`)\n }\n },\n render: () => (\n <UIProvider input=\"touch\">\n <LoadMoreTrigger onRetry={() => {}} state=\"failed\" />\n </UIProvider>\n ),\n}\n\n/* Custom children take over the row entirely (e.g. a manual \"Load more\" button). */\nexport const CustomChildren: Story = {\n render: () => (\n <LoadMoreTrigger hasMore isLoading={false}>\n <Button type=\"button\" variant=\"secondary\">\n Load more\n </Button>\n </LoadMoreTrigger>\n ),\n}\n\n/* The loading row (spinner + message) across all 4 DS themes × light/dark. */\nexport const Themes: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n {themes.map(theme =>\n (['light', 'dark'] as const).map(mode => (\n <UIProvider key={`${theme}-${mode}`} mode={mode} theme={theme}>\n <div\n style={{\n alignItems: 'center',\n background: 'var(--a63-surface-panel)',\n borderRadius: 'var(--a63-surface-radius, var(--radius-lg))',\n color: 'var(--a63-text-primary)',\n display: 'flex',\n gap: 12,\n padding: '0.75rem',\n }}\n >\n <span style={{ fontSize: 12, color: 'var(--a63-text-secondary)', width: 96 }}>\n {theme} / {mode}\n </span>\n <LoadMoreTrigger hasMore isLoading />\n </div>\n </UIProvider>\n ))\n )}\n </div>\n ),\n}\n\n/* The sRGBA channels of a computed CSS colour, read back through a canvas so any\n colour syntax (oklch, color-mix) resolves the way the browser paints it. */\nfunction paintedRgba(color: string): [number, number, number, number] {\n const context = document.createElement('canvas').getContext('2d')\n if (!context) throw new Error('Expected a 2D canvas context')\n context.fillStyle = color\n context.fillRect(0, 0, 1, 1)\n const [r = 0, g = 0, b = 0, a = 0] = context.getImageData(0, 0, 1, 1).data\n return [r, g, b, a / 255]\n}\n\nfunction over(\n top: [number, number, number, number],\n base: [number, number, number]\n): [number, number, number] {\n const [r, g, b, a] = top\n return [r * a + base[0] * (1 - a), g * a + base[1] * (1 - a), b * a + base[2] * (1 - a)]\n}\n\n/* The colour an element sits on: its own and its ancestors' fills, composited\n from the first opaque one up. */\nfunction backdrop(element: HTMLElement): [number, number, number] {\n const layers: [number, number, number, number][] = []\n for (let node: HTMLElement | null = element; node; node = node.parentElement) {\n const fill = paintedRgba(getComputedStyle(node).backgroundColor)\n if (fill[3] > 0) layers.push(fill)\n if (fill[3] >= 0.99) break\n }\n return layers.reduceRight<[number, number, number]>(\n (base, layer) => over(layer, base),\n [255, 255, 255]\n )\n}\n\nfunction contrast(a: [number, number, number], b: [number, number, number]): number {\n const luminance = (rgb: [number, number, number]) => {\n const [r = 0, g = 0, b = 0] = rgb.map(channel => {\n const c = channel / 255\n return c <= 0.04045 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4\n })\n return 0.2126 * r + 0.7152 * g + 0.0722 * b\n }\n const [hi = 0, lo = 0] = [luminance(a), luminance(b)].sort((x, y) => y - x)\n return (hi + 0.05) / (lo + 0.05)\n}\n\n/* The failed row across all 4 DS themes × light/dark. The Retry label is text\n (WCAG 1.4.3, 4.5:1) and the error icon a graphic (1.4.11, 3:1). */\nexport const FailedThemes: Story = {\n play: ({ canvasElement }) => {\n const rows = canvasElement.querySelectorAll<HTMLElement>('[data-failed-row]')\n if (rows.length !== themes.length * 2)\n throw new Error('Expected a failed row per theme and mode')\n for (const row of rows) {\n const checks = [\n ['Retry label', row.querySelector<HTMLElement>('.a63-LoadMoreTrigger-action'), 4.5],\n ['error icon', row.querySelector<HTMLElement>('.a63-LoadMoreTrigger-icon'), 3],\n ] as const\n for (const [name, element, min] of checks) {\n if (!element) throw new Error(`${row.dataset.failedRow}: no ${name}`)\n const base = backdrop(element)\n const ratio = contrast(over(paintedRgba(getComputedStyle(element).color), base), base)\n if (ratio < min) {\n throw new Error(`${row.dataset.failedRow}: ${name} is ${ratio.toFixed(2)}:1 < ${min}:1`)\n }\n }\n }\n },\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n {themes.map(theme =>\n (['light', 'dark'] as const).map(mode => (\n <UIProvider key={`${theme}-${mode}`} mode={mode} theme={theme}>\n <div\n data-failed-row={`${theme}/${mode}`}\n style={{\n alignItems: 'center',\n background: 'var(--a63-surface-panel)',\n borderRadius: 'var(--a63-surface-radius, var(--radius-lg))',\n color: 'var(--a63-text-primary)',\n display: 'flex',\n gap: 12,\n padding: '0.75rem',\n }}\n >\n <span style={{ fontSize: 12, color: 'var(--a63-text-secondary)', width: 96 }}>\n {theme} / {mode}\n </span>\n <LoadMoreTrigger onRetry={() => {}} state=\"failed\" />\n </div>\n </UIProvider>\n ))\n )}\n </div>\n ),\n}\n\nexport const Endpoints: Story = {\n render: () => (\n <div style={{ display: 'grid', gap: 12 }}>\n <UIProvider designLanguage=\"web\" input=\"pointer\">\n <EndpointTrigger label=\"Web\" />\n </UIProvider>\n <UIProvider designLanguage=\"ios\" input=\"touch\">\n <EndpointTrigger label=\"iOS touch\" />\n </UIProvider>\n <UIProvider density=\"compact\" designLanguage=\"web\" input=\"pointer\">\n <EndpointTrigger label=\"Compact extension\" />\n </UIProvider>\n </div>\n ),\n}\n\nexport const ContractMetadata: Story = {\n render: () => (\n <pre style={{ fontSize: 12, margin: 0, whiteSpace: 'pre-wrap' }}>\n {JSON.stringify(loadMoreTriggerContract, null, 2)}\n </pre>\n ),\n}\n\nfunction EndpointTrigger({ label }: { label: string }) {\n return (\n <div\n style={{\n alignItems: 'center',\n background: 'var(--a63-surface-panel)',\n color: 'var(--a63-text-primary)',\n display: 'flex',\n gap: 12,\n paddingInline: 12,\n }}\n >\n <span style={{ fontSize: 12, color: 'var(--a63-text-secondary)', width: 112 }}>{label}</span>\n <LoadMoreTrigger hasMore isLoading variant=\"prominent\" />\n </div>\n )\n}\n"
13346
13569
  },
13347
13570
  "summary": "Load More Trigger is an observable sentinel row for incremental collection loading.",
13348
13571
  "usage": "Attach fetching to the forwarded ref and announce loading without turning the sentinel into a button.",
@@ -14135,7 +14358,7 @@
14135
14358
  {
14136
14359
  "area": "components",
14137
14360
  "label": "Segmented control",
14138
- "markdown": "# Segmented Control\n\nSegmented Control is a compact choice surface with one active value. It shares the segment archetype with Toggle Group and Button Group, but keeps its own moving indicator behavior.\n\n```tsx\nimport { SegmentedControl } from '@atom63/ui-react'\nimport { useState } from 'react'\n\n export function ThemeModeControl() {\n const [value, setValue] = useState('dark')\n\n return (\n <SegmentedControl\n items={[\n { label: 'Light', value: 'light' },\n { label: 'Dark', value: 'dark' },\n { label: 'Auto', value: 'auto' },\n ]}\n onValueChange={setValue}\n value={value}\n />\n )\n }\n```\n\nClick between segments to watch the backplate travel. `tone=\"accent\"` is the second row.\n\n## When to use\n\nUse Segmented Control for a small set of peer choices with one active value. In constrained containers, the default track stays on one line and scrolls horizontally while each item preserves its minimum target width. Set `fullWidth` when the track should fill its container and divide space equally; labels may then truncate. Use Tabs when the choices switch content panels.\n\nEach item label names its tab, but the current component API does not expose a name for the containing tab list. Treat group naming as an implementation gap rather than claiming a fully labeled pattern.\n\n## Contract shape\n\nSegmented Control is built on tab-like behavior. The component owns selection, indicator positioning, and item anatomy. The theme owns the track and selected material through `--a63-segment-*`.\n\n| Concern | Owner |\n|---------|-------|\n| Active value and keyboard behavior | Component / Base UI tabs behavior. |\n| Track geometry and item sizing | Segmented Control recipe. |\n| Material treatment | Segment contract tokens. |\n| Brand emphasis | `tone=\"accent\"` mapping to `--a63-segment-primary-*`. |\n\n## Key tokens\n\n| Token | Purpose |\n|-------|---------|\n| `--a63-segment-track-background` | Recessed shell fill. |\n| `--a63-segment-track-border` | Track border. |\n| `--a63-segment-track-shadow` | Recessed well treatment. |\n| `--a63-segment-foreground` | Resting item label color. |\n| `--a63-segment-hover-foreground` | Hover item label color. |\n| `--a63-segment-selected-background` | Neutral active plate. |\n| `--a63-segment-selected-foreground` | Text/icon on neutral active plate. |\n| `--a63-segment-primary-background` | Brand active plate. |\n| `--a63-segment-primary-foreground` | Text/icon on brand active plate. |\n\n## Design decisions\n\n### Active state can be neutral or accent\n\nMost settings controls should use a neutral active plate. A product-level mode switch or high-emphasis choice can use `tone=\"accent\"`. That choice is semantic; the theme only decides how the plate feels.\n\n### Track and plate are separate materials\n\nThe track should read as a seated well; the active plate should read as the chosen item. If both are equally loud, the control becomes a row of decorations instead of a selector.\n\n### Motion is behavior, not a theme\n\nThe moving backplate communicates spatial continuity between selected items. Themes do not control whether the indicator animates; consumers set `animateBackplate={false}` when a context needs a snap.\n\n## Usage\n\n```tsx\nimport { SegmentedControl } from '@atom63/ui-react'\n```\n\n## API surface\n\n**Values:** `SegmentedControl`\n\n**Types:** `SegmentedControlItem`, `SegmentedControlProps`\n\nTypeScript remains the source of truth for complete prop contracts.\n\n## Contract\n\nSource: `packages/ui-foundation/contracts/components/segmented-control.json` (`segmentedControlContract` in `@atom63/ui-foundation`).\n\n| Axis | Values | Default |\n| --- | --- | --- |\n| `sizes` | `sm`, `md`, `lg` | `md` |\n| `tones` | `neutral`, `accent` | `neutral` |\n| `variants` | `icon`, `label` | `label` |\n\n**Slots:** `segmented-control`, `segmented-control-track`, `segmented-control-item`, `segmented-control-icon`, `segmented-control-label`, `segmented-control-indicator`\n\n**States:** `rest`, `hover`, `selected`, `disabled`, `focus-visible`\n\n**Visual archetype:** Segmented selection — One-of-many peer selections presented as a shared track or grouped row.\n\n### Web and iOS\n\nSwitch a compact local mode or view between a small set of mutually exclusive options. Rendered by `Picker(.segmented)` in SwiftUI, with `platform-adaptive` parity.\n\n**Required states:** `rest`, `selected`, `disabled`\n\n**Shared outcomes:**\n\n- One segment is selected at a time\n- Activation updates the selection once\n- Disabled segment prevents selection\n\n**Accessibility outcomes:**\n\n- Exposes each segment label\n- Exposes selected state\n- Preserves single selection semantics\n\n**Platform adaptations:**\n\n- React: Uses a tab-backed segmented track with focus-visible feedback and an optional animated selection backplate.\n- SwiftUI: Uses Picker with segmented style so geometry, typography, and selection feedback remain platform-native.\n\n## Related components\n\n- [Toggle Group](/components/component-toggle-group)\n- [Tabs](/components/component-tabs)\n- [Radio](/components/component-radio)",
14361
+ "markdown": "# Segmented Control\n\nSegmented Control is a compact choice surface with one active value. It shares the segment archetype with Toggle Group and Button Group, but keeps its own moving indicator behavior.\n\n```tsx\nimport { SegmentedControl } from '@atom63/ui-react'\nimport { useState } from 'react'\n\n export function ThemeModeControl() {\n const [value, setValue] = useState('dark')\n\n return (\n <SegmentedControl\n aria-label=\"Appearance\"\n items={[\n { label: 'Light', value: 'light' },\n { label: 'Dark', value: 'dark' },\n { label: 'Auto', value: 'auto' },\n ]}\n onValueChange={setValue}\n value={value}\n />\n )\n }\n```\n\nClick between segments to watch the backplate travel. `tone=\"accent\"` is the second row.\n\n## When to use\n\nUse Segmented Control for a small set of peer choices with one active value. In constrained containers, the default track stays on one line and scrolls horizontally while each item preserves its minimum target width. Set `fullWidth` when the track should fill its container and divide space equally; labels may then truncate. Use Tabs when the choices switch content panels.\n\nSegmented Control is a radio group: the root has `role=\"radiogroup\"` and each segment is a `radio` named by its label. Name the group with `aria-label`, or with `aria-labelledby` pointing at a visible label. Tab moves focus to the selected segment, and the arrow keys move between segments and select as they go, as in the [APG Radio Group pattern](https://www.w3.org/WAI/ARIA/apg/patterns/radio/). It has no tab panels; when the choices switch content panels, use Tabs.\n\n## Contract shape\n\nSegmented Control is built on Base UI's radio group. The component owns selection, indicator positioning, and item anatomy. The theme owns the track and selected material through `--a63-segment-*`.\n\n| Concern | Owner |\n|---------|-------|\n| Active value and keyboard behavior | Component / Base UI radio group behavior. |\n| Track geometry and item sizing | Segmented Control recipe. |\n| Material treatment | Segment contract tokens. |\n| Brand emphasis | `tone=\"accent\"` mapping to `--a63-segment-primary-*`. |\n\n## Key tokens\n\n| Token | Purpose |\n|-------|---------|\n| `--a63-segment-track-background` | Recessed shell fill. |\n| `--a63-segment-track-border` | Track border. |\n| `--a63-segment-track-shadow` | Recessed well treatment. |\n| `--a63-segment-foreground` | Resting item label color. |\n| `--a63-segment-hover-foreground` | Hover item label color. |\n| `--a63-segment-selected-background` | Neutral active plate. |\n| `--a63-segment-selected-foreground` | Text/icon on neutral active plate. |\n| `--a63-segment-primary-background` | Brand active plate. |\n| `--a63-segment-primary-foreground` | Text/icon on brand active plate. |\n\n## Design decisions\n\n### Active state can be neutral or accent\n\nMost settings controls should use a neutral active plate. A product-level mode switch or high-emphasis choice can use `tone=\"accent\"`. That choice is semantic; the theme only decides how the plate feels.\n\n### Track and plate are separate materials\n\nThe track should read as a seated well; the active plate should read as the chosen item. If both are equally loud, the control becomes a row of decorations instead of a selector.\n\n### Motion is behavior, not a theme\n\nThe moving backplate communicates spatial continuity between selected items. Themes do not control whether the indicator animates; consumers set `animateBackplate={false}` when a context needs a snap.\n\n## Usage\n\n```tsx\nimport { SegmentedControl } from '@atom63/ui-react'\n```\n\n## API surface\n\n**Values:** `SegmentedControl`\n\n**Types:** `SegmentedControlItem`, `SegmentedControlProps`\n\nTypeScript remains the source of truth for complete prop contracts.\n\n## Contract\n\nSource: `packages/ui-foundation/contracts/components/segmented-control.json` (`segmentedControlContract` in `@atom63/ui-foundation`).\n\n| Axis | Values | Default |\n| --- | --- | --- |\n| `sizes` | `sm`, `md`, `lg` | `md` |\n| `tones` | `neutral`, `accent` | `neutral` |\n| `variants` | `icon`, `label` | `label` |\n\n**Slots:** `segmented-control`, `segmented-control-track`, `segmented-control-item`, `segmented-control-icon`, `segmented-control-label`, `segmented-control-indicator`\n\n**States:** `rest`, `hover`, `selected`, `disabled`, `focus-visible`\n\n**Visual archetype:** Segmented selection — One-of-many peer selections presented as a shared track or grouped row.\n\n### Web and iOS\n\nSwitch a compact local mode or view between a small set of mutually exclusive options. Rendered by `Picker(.segmented)` in SwiftUI, with `platform-adaptive` parity.\n\n**Required states:** `rest`, `selected`, `disabled`\n\n**Shared outcomes:**\n\n- One segment is selected at a time\n- Activation updates the selection once\n- Disabled segment prevents selection\n\n**Accessibility outcomes:**\n\n- Exposes each segment label\n- Exposes selected state\n- Preserves single selection semantics\n\n**Platform adaptations:**\n\n- React: Uses radiogroup and radio semantics on a segmented track, named by aria-label or aria-labelledby, with arrow-key selection, focus-visible feedback and an optional animated selection backplate.\n- SwiftUI: Uses Picker with segmented style so geometry, typography, and selection feedback remain platform-native.\n\n## Related components\n\n- [Toggle Group](/components/component-toggle-group)\n- [Tabs](/components/component-tabs)\n- [Radio](/components/component-radio)",
14139
14362
  "route": "/components/component-segmented-control",
14140
14363
  "slug": "component-segmented-control"
14141
14364
  },
@@ -14191,7 +14414,7 @@
14191
14414
  {
14192
14415
  "area": "foundations",
14193
14416
  "label": "Personalization",
14194
- "markdown": "# Personalization\n\nPersonalization is not a theme picker bolted onto the UI. It is the shape of the foundation: independent axes stamped as `data-a63-*` attributes (plus one scalar tint token), resolving through one semantic `--a63-*` layer.\n\n## Axes, not presets\n\nPresets demo well and compose badly. The moment someone wants Aqua material with a different neutral family and sharper radius, a preset model becomes a matrix of one-offs.\n\nATOM63 uses axes instead. Each axis owns a distinct slice of the system. CSS-backed component recipes inherit the resolved tokens instead of branching on axis values; `iconTheme` is the explicit React-consumed exception.\n\nThe live registry lives in `@atom63/ui-foundation` → `personalizationAxes`. The table below mirrors it:\n\n| Axis | Values | Applied as | Owns |\n|------|--------|------------|------|\n| Design language | `web` · `ios` | `data-a63-design-language` | Control proportions and interaction feedback. |\n| Mode | `light` · `dark` · `system` | `.light` / `.dark` + `data-a63-mode` | Light/dark semantic color resolution. |\n| Theme | `modern` · `aqua` · `retro` · `terminal` | `data-a63-theme` | Material values: gloss, shadow, bevel, texture, blur. |\n| Brand | `auto` · `b1`–`b6` | `data-a63-brand` | Primary tonal ramp and focus color. |\n| Surface | `n1`–`n6` | `data-a63-surface` | Neutral surface palette. |\n| Surface tint | `0%`–`100%` | `--a63-surface-tint` | Continuous brand bend on semantic surfaces. |\n| Type scale | `compact` · `normal` · `comfortable` · `large` | `data-a63-type-scale` | Global typographic scale. |\n| Radius | `none` · `subtle` · `default` · `round` | `data-a63-radius` | Corner multiplier across the radius ramp. |\n| Font | `sans` · `serif` · `mono` · `pixel` | `data-a63-font` | Active type personality. |\n| Input | `touch` · `pointer` · `keyboard` | `data-a63-input` | Hit target ergonomics. |\n| Density | `compact` · `comfortable` | `data-a63-density` | Spacing rhythm and proportional control sizing. |\n| OS | `macos` · `windows` | `data-a63-os` | Shell chrome and platform framing. |\n| Icon theme | `realistic` · `color` · `neutral` · `primary` | `data-a63-icon-theme` | Icon rendering style (React-consumed). |\n\n`UIProvider` stamps design language, mode, theme, brand, input, density, and surface when those props are supplied. `applyPersonalization` / `PersonalizationController` stamps mode, theme, brand, surface, tint, type scale, radius, font, OS, and icon theme. Together they cover every live axis; neither stamper resets dimensions it does not own. The contract is attributes (or one scalar) in, tokens out.\n\nRuntime availability and implementation completeness answer different questions: an axis can be stampable while one of its owned token groups is still expanding. The live registry in `packages/ui-foundation/src/axes.ts` is the source of truth for that implementation metadata; public documentation describes the stable contract rather than duplicating the internal backlog.\n\n## Density\n\nDensity sets one number, the space unit (`--a63-space-unit`): 4px when comfortable, 3.5px when compact. The space steps, gaps, paddings, row padding and control heights are all built on it, so compact scales them once, by 0.875: a 32px control becomes 28px and a 16px gap 14px. Control heights and row padding round to whole pixels, so a 36px control becomes 32px rather than 31.5px. Text keeps its size; the type scale axis owns that.\n\nIt works the same on `<html>` and on a nested scope. Every token built on the unit is declared again on `[data-a63-density]`, so `<UIProvider density=\"compact\">` around one region recomputes them there, and a design-language or phone scope keeps its own height ramp at the compact unit.\n\nDensity is also a product choice, not only a user preference. Use compact for dense product screens, where rows of data are scanned and acted on: tables, inboxes, issue trackers, admin dashboards and file lists.\n\n```tsx\nimport { UIProvider } from '@atom63/ui-react'\n\n<UIProvider density=\"compact\">\n {/* the table, inbox or list */}\n</UIProvider>\n```\n\nFor a whole app, set `data-a63-density=\"compact\"` on `<html>`. `atom63 build` suggests it for these screens.\n\n## One semantic layer\n\nThe rule is deliberately small:\n\n> Axes set attributes. The cascade resolves `--a63-*`. Components read `--a63-*`.\n\nThat means no component writes `--primary`, `--background`, or raw `--surface-*` values inline to express personalization. Those names are either compatibility aliases or palette primitives; writing them directly freezes a value at the wrong layer.\n\n## Why surface tint is continuous\n\nBrand and surface are separate axes because color personality has two jobs: accent and neutrality. `data-a63-brand` chooses the accent ramp. `data-a63-surface` chooses the neutral family. `--a63-surface-tint` bends the semantic surfaces toward the brand hue without generating a bespoke palette for every tint value.\n\nThe implementation mixes a small set of semantic surface and border roles rather than every raw ramp stop. That is the practical tradeoff: fewer computed colors, more predictable UI, and enough expressiveness for product-level personalization.\n\n## OS is not a theme\n\nTheme is material character. OS is platform structure. I split them because \"Windows\" should not imply one permanent visual skin, and \"Terminal\" should not dictate where caption controls live.\n\nThis lets OS63 compose coordinates such as `theme=terminal` with `os=macos`, or `theme=aqua` with `os=windows`, without inventing new theme names.\n\nRadius, type scale, and font are also **not** theme — they are independent appearance axes so you can keep Aqua material while sharpening corners or enlarging type.\n\n## What this enables\n\n- A subtree can override one axis without resetting the others.\n- Theme work can happen in CSS without React conditionals.\n- Agents can reason from the axis table instead of guessing local conventions.\n- Public docs can explain the architecture at the same level the code enforces it.",
14417
+ "markdown": "# Personalization\n\nPersonalization is not a theme picker bolted onto the UI. It is the shape of the foundation: independent axes stamped as `data-a63-*` attributes (plus one scalar tint token), resolving through one semantic `--a63-*` layer.\n\n## Axes, not presets\n\nPresets demo well and compose badly. The moment someone wants Aqua material with a different neutral family and sharper radius, a preset model becomes a matrix of one-offs.\n\nATOM63 uses axes instead. Each axis owns a distinct slice of the system. CSS-backed component recipes inherit the resolved tokens instead of branching on axis values; `iconTheme` is the explicit React-consumed exception.\n\nThe live registry lives in `@atom63/ui-foundation` → `personalizationAxes`. The table below mirrors it:\n\n| Axis | Values | Applied as | Owns |\n|------|--------|------------|------|\n| Design language | `web` · `ios` | `data-a63-design-language` | Control proportions and interaction feedback. |\n| Mode | `light` · `dark` · `system` | `.light` / `.dark` + `data-a63-mode` | Light/dark semantic color resolution. |\n| Theme | `modern` · `aqua` · `retro` · `terminal` | `data-a63-theme` | Material values: gloss, shadow, bevel, texture, blur. |\n| Brand | `auto` · `b1`–`b6` | `data-a63-brand` | Primary tonal ramp and focus color. |\n| Surface | `n1`–`n6` | `data-a63-surface` | Neutral surface palette. |\n| Surface tint | `0%`–`100%` | `--a63-surface-tint` | Continuous brand bend on semantic surfaces. |\n| Type scale | `compact` · `normal` · `comfortable` · `large` | `data-a63-type-scale` | Global typographic scale. |\n| Radius | `none` · `subtle` · `default` · `round` | `data-a63-radius` | Corner multiplier across the radius ramp. |\n| Font | `sans` · `serif` · `mono` · `pixel` | `data-a63-font` | Active type personality. |\n| Input | `touch` · `pointer` · `keyboard` | `data-a63-input` | Hit target ergonomics. |\n| Density | `compact` · `comfortable` | `data-a63-density` | Spacing rhythm and proportional control sizing. |\n| OS | `macos` · `windows` | `data-a63-os` | Shell chrome and platform framing. |\n| Icon theme | `realistic` · `color` · `neutral` · `primary` | `data-a63-icon-theme` | Icon rendering style (React-consumed). |\n\n`UIProvider` stamps design language, mode, theme, brand, input, density, and surface when those props are supplied. `applyPersonalization` / `PersonalizationController` stamps mode, theme, brand, surface, tint, type scale, radius, font, OS, and icon theme. Together they cover every live axis; neither stamper resets dimensions it does not own. The contract is attributes (or one scalar) in, tokens out.\n\nRuntime availability and implementation completeness answer different questions: an axis can be stampable while one of its owned token groups is still expanding. The live registry in `packages/ui-foundation/src/axes.ts` is the source of truth for that implementation metadata; public documentation describes the stable contract rather than duplicating the internal backlog.\n\n## Density\n\nDensity sets one number, the space unit (`--a63-space-unit`): 4px when comfortable, 3.5px when compact. The space steps, gaps, paddings, row padding and control heights are all built on it, so compact scales them once, by 0.875: a 32px control becomes 28px and a 16px gap 14px. Control heights and row padding round to whole pixels, so a 36px control becomes 32px rather than 31.5px. Text keeps its size; the type scale axis owns that.\n\nIt works the same on `<html>` and on a nested scope. Every token built on the unit is declared again on `[data-a63-density]`, so `<UIProvider density=\"compact\">` around one region recomputes them there, and a design-language or phone scope keeps its own height ramp at the compact unit.\n\nDensity is also a product choice, not only a user preference. Use compact for dense product screens, where rows of data are scanned and acted on: tables, inboxes, issue trackers, admin dashboards and file lists.\n\n```tsx\nimport { UIProvider } from '@atom63/ui-react'\n\n<UIProvider density=\"compact\">\n {/* the table, inbox or list */}\n</UIProvider>\n```\n\nFor a whole app, set `data-a63-density=\"compact\"` on `<html>`. `atom63 build` suggests it for these screens.\n\n## One semantic layer\n\nThe rule is deliberately small:\n\n> Axes set attributes. The cascade resolves `--a63-*`. Components read `--a63-*`.\n\nThat means no component writes `--primary`, `--background`, or raw `--surface-*` values inline to express personalization. Those names are either compatibility aliases or palette primitives; writing them directly freezes a value at the wrong layer.\n\n## Why surface tint is continuous\n\nBrand and surface are separate axes because color personality has two jobs: accent and neutrality. `data-a63-brand` chooses the accent ramp. `data-a63-surface` chooses the neutral family. `--a63-surface-tint` bends the semantic surfaces toward the brand hue without generating a bespoke palette for every tint value.\n\nThe implementation mixes a small set of semantic surface and border roles rather than every raw ramp stop. That is the practical tradeoff: fewer computed colors, more predictable UI, and enough expressiveness for product-level personalization.\n\n## Plate scopes: a palette from a picture\n\nAn art landing page or a portfolio project takes its palette from its main picture, the plate. `pnpm plate:palette <image> --id <plate-id> --out <file.css>` reads the plate in headless Chromium, picks three roles (the page tone from the calm area where the headline sits, `--safe-area top` by default; the deep ink on the far side of it; the most chromatic cluster as the accent), checks WCAG AA, and writes one stylesheet for `[data-a63-plate='<plate-id>']`. It moves the ink and the secondary text along lightness until they pass, and refuses, writing nothing, when the primary action on the page tone or the text on that action fails.\n\n```html\n<link rel=\"stylesheet\" href=\"/plates/plate-01.css\" />\n<main data-a63-plate=\"plate-01\" data-a63-brand=\"auto\">\n …\n <section data-a63-mode=\"dark\">the dark band: page tone and ink swap</section>\n</main>\n```\n\nThe stylesheet stays inside the semantic layer. It writes the accent's ramp to `--color-auto-50…950`, which `data-a63-brand=\"auto\"` maps onto the brand ramp, so the primary action and every role derived from the ramp recompute on the scope like any nested `[data-a63-brand]`. It overrides only `--a63-surface-page`, `--a63-text-primary` and `--a63-text-secondary`, keyed to the `--a63-if-light` / `--a63-if-dark` switch of the nearest mode scope, so a nested `[data-a63-mode=\"dark\"]` section takes the ink as its surface and the page tone as its text. Everything else (panels, borders, status colours) stays on the theme's neutrals. Set the mode the script suggests on the scope or an ancestor. A plate with no chromatic cluster keeps the theme brand; drop `data-a63-brand=\"auto\"` then.\n\n## OS is not a theme\n\nTheme is material character. OS is platform structure. I split them because \"Windows\" should not imply one permanent visual skin, and \"Terminal\" should not dictate where caption controls live.\n\nThis lets OS63 compose coordinates such as `theme=terminal` with `os=macos`, or `theme=aqua` with `os=windows`, without inventing new theme names.\n\nRadius, type scale, and font are also **not** theme — they are independent appearance axes so you can keep Aqua material while sharpening corners or enlarging type.\n\n## What this enables\n\n- A subtree can override one axis without resetting the others.\n- Theme work can happen in CSS without React conditionals.\n- Agents can reason from the axis table instead of guessing local conventions.\n- Public docs can explain the architecture at the same level the code enforces it.",
14195
14418
  "route": "/foundations/foundation-personalization",
14196
14419
  "slug": "foundation-personalization"
14197
14420
  },
@@ -14212,7 +14435,7 @@
14212
14435
  {
14213
14436
  "area": "foundations",
14214
14437
  "label": "Typography",
14215
- "markdown": "# Typography\n\nThe type system targets dense information interfaces rather than marketing pages. Body text starts at 15px—between compact 14px UI conventions and the browser's 16px default—to balance information density with sustained reading.\n\n## Design intent\n\nI wanted a scale that serves three very different surfaces from the same tokens: portfolio pages with expressive display type, documentation with dense readable prose, and app panels with compact controls. The solution is one responsive scale plus an independent `--typography-scale` multiplier that any subtree can adjust.\n\nThe shipped scale is deliberately not fluid. It uses viewport breakpoints for pages and `data-window-size` overrides for OS windows, so a constrained window can use its own size band even on a wide viewport. The separate `data-a63-type-scale` axis adjusts the whole ramp for user preference.\n\n## Font families\n\n| CSS variable | Tailwind | Stack |\n|--------------|----------|-------|\n| `--font-family-sans` | `font-sans` | Geist, system UI |\n| `--font-family-serif` | `font-serif` | Brawler, Georgia |\n| `--font-family-mono` | `font-mono` | Geist Mono, monospace |\n\nI chose Geist because it's optimized for interfaces — generous x-height, clear at small sizes, and a mono companion that shares the same metrics. Brawler is reserved for rare editorial moments in the portfolio; the system defaults to sans everywhere.\n\n## How the scale works\n\nSixteen steps from `2xs` (11px) to `11xl` (56px). Up to `9xl` (39px at mobile, 49px at `768px+`) the scale grows at `640px` and `768px`, and `[data-window-size='xs'|'sm'|'md'|'lg'|'xl']` applies the same bands inside OS windows; the two display steps, `10xl` (40px) and `11xl` (56px), stay the same at every width.\n\n## Mental model\n\nTypography has three separate jobs:\n\n| Job | What it controls | Examples |\n|-----|------------------|----------|\n| Reading | Long-form comfort | Prose, docs, descriptions |\n| Hierarchy | Relative importance | Page titles, section headers, labels |\n| Density | How much interface fits | Sidebars, tables, controls, OS windows |\n\nDo not solve all three with one heading scale. A docs page, a compact sidebar, and a portfolio hero need different hierarchy even when they share the same tokens.\n\n### Line-height strategy\n\nBody text (`xs` through `lg`) uses a ~1.5× ratio for comfortable reading. Display sizes (`xl` and above) compress to ~1.25× — tighter line-height at large sizes prevents headings from floating away from their content.\n\n### The scale multiplier\n\n`--typography-scale` defaults to `1`. The shipped `data-a63-type-scale` values map to `0.9` (`compact`), `1` (`normal`), `1.1` (`comfortable`), and `1.2` (`large`). OS window width is handled separately by `data-window-size`; the multiplier is a personalization control, not the window breakpoint mechanism.\n\n## Decisions worth knowing\n\n### 15px base, not 16px\n\nMost systems use 16px because browsers default to it. I chose 15px after testing information-dense layouts — docs tables, prop references, sidebar navigation. At 16px, content felt loose and wasted space. At 14px, extended reading got fatiguing. 15px is the sweet spot for my use cases: dense enough for tool interfaces, comfortable enough for documentation prose.\n\nText without a size class takes the body role too, not the browser's 16px. `@atom63/styles` sets `--a63-type-body-font-size` and `--a63-type-body-line-height` (15/23) on `body` and on a phone scope (17/22 there), and the `@atom63/ui-react` reset sets them on `Atom63Theme` and `UIProvider`. `html` keeps the browser size, so `1rem` stays 16px and every rem-based token is unchanged. Set a size class or a text role where text should be smaller, such as `text-sm` in a dense table.\n\n### Breakpoints over fluid\n\nFluid typography (`clamp()`) assumes the viewport is the right proxy for text size. In the OS metaphor, multiple windows have arbitrary widths on one screen. Breakpoint jumps plus `data-window-size` attributes let window content follow its container band instead of the outer viewport.\n\n### No heading-element-to-scale mapping in CSS\n\nI don't automatically map `h1` to `9xl` or `h2` to `8xl` in the base tokens. Different surfaces need different heading scales — a docs `h2` should be smaller than a portfolio `h2`. The MDX variants handle heading sizing per context, and the raw scale stays available for explicit use via `text-*` utilities.\n\n### Visual hierarchy and semantics are separate\n\nA semantic `h2` does not always need to look like the second-largest text on the page. The `SectionHeader` pattern follows this rule: `variant` controls visual scale, while `level` can control document outline. That keeps accessibility and visual rhythm from fighting each other.\n\n## Text roles\n\nText roles name what text is for, after the Apple HIG text styles, so one intent works on every platform. Each role picks a step of the scale on the web and a `Font.TextStyle` (with Dynamic Type) on iOS. The source is `packages/styles/src/tokens/type-roles.resolver.json`; each role has `--a63-type-<role>-font-size`, `-line-height`, `-font-weight` and `-font-weight-strong`, and the Tailwind utilities `text-<role>` and `text-<role>-strong` set all three at once.\n\n| Role | Web step | iOS text style |\n|------|----------|----------------|\n| `display-large` | `11xl`, weight 600 | 56pt, scaled like `largeTitle` |\n| `display` | `10xl`, weight 600 | 40pt, scaled like `largeTitle` |\n| `large-title` | `6xl` | `largeTitle` |\n| `title-1` | `5xl` | `title` |\n| `title-2` | `3xl` | `title2` |\n| `title-3` | `2xl` | `title3` |\n| `headline` | `base`, weight 600 | `headline` |\n| `body` | `base` | `body` |\n| `callout` | `base` | `callout` |\n| `subhead` | `sm` | `subheadline` |\n| `footnote` | `xs` | `footnote` |\n| `caption-1` | `xs` | `caption` |\n| `caption-2` | `2xs` | `caption2` |\n\n`-strong` is the emphasized weight: bold for the display roles, `large-title`, `title-1` and `title-2`, semibold for the rest. The display roles are for balances, prices and hero headlines; iOS has no larger text style, so `AtomDisplayRole` draws them at the web size and scales it with Dynamic Type like `largeTitle`. For an amount such as `$13.25`, use `Amount` from `@atom63/ui-react` (`<Amount value={13.25} currency=\"USD\" />`, `size=\"lg\"` for `display-large`): it formats the value for the locale with `Intl.NumberFormat`, draws the fraction at half size and raised with tabular figures, and reads as one label. `fraction=\"baseline\"` keeps the half-size fraction on the baseline of the integer digits instead, as some banking apps draw a balance; `raised` is the default. Without the component, put the whole number in one `text-display tabular-nums` span and wrap the fraction in `amount-fraction`, which sets it at half size and raises it, or in `amount-fraction-baseline`, which sets it at half size on the baseline. On iOS, `AtomAmountText(13.25, currencyCode: \"USD\", role: .display)` formats the amount for the locale, draws the fraction the same way with monospaced digits and reads as one VoiceOver label, and `fraction: .baseline` keeps it on the baseline; `.atomDisplayFont()` sets a display role on any other text. Web sizes follow web conventions (body is 15px; iOS body is 17pt); the role is what stays the same. Size steps are fine while exploring; settled UI should use roles.\n\n## Phone screens\n\nThe web scale is set for pages and desktop apps: body is 15px and compact control labels are 12–13px. A phone app screen reads at the iOS sizes instead, so `[data-a63-form-factor=\"phone\"]` gives a subtree the type steps and control sizing of a phone. `AppView layout=\"phone\"` (from `@atom63/ui-react/layout`) stamps it on the screen; stamp it yourself on the root of a phone-only web app. Viewport width does not apply it, so a docs page or a marketing page on a phone keeps the web sizes.\n\n| Role | Web, under 640px | Phone (`data-a63-form-factor=\"phone\"`) | iOS text style |\n|------|------------------|-----------------------------------------|----------------|\n| `body`, `headline`, `callout` | 15px | 17px | `body` 17pt |\n| `subhead` | 13px | 15px | `subheadline` 15pt |\n| `footnote`, `caption-1` | 12px | 13px | `footnote` 13pt |\n| `caption-2` | 11px | 11px | `caption2` 11pt |\n| `title-3` | 19px | 20px | `title3` 20pt |\n| `title-2` | 21px | 22px | `title2` 22pt |\n| `title-1` | 26px | 28px | `title` 28pt |\n| `large-title` | 28px | 34px | `largeTitle` 34pt |\n| `display`, `display-large` | 40px, 56px | 40px, 56px | `AtomDisplayRole` |\n\nThe scope sets the steps themselves (`text-sm` is 15px and `text-base` 17px inside it), redeclares the text roles, and sizes controls the iOS way: heights of 36, 40, 44, 48 and 52px, and every standard control label (buttons, rows, fields, menus) at body size, with `xs` at footnote size for badges, shortcuts and initials. A Switch takes the iOS 26 shape: a pill knob 1.6 times as wide as it is tall (`--a63-switch-thumb-aspect`) on a track of about 63 by 28px. A grouped list (`ItemGroup variant=\"inset\"`) takes the iOS 26 Settings rows: its default and `sm` rows, static or interactive, are at least 52px tall (`--a63-inset-row-min-size`), so a 17px label sits in about 15px of space above and below, and the card has the `2xl` corner, 18px at defaults (`--a63-inset-group-radius`). Outside the phone scope neither variable is declared, and the group keeps its control-height rows and `--radius-lg` corner. The secondary line under a title or label (an Item, Field or Form description, a Frame or ConnectedPanel description) reads `--a63-control-font-size-secondary`, which the phone scope sets to subhead size (15px) so it stays below its 17px title; elsewhere it falls back to the control `sm` size. The type scale preference still multiplies the phone steps. Inside a phone screen, keep rows and labels on the component defaults or the text roles; shrinking them with `text-sm` or `text-xs` brings back the desktop sizes.\n\n## Usage guidance\n\n| Surface | Typical range | Scale multiplier |\n|---------|---------------|------------------|\n| Portfolio hero | `4xl`–`9xl` | Usually `normal`; user preference still applies |\n| Documentation prose | `sm`–`xl` | `1` |\n| App panels / OS windows | `xs`–`lg` | Window-size band + active type-scale axis |\n| Code blocks | `sm` mono | `1` |\n\n## Anti-patterns\n\n```tsx\n// Avoid: viewport-sized type inside a constrained panel.\n<aside className=\"w-80\">\n <h2 className=\"text-5xl\">Settings</h2>\n</aside>\n```\n\nThe panel is narrow even if the viewport is wide. The text should respond to the container's role, not the browser width.\n\n```tsx\n// Prefer: choose a scale for the surface.\n<aside className=\"w-80\">\n <h2 className=\"text-lg font-semibold\">Settings</h2>\n</aside>\n```\n\n## Review checklist\n\nWhen reviewing typography, ask:\n\n1. Is this text sized for its container, not only the viewport?\n2. Does the hierarchy still work if the content wraps?\n3. Is the line-height comfortable for the amount of reading?\n4. Are semantic heading levels valid independent of visual size?\n5. Is display type reserved for display moments?",
14438
+ "markdown": "# Typography\n\nThe type system targets dense information interfaces rather than marketing pages. Body text starts at 15px—between compact 14px UI conventions and the browser's 16px default—to balance information density with sustained reading.\n\n## Design intent\n\nI wanted a scale that serves three very different surfaces from the same tokens: portfolio pages with expressive display type, documentation with dense readable prose, and app panels with compact controls. The solution is one responsive scale plus an independent `--typography-scale` multiplier that any subtree can adjust.\n\nThe shipped scale is deliberately not fluid. It uses viewport breakpoints for pages and `data-window-size` overrides for OS windows, so a constrained window can use its own size band even on a wide viewport. The separate `data-a63-type-scale` axis adjusts the whole ramp for user preference.\n\n## Font families\n\n| CSS variable | Tailwind | Stack |\n|--------------|----------|-------|\n| `--font-family-sans` | `font-sans` | Geist, system UI |\n| `--font-family-serif` | `font-serif` | Brawler, Georgia |\n| `--font-family-mono` | `font-mono` | Geist Mono, monospace |\n\nI chose Geist because it's optimized for interfaces — generous x-height, clear at small sizes, and a mono companion that shares the same metrics. Brawler is reserved for rare editorial moments in the portfolio; the system defaults to sans everywhere.\n\n## How the scale works\n\nSixteen steps from `2xs` (11px) to `11xl` (56px). Up to `9xl` (39px at mobile, 49px at `768px+`) the scale grows at `640px` and `768px`, and `[data-window-size='xs'|'sm'|'md'|'lg'|'xl']` applies the same bands inside OS windows; the two display steps, `10xl` (40px) and `11xl` (56px), stay the same at every width.\n\n## Mental model\n\nTypography has three separate jobs:\n\n| Job | What it controls | Examples |\n|-----|------------------|----------|\n| Reading | Long-form comfort | Prose, docs, descriptions |\n| Hierarchy | Relative importance | Page titles, section headers, labels |\n| Density | How much interface fits | Sidebars, tables, controls, OS windows |\n\nDo not solve all three with one heading scale. A docs page, a compact sidebar, and a portfolio hero need different hierarchy even when they share the same tokens.\n\n### Line-height strategy\n\nBody text (`xs` through `lg`) uses a ~1.5× ratio for comfortable reading. Display sizes (`xl` and above) compress to ~1.25× — tighter line-height at large sizes prevents headings from floating away from their content.\n\n### The scale multiplier\n\n`--typography-scale` defaults to `1`. The shipped `data-a63-type-scale` values map to `0.9` (`compact`), `1` (`normal`), `1.1` (`comfortable`), and `1.2` (`large`). OS window width is handled separately by `data-window-size`; the multiplier is a personalization control, not the window breakpoint mechanism.\n\n## Decisions worth knowing\n\n### 15px base, not 16px\n\nMost systems use 16px because browsers default to it. I chose 15px after testing information-dense layouts — docs tables, prop references, sidebar navigation. At 16px, content felt loose and wasted space. At 14px, extended reading got fatiguing. 15px is the sweet spot for my use cases: dense enough for tool interfaces, comfortable enough for documentation prose.\n\nText without a size class takes the body role too, not the browser's 16px. `@atom63/styles` sets `--a63-type-body-font-size` and `--a63-type-body-line-height` (15/23) on `body` and on a phone scope (17/22 there), and the `@atom63/ui-react` reset sets them on `Atom63Theme` and `UIProvider`. `html` keeps the browser size, so `1rem` stays 16px and every rem-based token is unchanged. Set a size class or a text role where text should be smaller, such as `text-sm` in a dense table.\n\n### Breakpoints over fluid\n\nFluid typography (`clamp()`) assumes the viewport is the right proxy for text size. In the OS metaphor, multiple windows have arbitrary widths on one screen. Breakpoint jumps plus `data-window-size` attributes let window content follow its container band instead of the outer viewport.\n\n### No heading-element-to-scale mapping in CSS\n\nI don't automatically map `h1` to `9xl` or `h2` to `8xl` in the base tokens. Different surfaces need different heading scales — a docs `h2` should be smaller than a portfolio `h2`. The MDX variants handle heading sizing per context, and the raw scale stays available for explicit use via `text-*` utilities.\n\n### Visual hierarchy and semantics are separate\n\nA semantic `h2` does not always need to look like the second-largest text on the page. The `SectionHeader` pattern follows this rule: `variant` controls visual scale, while `level` can control document outline. That keeps accessibility and visual rhythm from fighting each other.\n\n## Text roles\n\nText roles name what text is for, after the Apple HIG text styles, so one intent works on every platform. Each role picks a step of the scale on the web and a `Font.TextStyle` (with Dynamic Type) on iOS. The source is `packages/styles/src/tokens/type-roles.resolver.json`; each role has `--a63-type-<role>-font-size`, `-line-height`, `-font-weight` and `-font-weight-strong`, and the Tailwind utilities `text-<role>` and `text-<role>-strong` set all three at once.\n\n| Role | Web step | iOS text style |\n|------|----------|----------------|\n| `display-hero` | fluid, `10xl` (40px) to 72px, weight 600 | none (web only; iOS uses `display-large`) |\n| `display-large` | `11xl`, weight 600 | 56pt, scaled like `largeTitle` |\n| `display` | `10xl`, weight 600 | 40pt, scaled like `largeTitle` |\n| `large-title` | `6xl` | `largeTitle` |\n| `title-1` | `5xl` | `title` |\n| `title-2` | `3xl` | `title2` |\n| `title-3` | `2xl` | `title3` |\n| `headline` | `base`, weight 600 | `headline` |\n| `body` | `base` | `body` |\n| `callout` | `base` | `callout` |\n| `subhead` | `sm` | `subheadline` |\n| `footnote` | `xs` | `footnote` |\n| `caption-1` | `xs` | `caption` |\n| `caption-2` | `2xs` | `caption2` |\n\n`-strong` is the emphasized weight: bold for the display roles, `large-title`, `title-1` and `title-2`, semibold for the rest. The display roles are for balances, prices and hero headlines; iOS has no larger text style, so `AtomDisplayRole` draws them at the web size and scales it with Dynamic Type like `largeTitle`. For an amount such as `$13.25`, use `Amount` from `@atom63/ui-react` (`<Amount value={13.25} currency=\"USD\" />`, `size=\"lg\"` for `display-large`): it formats the value for the locale with `Intl.NumberFormat`, draws the fraction at half size and raised with tabular figures, and reads as one label. `fraction=\"baseline\"` keeps the half-size fraction on the baseline of the integer digits instead, as some banking apps draw a balance; `raised` is the default. Without the component, put the whole number in one `text-display tabular-nums` span and wrap the fraction in `amount-fraction`, which sets it at half size and raises it, or in `amount-fraction-baseline`, which sets it at half size on the baseline. On iOS, `AtomAmountText(13.25, currencyCode: \"USD\", role: .display)` formats the amount for the locale, draws the fraction the same way with monospaced digits and reads as one VoiceOver label, and `fraction: .baseline` keeps it on the baseline; `.atomDisplayFont()` sets a display role on any other text. Web sizes follow web conventions (body is 15px; iOS body is 17pt); the role is what stays the same. Size steps are fine while exploring; settled UI should use roles.\n\n`display-hero` is for one marketing headline per page, such as a landing hero over an `ArtPlate`. It grows with the viewport from the `10xl` step on phones to 72px on wide screens (`clamp()`), with a line height of 1.05 times its size. The three display roles also carry `--a63-type-<role>-letter-spacing` (−0.03em for `display`, −0.04em for `display-large`, −0.045em for `display-hero`); set it with `letter-spacing` where the role is used, since the `text-<role>` utilities do not include it. Headlines take their face from `--a63-font-display`, which defaults to `--a63-font-app`; set it to `var(--font-family-serif)` on a page or a section for serif headlines over sans UI, and loosen the tracking towards −0.025em for the serif.\n\n## Phone screens\n\nThe web scale is set for pages and desktop apps: body is 15px and compact control labels are 12–13px. A phone app screen reads at the iOS sizes instead, so `[data-a63-form-factor=\"phone\"]` gives a subtree the type steps and control sizing of a phone. `AppView layout=\"phone\"` (from `@atom63/ui-react/layout`) stamps it on the screen; stamp it yourself on the root of a phone-only web app. Viewport width does not apply it, so a docs page or a marketing page on a phone keeps the web sizes.\n\n| Role | Web, under 640px | Phone (`data-a63-form-factor=\"phone\"`) | iOS text style |\n|------|------------------|-----------------------------------------|----------------|\n| `body`, `headline`, `callout` | 15px | 17px | `body` 17pt |\n| `subhead` | 13px | 15px | `subheadline` 15pt |\n| `footnote`, `caption-1` | 12px | 13px | `footnote` 13pt |\n| `caption-2` | 11px | 11px | `caption2` 11pt |\n| `title-3` | 19px | 20px | `title3` 20pt |\n| `title-2` | 21px | 22px | `title2` 22pt |\n| `title-1` | 26px | 28px | `title` 28pt |\n| `large-title` | 28px | 34px | `largeTitle` 34pt |\n| `display`, `display-large` | 40px, 56px | 40px, 56px | `AtomDisplayRole` |\n\nThe scope sets the steps themselves (`text-sm` is 15px and `text-base` 17px inside it), redeclares the text roles, and sizes controls the iOS way: heights of 36, 40, 44, 48 and 52px, and every standard control label (buttons, rows, fields, menus) at body size, with `xs` at footnote size for badges, shortcuts and initials. A Switch takes the iOS 26 shape: a pill knob 1.6 times as wide as it is tall (`--a63-switch-thumb-aspect`) on a track of about 63 by 28px. A grouped list (`ItemGroup variant=\"inset\"`) takes the iOS 26 Settings rows: its default and `sm` rows, static or interactive, are at least 52px tall (`--a63-inset-row-min-size`), so a 17px label sits in about 15px of space above and below, and the card has the `2xl` corner, 18px at defaults (`--a63-inset-group-radius`). Outside the phone scope neither variable is declared, and the group keeps its control-height rows and `--radius-lg` corner. The secondary line under a title or label (an Item, Field or Form description, a Frame or ConnectedPanel description) reads `--a63-control-font-size-secondary`, which the phone scope sets to subhead size (15px) so it stays below its 17px title; elsewhere it falls back to the control `sm` size. The type scale preference still multiplies the phone steps. Inside a phone screen, keep rows and labels on the component defaults or the text roles; shrinking them with `text-sm` or `text-xs` brings back the desktop sizes.\n\n## Usage guidance\n\n| Surface | Typical range | Scale multiplier |\n|---------|---------------|------------------|\n| Portfolio hero | `4xl`–`9xl` | Usually `normal`; user preference still applies |\n| Documentation prose | `sm`–`xl` | `1` |\n| App panels / OS windows | `xs`–`lg` | Window-size band + active type-scale axis |\n| Code blocks | `sm` mono | `1` |\n\n## Anti-patterns\n\n```tsx\n// Avoid: viewport-sized type inside a constrained panel.\n<aside className=\"w-80\">\n <h2 className=\"text-5xl\">Settings</h2>\n</aside>\n```\n\nThe panel is narrow even if the viewport is wide. The text should respond to the container's role, not the browser width.\n\n```tsx\n// Prefer: choose a scale for the surface.\n<aside className=\"w-80\">\n <h2 className=\"text-lg font-semibold\">Settings</h2>\n</aside>\n```\n\n## Review checklist\n\nWhen reviewing typography, ask:\n\n1. Is this text sized for its container, not only the viewport?\n2. Does the hierarchy still work if the content wraps?\n3. Is the line-height comfortable for the amount of reading?\n4. Are semantic heading levels valid independent of visual size?\n5. Is display type reserved for display moments?",
14216
14439
  "route": "/foundations/foundation-typography",
14217
14440
  "slug": "foundation-typography"
14218
14441
  },
@@ -15230,6 +15453,10 @@
15230
15453
  {
15231
15454
  "scope": ":root, .light, [data-a63-mode='light']",
15232
15455
  "value": "var(--color-danger-600)"
15456
+ },
15457
+ {
15458
+ "scope": "[data-a63-brand], [data-a63-surface]",
15459
+ "value": "var(--color-danger-600)"
15233
15460
  }
15234
15461
  ]
15235
15462
  },
@@ -15246,6 +15473,10 @@
15246
15473
  {
15247
15474
  "scope": ":root, .light, [data-a63-mode='light']",
15248
15475
  "value": "white"
15476
+ },
15477
+ {
15478
+ "scope": "[data-a63-brand], [data-a63-surface]",
15479
+ "value": "white"
15249
15480
  }
15250
15481
  ]
15251
15482
  },
@@ -15266,6 +15497,10 @@
15266
15497
  {
15267
15498
  "scope": ":root, .light, [data-a63-mode='light']",
15268
15499
  "value": "color-mix(in oklch, var(--a63-action-danger) 90%, transparent)"
15500
+ },
15501
+ {
15502
+ "scope": "[data-a63-brand], [data-a63-surface]",
15503
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-danger) 90%, transparent) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-danger) 82%, white 8%))"
15269
15504
  }
15270
15505
  ]
15271
15506
  },
@@ -15286,6 +15521,10 @@
15286
15521
  {
15287
15522
  "scope": ":root, .light, [data-a63-mode='light']",
15288
15523
  "value": "color-mix(in oklab, var(--a63-action-danger) 14%, transparent)"
15524
+ },
15525
+ {
15526
+ "scope": "[data-a63-brand], [data-a63-surface]",
15527
+ "value": "color-mix(in oklab, var(--a63-action-danger) 14%, transparent)"
15289
15528
  }
15290
15529
  ]
15291
15530
  },
@@ -15306,6 +15545,10 @@
15306
15545
  {
15307
15546
  "scope": ":root, .light, [data-a63-mode='light']",
15308
15547
  "value": "var(--color-danger-700)"
15548
+ },
15549
+ {
15550
+ "scope": "[data-a63-brand], [data-a63-surface]",
15551
+ "value": "var(--a63-if-light, var(--color-danger-700)) var(--a63-if-dark, var(--color-danger-400))"
15309
15552
  }
15310
15553
  ]
15311
15554
  },
@@ -15326,6 +15569,10 @@
15326
15569
  {
15327
15570
  "scope": ":root, .light, [data-a63-mode='light']",
15328
15571
  "value": "var(--a63-surface-muted)"
15572
+ },
15573
+ {
15574
+ "scope": "[data-a63-brand], [data-a63-surface]",
15575
+ "value": "var(--a63-surface-muted)"
15329
15576
  }
15330
15577
  ]
15331
15578
  },
@@ -15346,6 +15593,10 @@
15346
15593
  {
15347
15594
  "scope": ":root, .light, [data-a63-mode='light']",
15348
15595
  "value": "var(--a63-border-subtle)"
15596
+ },
15597
+ {
15598
+ "scope": "[data-a63-brand], [data-a63-surface]",
15599
+ "value": "var(--a63-border-subtle)"
15349
15600
  }
15350
15601
  ]
15351
15602
  },
@@ -15366,6 +15617,10 @@
15366
15617
  {
15367
15618
  "scope": ":root, .light, [data-a63-mode='light']",
15368
15619
  "value": "var(--surface-light-9)"
15620
+ },
15621
+ {
15622
+ "scope": "[data-a63-brand], [data-a63-surface]",
15623
+ "value": "var(--a63-if-light, var(--surface-light-9)) var(--a63-if-dark, var(--surface-dark-9))"
15369
15624
  }
15370
15625
  ]
15371
15626
  },
@@ -15403,6 +15658,10 @@
15403
15658
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
15404
15659
  "value": "color-mix( in oklab, var(--surface-dark-3) 86%, var(--a63-action-primary) 14% )"
15405
15660
  },
15661
+ {
15662
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
15663
+ "value": "var(--a63-if-light, color-mix(in oklab, var(--surface-light-3) 60%, white)) var( --a63-if-dark, color-mix(in oklab, var(--surface-dark-3) 86%, var(--a63-action-primary) 14%) )"
15664
+ },
15406
15665
  {
15407
15666
  "scope": ":is(.dark, [data-a63-mode='dark'])",
15408
15667
  "value": "var(--surface-dark-12)"
@@ -15410,6 +15669,10 @@
15410
15669
  {
15411
15670
  "scope": ":root, .light, [data-a63-mode='light']",
15412
15671
  "value": "var(--surface-light-12)"
15672
+ },
15673
+ {
15674
+ "scope": "[data-a63-brand], [data-a63-surface]",
15675
+ "value": "var(--a63-if-light, var(--surface-light-12)) var(--a63-if-dark, var(--surface-dark-12))"
15413
15676
  }
15414
15677
  ]
15415
15678
  },
@@ -15431,6 +15694,10 @@
15431
15694
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
15432
15695
  "value": "var(--a63-text-accent)"
15433
15696
  },
15697
+ {
15698
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
15699
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--a63-action-primary) 80%, var(--surface-light-12)) ) var(--a63-if-dark, var(--a63-text-accent))"
15700
+ },
15434
15701
  {
15435
15702
  "scope": ":is(.dark, [data-a63-mode='dark'])",
15436
15703
  "value": "var(--surface-dark-1)"
@@ -15438,6 +15705,10 @@
15438
15705
  {
15439
15706
  "scope": ":root, .light, [data-a63-mode='light']",
15440
15707
  "value": "var(--surface-light-2)"
15708
+ },
15709
+ {
15710
+ "scope": "[data-a63-brand], [data-a63-surface]",
15711
+ "value": "var(--a63-if-light, var(--surface-light-2)) var(--a63-if-dark, var(--surface-dark-1))"
15441
15712
  }
15442
15713
  ]
15443
15714
  },
@@ -15530,6 +15801,10 @@
15530
15801
  {
15531
15802
  "scope": ":root, .light, [data-a63-mode='light']",
15532
15803
  "value": "transparent"
15804
+ },
15805
+ {
15806
+ "scope": "[data-a63-brand], [data-a63-surface]",
15807
+ "value": "var(--a63-if-light, transparent) var(--a63-if-dark, color-mix(in oklab, var(--a63-surface-control) 32%, transparent))"
15533
15808
  }
15534
15809
  ]
15535
15810
  },
@@ -15582,6 +15857,10 @@
15582
15857
  {
15583
15858
  "scope": ":root, .light, [data-a63-mode='light']",
15584
15859
  "value": "var(--a63-category-amber)"
15860
+ },
15861
+ {
15862
+ "scope": "[data-a63-brand], [data-a63-surface]",
15863
+ "value": "var(--a63-category-amber)"
15585
15864
  }
15586
15865
  ]
15587
15866
  },
@@ -15602,6 +15881,10 @@
15602
15881
  {
15603
15882
  "scope": ":root, .light, [data-a63-mode='light']",
15604
15883
  "value": "var(--a63-category-amber-subtle-foreground)"
15884
+ },
15885
+ {
15886
+ "scope": "[data-a63-brand], [data-a63-surface]",
15887
+ "value": "var(--a63-category-amber-subtle-foreground)"
15605
15888
  }
15606
15889
  ]
15607
15890
  },
@@ -15622,6 +15905,10 @@
15622
15905
  {
15623
15906
  "scope": ":root, .light, [data-a63-mode='light']",
15624
15907
  "value": "var(--a63-category-blue)"
15908
+ },
15909
+ {
15910
+ "scope": "[data-a63-brand], [data-a63-surface]",
15911
+ "value": "var(--a63-category-blue)"
15625
15912
  }
15626
15913
  ]
15627
15914
  },
@@ -15642,6 +15929,10 @@
15642
15929
  {
15643
15930
  "scope": ":root, .light, [data-a63-mode='light']",
15644
15931
  "value": "var(--a63-category-blue-subtle-foreground)"
15932
+ },
15933
+ {
15934
+ "scope": "[data-a63-brand], [data-a63-surface]",
15935
+ "value": "var(--a63-category-blue-subtle-foreground)"
15645
15936
  }
15646
15937
  ]
15647
15938
  },
@@ -15662,6 +15953,10 @@
15662
15953
  {
15663
15954
  "scope": ":root, .light, [data-a63-mode='light']",
15664
15955
  "value": "var(--a63-category-cyan)"
15956
+ },
15957
+ {
15958
+ "scope": "[data-a63-brand], [data-a63-surface]",
15959
+ "value": "var(--a63-category-cyan)"
15665
15960
  }
15666
15961
  ]
15667
15962
  },
@@ -15682,6 +15977,10 @@
15682
15977
  {
15683
15978
  "scope": ":root, .light, [data-a63-mode='light']",
15684
15979
  "value": "var(--a63-category-cyan-subtle-foreground)"
15980
+ },
15981
+ {
15982
+ "scope": "[data-a63-brand], [data-a63-surface]",
15983
+ "value": "var(--a63-category-cyan-subtle-foreground)"
15685
15984
  }
15686
15985
  ]
15687
15986
  },
@@ -15702,6 +16001,10 @@
15702
16001
  {
15703
16002
  "scope": ":root, .light, [data-a63-mode='light']",
15704
16003
  "value": "var(--a63-category-emerald)"
16004
+ },
16005
+ {
16006
+ "scope": "[data-a63-brand], [data-a63-surface]",
16007
+ "value": "var(--a63-category-emerald)"
15705
16008
  }
15706
16009
  ]
15707
16010
  },
@@ -15722,6 +16025,10 @@
15722
16025
  {
15723
16026
  "scope": ":root, .light, [data-a63-mode='light']",
15724
16027
  "value": "var(--a63-category-emerald-subtle-foreground)"
16028
+ },
16029
+ {
16030
+ "scope": "[data-a63-brand], [data-a63-surface]",
16031
+ "value": "var(--a63-category-emerald-subtle-foreground)"
15725
16032
  }
15726
16033
  ]
15727
16034
  },
@@ -15742,6 +16049,10 @@
15742
16049
  {
15743
16050
  "scope": ":root, .light, [data-a63-mode='light']",
15744
16051
  "value": "var(--a63-action-danger-subtle-foreground)"
16052
+ },
16053
+ {
16054
+ "scope": "[data-a63-brand], [data-a63-surface]",
16055
+ "value": "var(--a63-action-danger-subtle-foreground)"
15745
16056
  }
15746
16057
  ]
15747
16058
  },
@@ -15762,6 +16073,10 @@
15762
16073
  {
15763
16074
  "scope": ":root, .light, [data-a63-mode='light']",
15764
16075
  "value": "var(--a63-category-fuchsia)"
16076
+ },
16077
+ {
16078
+ "scope": "[data-a63-brand], [data-a63-surface]",
16079
+ "value": "var(--a63-category-fuchsia)"
15765
16080
  }
15766
16081
  ]
15767
16082
  },
@@ -15782,6 +16097,10 @@
15782
16097
  {
15783
16098
  "scope": ":root, .light, [data-a63-mode='light']",
15784
16099
  "value": "var(--a63-category-fuchsia-subtle-foreground)"
16100
+ },
16101
+ {
16102
+ "scope": "[data-a63-brand], [data-a63-surface]",
16103
+ "value": "var(--a63-category-fuchsia-subtle-foreground)"
15785
16104
  }
15786
16105
  ]
15787
16106
  },
@@ -15802,6 +16121,10 @@
15802
16121
  {
15803
16122
  "scope": ":root, .light, [data-a63-mode='light']",
15804
16123
  "value": "var(--a63-category-green)"
16124
+ },
16125
+ {
16126
+ "scope": "[data-a63-brand], [data-a63-surface]",
16127
+ "value": "var(--a63-category-green)"
15805
16128
  }
15806
16129
  ]
15807
16130
  },
@@ -15822,6 +16145,10 @@
15822
16145
  {
15823
16146
  "scope": ":root, .light, [data-a63-mode='light']",
15824
16147
  "value": "var(--a63-category-green-subtle-foreground)"
16148
+ },
16149
+ {
16150
+ "scope": "[data-a63-brand], [data-a63-surface]",
16151
+ "value": "var(--a63-category-green-subtle-foreground)"
15825
16152
  }
15826
16153
  ]
15827
16154
  },
@@ -15842,6 +16169,10 @@
15842
16169
  {
15843
16170
  "scope": ":root, .light, [data-a63-mode='light']",
15844
16171
  "value": "var(--a63-category-indigo)"
16172
+ },
16173
+ {
16174
+ "scope": "[data-a63-brand], [data-a63-surface]",
16175
+ "value": "var(--a63-category-indigo)"
15845
16176
  }
15846
16177
  ]
15847
16178
  },
@@ -15862,6 +16193,10 @@
15862
16193
  {
15863
16194
  "scope": ":root, .light, [data-a63-mode='light']",
15864
16195
  "value": "var(--a63-category-indigo-subtle-foreground)"
16196
+ },
16197
+ {
16198
+ "scope": "[data-a63-brand], [data-a63-surface]",
16199
+ "value": "var(--a63-category-indigo-subtle-foreground)"
15865
16200
  }
15866
16201
  ]
15867
16202
  },
@@ -15882,6 +16217,10 @@
15882
16217
  {
15883
16218
  "scope": ":root, .light, [data-a63-mode='light']",
15884
16219
  "value": "var(--a63-status-info-subtle-foreground)"
16220
+ },
16221
+ {
16222
+ "scope": "[data-a63-brand], [data-a63-surface]",
16223
+ "value": "var(--a63-status-info-subtle-foreground)"
15885
16224
  }
15886
16225
  ]
15887
16226
  },
@@ -15902,6 +16241,10 @@
15902
16241
  {
15903
16242
  "scope": ":root, .light, [data-a63-mode='light']",
15904
16243
  "value": "var(--a63-category-lime)"
16244
+ },
16245
+ {
16246
+ "scope": "[data-a63-brand], [data-a63-surface]",
16247
+ "value": "var(--a63-category-lime)"
15905
16248
  }
15906
16249
  ]
15907
16250
  },
@@ -15922,6 +16265,10 @@
15922
16265
  {
15923
16266
  "scope": ":root, .light, [data-a63-mode='light']",
15924
16267
  "value": "var(--a63-category-lime-subtle-foreground)"
16268
+ },
16269
+ {
16270
+ "scope": "[data-a63-brand], [data-a63-surface]",
16271
+ "value": "var(--a63-category-lime-subtle-foreground)"
15925
16272
  }
15926
16273
  ]
15927
16274
  },
@@ -15942,6 +16289,10 @@
15942
16289
  {
15943
16290
  "scope": ":root, .light, [data-a63-mode='light']",
15944
16291
  "value": "var(--a63-category-neutral)"
16292
+ },
16293
+ {
16294
+ "scope": "[data-a63-brand], [data-a63-surface]",
16295
+ "value": "var(--a63-category-neutral)"
15945
16296
  }
15946
16297
  ]
15947
16298
  },
@@ -15962,6 +16313,10 @@
15962
16313
  {
15963
16314
  "scope": ":root, .light, [data-a63-mode='light']",
15964
16315
  "value": "var(--a63-category-neutral-subtle-foreground)"
16316
+ },
16317
+ {
16318
+ "scope": "[data-a63-brand], [data-a63-surface]",
16319
+ "value": "var(--a63-category-neutral-subtle-foreground)"
15965
16320
  }
15966
16321
  ]
15967
16322
  },
@@ -15982,6 +16337,10 @@
15982
16337
  {
15983
16338
  "scope": ":root, .light, [data-a63-mode='light']",
15984
16339
  "value": "var(--a63-category-orange)"
16340
+ },
16341
+ {
16342
+ "scope": "[data-a63-brand], [data-a63-surface]",
16343
+ "value": "var(--a63-category-orange)"
15985
16344
  }
15986
16345
  ]
15987
16346
  },
@@ -16002,6 +16361,10 @@
16002
16361
  {
16003
16362
  "scope": ":root, .light, [data-a63-mode='light']",
16004
16363
  "value": "var(--a63-category-orange-subtle-foreground)"
16364
+ },
16365
+ {
16366
+ "scope": "[data-a63-brand], [data-a63-surface]",
16367
+ "value": "var(--a63-category-orange-subtle-foreground)"
16005
16368
  }
16006
16369
  ]
16007
16370
  },
@@ -16022,6 +16385,10 @@
16022
16385
  {
16023
16386
  "scope": ":root, .light, [data-a63-mode='light']",
16024
16387
  "value": "var(--a63-category-pink)"
16388
+ },
16389
+ {
16390
+ "scope": "[data-a63-brand], [data-a63-surface]",
16391
+ "value": "var(--a63-category-pink)"
16025
16392
  }
16026
16393
  ]
16027
16394
  },
@@ -16042,6 +16409,10 @@
16042
16409
  {
16043
16410
  "scope": ":root, .light, [data-a63-mode='light']",
16044
16411
  "value": "var(--a63-category-pink-subtle-foreground)"
16412
+ },
16413
+ {
16414
+ "scope": "[data-a63-brand], [data-a63-surface]",
16415
+ "value": "var(--a63-category-pink-subtle-foreground)"
16045
16416
  }
16046
16417
  ]
16047
16418
  },
@@ -16062,6 +16433,10 @@
16062
16433
  {
16063
16434
  "scope": ":root, .light, [data-a63-mode='light']",
16064
16435
  "value": "var(--a63-category-purple)"
16436
+ },
16437
+ {
16438
+ "scope": "[data-a63-brand], [data-a63-surface]",
16439
+ "value": "var(--a63-category-purple)"
16065
16440
  }
16066
16441
  ]
16067
16442
  },
@@ -16082,6 +16457,10 @@
16082
16457
  {
16083
16458
  "scope": ":root, .light, [data-a63-mode='light']",
16084
16459
  "value": "var(--a63-category-purple-subtle-foreground)"
16460
+ },
16461
+ {
16462
+ "scope": "[data-a63-brand], [data-a63-surface]",
16463
+ "value": "var(--a63-category-purple-subtle-foreground)"
16085
16464
  }
16086
16465
  ]
16087
16466
  },
@@ -16102,6 +16481,10 @@
16102
16481
  {
16103
16482
  "scope": ":root, .light, [data-a63-mode='light']",
16104
16483
  "value": "var(--a63-category-red)"
16484
+ },
16485
+ {
16486
+ "scope": "[data-a63-brand], [data-a63-surface]",
16487
+ "value": "var(--a63-category-red)"
16105
16488
  }
16106
16489
  ]
16107
16490
  },
@@ -16122,6 +16505,10 @@
16122
16505
  {
16123
16506
  "scope": ":root, .light, [data-a63-mode='light']",
16124
16507
  "value": "var(--a63-category-red-subtle-foreground)"
16508
+ },
16509
+ {
16510
+ "scope": "[data-a63-brand], [data-a63-surface]",
16511
+ "value": "var(--a63-category-red-subtle-foreground)"
16125
16512
  }
16126
16513
  ]
16127
16514
  },
@@ -16142,6 +16529,10 @@
16142
16529
  {
16143
16530
  "scope": ":root, .light, [data-a63-mode='light']",
16144
16531
  "value": "var(--a63-category-rose)"
16532
+ },
16533
+ {
16534
+ "scope": "[data-a63-brand], [data-a63-surface]",
16535
+ "value": "var(--a63-category-rose)"
16145
16536
  }
16146
16537
  ]
16147
16538
  },
@@ -16162,6 +16553,10 @@
16162
16553
  {
16163
16554
  "scope": ":root, .light, [data-a63-mode='light']",
16164
16555
  "value": "var(--a63-category-rose-subtle-foreground)"
16556
+ },
16557
+ {
16558
+ "scope": "[data-a63-brand], [data-a63-surface]",
16559
+ "value": "var(--a63-category-rose-subtle-foreground)"
16165
16560
  }
16166
16561
  ]
16167
16562
  },
@@ -16182,6 +16577,10 @@
16182
16577
  {
16183
16578
  "scope": ":root, .light, [data-a63-mode='light']",
16184
16579
  "value": "var(--a63-category-sky)"
16580
+ },
16581
+ {
16582
+ "scope": "[data-a63-brand], [data-a63-surface]",
16583
+ "value": "var(--a63-category-sky)"
16185
16584
  }
16186
16585
  ]
16187
16586
  },
@@ -16202,7 +16601,11 @@
16202
16601
  {
16203
16602
  "scope": ":root, .light, [data-a63-mode='light']",
16204
16603
  "value": "var(--a63-category-sky-subtle-foreground)"
16205
- }
16604
+ },
16605
+ {
16606
+ "scope": "[data-a63-brand], [data-a63-surface]",
16607
+ "value": "var(--a63-category-sky-subtle-foreground)"
16608
+ }
16206
16609
  ]
16207
16610
  },
16208
16611
  {
@@ -16222,6 +16625,10 @@
16222
16625
  {
16223
16626
  "scope": ":root, .light, [data-a63-mode='light']",
16224
16627
  "value": "var(--a63-status-success-subtle-foreground)"
16628
+ },
16629
+ {
16630
+ "scope": "[data-a63-brand], [data-a63-surface]",
16631
+ "value": "var(--a63-status-success-subtle-foreground)"
16225
16632
  }
16226
16633
  ]
16227
16634
  },
@@ -16242,6 +16649,10 @@
16242
16649
  {
16243
16650
  "scope": ":root, .light, [data-a63-mode='light']",
16244
16651
  "value": "var(--a63-category-teal)"
16652
+ },
16653
+ {
16654
+ "scope": "[data-a63-brand], [data-a63-surface]",
16655
+ "value": "var(--a63-category-teal)"
16245
16656
  }
16246
16657
  ]
16247
16658
  },
@@ -16262,6 +16673,10 @@
16262
16673
  {
16263
16674
  "scope": ":root, .light, [data-a63-mode='light']",
16264
16675
  "value": "var(--a63-category-teal-subtle-foreground)"
16676
+ },
16677
+ {
16678
+ "scope": "[data-a63-brand], [data-a63-surface]",
16679
+ "value": "var(--a63-category-teal-subtle-foreground)"
16265
16680
  }
16266
16681
  ]
16267
16682
  },
@@ -16282,6 +16697,10 @@
16282
16697
  {
16283
16698
  "scope": ":root, .light, [data-a63-mode='light']",
16284
16699
  "value": "var(--a63-category-violet)"
16700
+ },
16701
+ {
16702
+ "scope": "[data-a63-brand], [data-a63-surface]",
16703
+ "value": "var(--a63-category-violet)"
16285
16704
  }
16286
16705
  ]
16287
16706
  },
@@ -16302,6 +16721,10 @@
16302
16721
  {
16303
16722
  "scope": ":root, .light, [data-a63-mode='light']",
16304
16723
  "value": "var(--a63-category-violet-subtle-foreground)"
16724
+ },
16725
+ {
16726
+ "scope": "[data-a63-brand], [data-a63-surface]",
16727
+ "value": "var(--a63-category-violet-subtle-foreground)"
16305
16728
  }
16306
16729
  ]
16307
16730
  },
@@ -16322,6 +16745,10 @@
16322
16745
  {
16323
16746
  "scope": ":root, .light, [data-a63-mode='light']",
16324
16747
  "value": "var(--a63-status-warning-subtle-foreground)"
16748
+ },
16749
+ {
16750
+ "scope": "[data-a63-brand], [data-a63-surface]",
16751
+ "value": "var(--a63-status-warning-subtle-foreground)"
16325
16752
  }
16326
16753
  ]
16327
16754
  },
@@ -16342,6 +16769,10 @@
16342
16769
  {
16343
16770
  "scope": ":root, .light, [data-a63-mode='light']",
16344
16771
  "value": "var(--a63-category-yellow)"
16772
+ },
16773
+ {
16774
+ "scope": "[data-a63-brand], [data-a63-surface]",
16775
+ "value": "var(--a63-category-yellow)"
16345
16776
  }
16346
16777
  ]
16347
16778
  },
@@ -16362,6 +16793,10 @@
16362
16793
  {
16363
16794
  "scope": ":root, .light, [data-a63-mode='light']",
16364
16795
  "value": "var(--a63-category-yellow-subtle-foreground)"
16796
+ },
16797
+ {
16798
+ "scope": "[data-a63-brand], [data-a63-surface]",
16799
+ "value": "var(--a63-category-yellow-subtle-foreground)"
16365
16800
  }
16366
16801
  ]
16367
16802
  },
@@ -16383,6 +16818,10 @@
16383
16818
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
16384
16819
  "value": "color-mix(in oklch, var(--a63-action-primary) 42%, transparent)"
16385
16820
  },
16821
+ {
16822
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
16823
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--a63-action-primary) 26%, color-mix(in oklab, var(--surface-light-5) 60%, white) ) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 42%, transparent))"
16824
+ },
16386
16825
  {
16387
16826
  "scope": ":is(.dark, [data-a63-mode='dark'])",
16388
16827
  "value": "color-mix( in oklab, var(--surface-dark-7) calc(100% - var(--a63-surface-tint)), var(--a63-brand-500) var(--a63-surface-tint) )"
@@ -16390,6 +16829,34 @@
16390
16829
  {
16391
16830
  "scope": ":root, .light, [data-a63-mode='light']",
16392
16831
  "value": "color-mix( in oklab, var(--surface-light-5) calc(100% - var(--a63-surface-tint)), var(--a63-brand-400) var(--a63-surface-tint) )"
16832
+ },
16833
+ {
16834
+ "scope": "[data-a63-brand], [data-a63-surface]",
16835
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-5) calc(100% - var(--a63-surface-tint)), var(--a63-brand-400) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-7) calc(100% - var(--a63-surface-tint)), var(--a63-brand-500) var(--a63-surface-tint) ) )"
16836
+ }
16837
+ ]
16838
+ },
16839
+ {
16840
+ "cssVar": "--a63-border-danger",
16841
+ "figma": {
16842
+ "collection": "Semantic",
16843
+ "path": "border/danger"
16844
+ },
16845
+ "layer": "semantic",
16846
+ "swift": null,
16847
+ "type": "color",
16848
+ "values": [
16849
+ {
16850
+ "scope": ":is(.dark, [data-a63-mode='dark'])",
16851
+ "value": "var(--color-danger-500)"
16852
+ },
16853
+ {
16854
+ "scope": ":root, .light, [data-a63-mode='light']",
16855
+ "value": "color-mix(in oklch, var(--color-danger-600) 62%, transparent)"
16856
+ },
16857
+ {
16858
+ "scope": "[data-a63-brand], [data-a63-surface]",
16859
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--color-danger-600) 62%, transparent) ) var(--a63-if-dark, var(--color-danger-500))"
16393
16860
  }
16394
16861
  ]
16395
16862
  },
@@ -16411,6 +16878,10 @@
16411
16878
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
16412
16879
  "value": "color-mix(in oklch, var(--a63-text-accent) 60%, transparent)"
16413
16880
  },
16881
+ {
16882
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
16883
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--a63-action-primary) 70%, var(--surface-light-10)) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-text-accent) 60%, transparent))"
16884
+ },
16414
16885
  {
16415
16886
  "scope": ":is(.dark, [data-a63-mode='dark'])",
16416
16887
  "value": "color-mix( in oklab, var(--surface-dark-9) calc(100% - var(--a63-surface-tint)), var(--a63-brand-500) var(--a63-surface-tint) )"
@@ -16418,6 +16889,10 @@
16418
16889
  {
16419
16890
  "scope": ":root, .light, [data-a63-mode='light']",
16420
16891
  "value": "color-mix( in oklab, var(--surface-light-10) calc(100% - var(--a63-surface-tint)), var(--a63-brand-500) var(--a63-surface-tint) )"
16892
+ },
16893
+ {
16894
+ "scope": "[data-a63-brand], [data-a63-surface]",
16895
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-10) calc(100% - var(--a63-surface-tint)), var(--a63-brand-500) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-9) calc(100% - var(--a63-surface-tint)), var(--a63-brand-500) var(--a63-surface-tint) ) )"
16421
16896
  }
16422
16897
  ]
16423
16898
  },
@@ -16439,6 +16914,10 @@
16439
16914
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
16440
16915
  "value": "color-mix(in oklch, var(--a63-action-primary) 22%, transparent)"
16441
16916
  },
16917
+ {
16918
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
16919
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--a63-action-primary) 16%, color-mix(in oklab, var(--surface-light-6) 50%, white) ) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 22%, transparent))"
16920
+ },
16442
16921
  {
16443
16922
  "scope": ":is(.dark, [data-a63-mode='dark'])",
16444
16923
  "value": "color-mix( in oklab, var(--surface-dark-6) calc(100% - var(--a63-surface-tint)), var(--a63-brand-600) var(--a63-surface-tint) )"
@@ -16446,6 +16925,10 @@
16446
16925
  {
16447
16926
  "scope": ":root, .light, [data-a63-mode='light']",
16448
16927
  "value": "color-mix( in oklab, var(--surface-light-4) calc(100% - var(--a63-surface-tint)), var(--a63-brand-300) var(--a63-surface-tint) )"
16928
+ },
16929
+ {
16930
+ "scope": "[data-a63-brand], [data-a63-surface]",
16931
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-4) calc(100% - var(--a63-surface-tint)), var(--a63-brand-300) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-6) calc(100% - var(--a63-surface-tint)), var(--a63-brand-600) var(--a63-surface-tint) ) )"
16449
16932
  }
16450
16933
  ]
16451
16934
  },
@@ -16970,6 +17453,10 @@
16970
17453
  {
16971
17454
  "scope": ":root, .light, [data-a63-mode='light']",
16972
17455
  "value": "var(--color-warning-800)"
17456
+ },
17457
+ {
17458
+ "scope": "[data-a63-brand], [data-a63-surface]",
17459
+ "value": "var(--a63-if-light, var(--color-warning-800)) var(--a63-if-dark, var(--color-warning-400))"
16973
17460
  }
16974
17461
  ]
16975
17462
  },
@@ -17022,6 +17509,10 @@
17022
17509
  {
17023
17510
  "scope": ":root, .light, [data-a63-mode='light']",
17024
17511
  "value": "var(--color-blue-700)"
17512
+ },
17513
+ {
17514
+ "scope": "[data-a63-brand], [data-a63-surface]",
17515
+ "value": "var(--a63-if-light, var(--color-blue-700)) var(--a63-if-dark, var(--color-blue-400))"
17025
17516
  }
17026
17517
  ]
17027
17518
  },
@@ -17074,6 +17565,10 @@
17074
17565
  {
17075
17566
  "scope": ":root, .light, [data-a63-mode='light']",
17076
17567
  "value": "var(--color-cyan-800)"
17568
+ },
17569
+ {
17570
+ "scope": "[data-a63-brand], [data-a63-surface]",
17571
+ "value": "var(--a63-if-light, var(--color-cyan-800)) var(--a63-if-dark, var(--color-cyan-400))"
17077
17572
  }
17078
17573
  ]
17079
17574
  },
@@ -17126,6 +17621,10 @@
17126
17621
  {
17127
17622
  "scope": ":root, .light, [data-a63-mode='light']",
17128
17623
  "value": "var(--color-emerald-800)"
17624
+ },
17625
+ {
17626
+ "scope": "[data-a63-brand], [data-a63-surface]",
17627
+ "value": "var(--a63-if-light, var(--color-emerald-800)) var(--a63-if-dark, var(--color-emerald-400))"
17129
17628
  }
17130
17629
  ]
17131
17630
  },
@@ -17178,6 +17677,10 @@
17178
17677
  {
17179
17678
  "scope": ":root, .light, [data-a63-mode='light']",
17180
17679
  "value": "var(--color-fuchsia-700)"
17680
+ },
17681
+ {
17682
+ "scope": "[data-a63-brand], [data-a63-surface]",
17683
+ "value": "var(--a63-if-light, var(--color-fuchsia-700)) var(--a63-if-dark, var(--color-fuchsia-400))"
17181
17684
  }
17182
17685
  ]
17183
17686
  },
@@ -17230,6 +17733,10 @@
17230
17733
  {
17231
17734
  "scope": ":root, .light, [data-a63-mode='light']",
17232
17735
  "value": "var(--color-gray-700)"
17736
+ },
17737
+ {
17738
+ "scope": "[data-a63-brand], [data-a63-surface]",
17739
+ "value": "var(--a63-if-light, var(--color-gray-700)) var(--a63-if-dark, var(--color-gray-400))"
17233
17740
  }
17234
17741
  ]
17235
17742
  },
@@ -17282,6 +17789,10 @@
17282
17789
  {
17283
17790
  "scope": ":root, .light, [data-a63-mode='light']",
17284
17791
  "value": "var(--color-green-800)"
17792
+ },
17793
+ {
17794
+ "scope": "[data-a63-brand], [data-a63-surface]",
17795
+ "value": "var(--a63-if-light, var(--color-green-800)) var(--a63-if-dark, var(--color-green-400))"
17285
17796
  }
17286
17797
  ]
17287
17798
  },
@@ -17334,6 +17845,10 @@
17334
17845
  {
17335
17846
  "scope": ":root, .light, [data-a63-mode='light']",
17336
17847
  "value": "var(--color-indigo-700)"
17848
+ },
17849
+ {
17850
+ "scope": "[data-a63-brand], [data-a63-surface]",
17851
+ "value": "var(--a63-if-light, var(--color-indigo-700)) var(--a63-if-dark, var(--color-indigo-400))"
17337
17852
  }
17338
17853
  ]
17339
17854
  },
@@ -17386,6 +17901,10 @@
17386
17901
  {
17387
17902
  "scope": ":root, .light, [data-a63-mode='light']",
17388
17903
  "value": "var(--color-lime-800)"
17904
+ },
17905
+ {
17906
+ "scope": "[data-a63-brand], [data-a63-surface]",
17907
+ "value": "var(--a63-if-light, var(--color-lime-800)) var(--a63-if-dark, var(--color-lime-400))"
17389
17908
  }
17390
17909
  ]
17391
17910
  },
@@ -17438,6 +17957,10 @@
17438
17957
  {
17439
17958
  "scope": ":root, .light, [data-a63-mode='light']",
17440
17959
  "value": "var(--color-neutral-700)"
17960
+ },
17961
+ {
17962
+ "scope": "[data-a63-brand], [data-a63-surface]",
17963
+ "value": "var(--a63-if-light, var(--color-neutral-700)) var(--a63-if-dark, var(--color-neutral-400))"
17441
17964
  }
17442
17965
  ]
17443
17966
  },
@@ -17490,6 +18013,10 @@
17490
18013
  {
17491
18014
  "scope": ":root, .light, [data-a63-mode='light']",
17492
18015
  "value": "var(--color-orange-800)"
18016
+ },
18017
+ {
18018
+ "scope": "[data-a63-brand], [data-a63-surface]",
18019
+ "value": "var(--a63-if-light, var(--color-orange-800)) var(--a63-if-dark, var(--color-orange-400))"
17493
18020
  }
17494
18021
  ]
17495
18022
  },
@@ -17542,6 +18069,10 @@
17542
18069
  {
17543
18070
  "scope": ":root, .light, [data-a63-mode='light']",
17544
18071
  "value": "var(--color-pink-700)"
18072
+ },
18073
+ {
18074
+ "scope": "[data-a63-brand], [data-a63-surface]",
18075
+ "value": "var(--a63-if-light, var(--color-pink-700)) var(--a63-if-dark, var(--color-pink-400))"
17545
18076
  }
17546
18077
  ]
17547
18078
  },
@@ -17594,6 +18125,10 @@
17594
18125
  {
17595
18126
  "scope": ":root, .light, [data-a63-mode='light']",
17596
18127
  "value": "var(--color-purple-700)"
18128
+ },
18129
+ {
18130
+ "scope": "[data-a63-brand], [data-a63-surface]",
18131
+ "value": "var(--a63-if-light, var(--color-purple-700)) var(--a63-if-dark, var(--color-purple-400))"
17597
18132
  }
17598
18133
  ]
17599
18134
  },
@@ -17646,6 +18181,10 @@
17646
18181
  {
17647
18182
  "scope": ":root, .light, [data-a63-mode='light']",
17648
18183
  "value": "var(--color-red-700)"
18184
+ },
18185
+ {
18186
+ "scope": "[data-a63-brand], [data-a63-surface]",
18187
+ "value": "var(--a63-if-light, var(--color-red-700)) var(--a63-if-dark, var(--color-red-400))"
17649
18188
  }
17650
18189
  ]
17651
18190
  },
@@ -17698,6 +18237,10 @@
17698
18237
  {
17699
18238
  "scope": ":root, .light, [data-a63-mode='light']",
17700
18239
  "value": "var(--color-rose-700)"
18240
+ },
18241
+ {
18242
+ "scope": "[data-a63-brand], [data-a63-surface]",
18243
+ "value": "var(--a63-if-light, var(--color-rose-700)) var(--a63-if-dark, var(--color-rose-400))"
17701
18244
  }
17702
18245
  ]
17703
18246
  },
@@ -17750,6 +18293,10 @@
17750
18293
  {
17751
18294
  "scope": ":root, .light, [data-a63-mode='light']",
17752
18295
  "value": "var(--color-sky-700)"
18296
+ },
18297
+ {
18298
+ "scope": "[data-a63-brand], [data-a63-surface]",
18299
+ "value": "var(--a63-if-light, var(--color-sky-700)) var(--a63-if-dark, var(--color-sky-400))"
17753
18300
  }
17754
18301
  ]
17755
18302
  },
@@ -17802,6 +18349,10 @@
17802
18349
  {
17803
18350
  "scope": ":root, .light, [data-a63-mode='light']",
17804
18351
  "value": "var(--color-slate-700)"
18352
+ },
18353
+ {
18354
+ "scope": "[data-a63-brand], [data-a63-surface]",
18355
+ "value": "var(--a63-if-light, var(--color-slate-700)) var(--a63-if-dark, var(--color-slate-400))"
17805
18356
  }
17806
18357
  ]
17807
18358
  },
@@ -17854,6 +18405,10 @@
17854
18405
  {
17855
18406
  "scope": ":root, .light, [data-a63-mode='light']",
17856
18407
  "value": "var(--color-stone-700)"
18408
+ },
18409
+ {
18410
+ "scope": "[data-a63-brand], [data-a63-surface]",
18411
+ "value": "var(--a63-if-light, var(--color-stone-700)) var(--a63-if-dark, var(--color-stone-400))"
17857
18412
  }
17858
18413
  ]
17859
18414
  },
@@ -17906,6 +18461,10 @@
17906
18461
  {
17907
18462
  "scope": ":root, .light, [data-a63-mode='light']",
17908
18463
  "value": "var(--color-teal-800)"
18464
+ },
18465
+ {
18466
+ "scope": "[data-a63-brand], [data-a63-surface]",
18467
+ "value": "var(--a63-if-light, var(--color-teal-800)) var(--a63-if-dark, var(--color-teal-400))"
17909
18468
  }
17910
18469
  ]
17911
18470
  },
@@ -17958,6 +18517,10 @@
17958
18517
  {
17959
18518
  "scope": ":root, .light, [data-a63-mode='light']",
17960
18519
  "value": "var(--color-violet-700)"
18520
+ },
18521
+ {
18522
+ "scope": "[data-a63-brand], [data-a63-surface]",
18523
+ "value": "var(--a63-if-light, var(--color-violet-700)) var(--a63-if-dark, var(--color-violet-400))"
17961
18524
  }
17962
18525
  ]
17963
18526
  },
@@ -18010,6 +18573,10 @@
18010
18573
  {
18011
18574
  "scope": ":root, .light, [data-a63-mode='light']",
18012
18575
  "value": "var(--color-yellow-800)"
18576
+ },
18577
+ {
18578
+ "scope": "[data-a63-brand], [data-a63-surface]",
18579
+ "value": "var(--a63-if-light, var(--color-yellow-800)) var(--a63-if-dark, var(--color-yellow-400))"
18013
18580
  }
18014
18581
  ]
18015
18582
  },
@@ -18062,6 +18629,10 @@
18062
18629
  {
18063
18630
  "scope": ":root, .light, [data-a63-mode='light']",
18064
18631
  "value": "var(--color-zinc-700)"
18632
+ },
18633
+ {
18634
+ "scope": "[data-a63-brand], [data-a63-surface]",
18635
+ "value": "var(--a63-if-light, var(--color-zinc-700)) var(--a63-if-dark, var(--color-zinc-400))"
18065
18636
  }
18066
18637
  ]
18067
18638
  },
@@ -18082,6 +18653,10 @@
18082
18653
  {
18083
18654
  "scope": ":root, .light, [data-a63-mode='light']",
18084
18655
  "value": "var(--a63-action-primary)"
18656
+ },
18657
+ {
18658
+ "scope": "[data-a63-brand], [data-a63-surface]",
18659
+ "value": "var(--a63-action-primary)"
18085
18660
  }
18086
18661
  ]
18087
18662
  },
@@ -18102,6 +18677,10 @@
18102
18677
  {
18103
18678
  "scope": ":root, .light, [data-a63-mode='light']",
18104
18679
  "value": "var(--color-teal-500)"
18680
+ },
18681
+ {
18682
+ "scope": "[data-a63-brand], [data-a63-surface]",
18683
+ "value": "var(--a63-if-light, var(--color-teal-500)) var(--a63-if-dark, var(--color-teal-400))"
18105
18684
  }
18106
18685
  ]
18107
18686
  },
@@ -18122,6 +18701,10 @@
18122
18701
  {
18123
18702
  "scope": ":root, .light, [data-a63-mode='light']",
18124
18703
  "value": "var(--color-amber-500)"
18704
+ },
18705
+ {
18706
+ "scope": "[data-a63-brand], [data-a63-surface]",
18707
+ "value": "var(--a63-if-light, var(--color-amber-500)) var(--a63-if-dark, var(--color-amber-400))"
18125
18708
  }
18126
18709
  ]
18127
18710
  },
@@ -18142,6 +18725,10 @@
18142
18725
  {
18143
18726
  "scope": ":root, .light, [data-a63-mode='light']",
18144
18727
  "value": "var(--color-violet-500)"
18728
+ },
18729
+ {
18730
+ "scope": "[data-a63-brand], [data-a63-surface]",
18731
+ "value": "var(--a63-if-light, var(--color-violet-500)) var(--a63-if-dark, var(--color-violet-400))"
18145
18732
  }
18146
18733
  ]
18147
18734
  },
@@ -18162,6 +18749,10 @@
18162
18749
  {
18163
18750
  "scope": ":root, .light, [data-a63-mode='light']",
18164
18751
  "value": "var(--color-rose-500)"
18752
+ },
18753
+ {
18754
+ "scope": "[data-a63-brand], [data-a63-surface]",
18755
+ "value": "var(--a63-if-light, var(--color-rose-500)) var(--a63-if-dark, var(--color-rose-400))"
18165
18756
  }
18166
18757
  ]
18167
18758
  },
@@ -18254,6 +18845,10 @@
18254
18845
  {
18255
18846
  "scope": ":root, .light, [data-a63-mode='light']",
18256
18847
  "value": "color-mix( in oklch, var(--a63-action-primary) 5%, transparent )"
18848
+ },
18849
+ {
18850
+ "scope": "[data-a63-brand], [data-a63-surface]",
18851
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-primary) 5%, transparent) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 10%, transparent))"
18257
18852
  }
18258
18853
  ]
18259
18854
  },
@@ -18274,6 +18869,10 @@
18274
18869
  {
18275
18870
  "scope": ":root, .light, [data-a63-mode='light']",
18276
18871
  "value": "color-mix(in oklch, var(--a63-action-primary) 30%, transparent)"
18872
+ },
18873
+ {
18874
+ "scope": "[data-a63-brand], [data-a63-surface]",
18875
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-primary) 30%, transparent) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 20%, transparent))"
18277
18876
  }
18278
18877
  ]
18279
18878
  },
@@ -19257,6 +19856,10 @@
19257
19856
  {
19258
19857
  "scope": ":root, .light, [data-a63-mode='light']",
19259
19858
  "value": "var(--a63-surface-panel)"
19859
+ },
19860
+ {
19861
+ "scope": "[data-a63-brand], [data-a63-surface]",
19862
+ "value": "var(--a63-if-light, var(--a63-surface-panel)) var(--a63-if-dark, color-mix(in oklab, var(--a63-border-control) 32%, transparent))"
19260
19863
  }
19261
19864
  ]
19262
19865
  },
@@ -19277,6 +19880,10 @@
19277
19880
  {
19278
19881
  "scope": ":root, .light, [data-a63-mode='light']",
19279
19882
  "value": "color-mix( in oklab, var(--a63-surface-control-hover) 50%, transparent )"
19883
+ },
19884
+ {
19885
+ "scope": "[data-a63-brand], [data-a63-surface]",
19886
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--a63-surface-control-hover) 50%, transparent) ) var(--a63-if-dark, color-mix(in oklab, var(--a63-border-control) 64%, transparent))"
19280
19887
  }
19281
19888
  ]
19282
19889
  },
@@ -19297,6 +19904,10 @@
19297
19904
  {
19298
19905
  "scope": ":root, .light, [data-a63-mode='light']",
19299
19906
  "value": "var(--a63-border-subtle)"
19907
+ },
19908
+ {
19909
+ "scope": "[data-a63-brand], [data-a63-surface]",
19910
+ "value": "var(--a63-if-light, var(--a63-border-subtle)) var(--a63-if-dark, var(--a63-border-control))"
19300
19911
  }
19301
19912
  ]
19302
19913
  },
@@ -19670,6 +20281,10 @@
19670
20281
  {
19671
20282
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
19672
20283
  "value": "color-mix(in oklab, var(--surface-dark-1) 90%, var(--a63-action-primary))"
20284
+ },
20285
+ {
20286
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
20287
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--surface-light-2) 86%, var(--a63-action-primary)) ) var(--a63-if-dark, color-mix(in oklab, var(--surface-dark-1) 90%, var(--a63-action-primary)))"
19673
20288
  }
19674
20289
  ]
19675
20290
  },
@@ -19722,6 +20337,10 @@
19722
20337
  {
19723
20338
  "scope": ":root, .light, [data-a63-mode='light']",
19724
20339
  "value": "var(--a63-brand-600)"
20340
+ },
20341
+ {
20342
+ "scope": "[data-a63-brand], [data-a63-surface]",
20343
+ "value": "var(--a63-if-light, var(--a63-brand-600)) var(--a63-if-dark, var(--a63-brand-400))"
19725
20344
  }
19726
20345
  ]
19727
20346
  },
@@ -19757,6 +20376,38 @@
19757
20376
  }
19758
20377
  ]
19759
20378
  },
20379
+ {
20380
+ "cssVar": "--a63-font-display",
20381
+ "figma": {
20382
+ "collection": "Semantic",
20383
+ "path": "font/display"
20384
+ },
20385
+ "layer": "semantic",
20386
+ "swift": null,
20387
+ "type": "typography",
20388
+ "values": [
20389
+ {
20390
+ "scope": ":root",
20391
+ "value": "var(--a63-font-app)"
20392
+ },
20393
+ {
20394
+ "scope": "[data-a63-font='mono']",
20395
+ "value": "var(--a63-font-app)"
20396
+ },
20397
+ {
20398
+ "scope": "[data-a63-font='pixel']",
20399
+ "value": "var(--a63-font-app)"
20400
+ },
20401
+ {
20402
+ "scope": "[data-a63-font='sans']",
20403
+ "value": "var(--a63-font-app)"
20404
+ },
20405
+ {
20406
+ "scope": "[data-a63-font='serif']",
20407
+ "value": "var(--a63-font-app)"
20408
+ }
20409
+ ]
20410
+ },
19760
20411
  {
19761
20412
  "cssVar": "--a63-gradient-brand",
19762
20413
  "figma": {
@@ -19790,6 +20441,10 @@
19790
20441
  {
19791
20442
  "scope": ":root, .light, [data-a63-mode='light']",
19792
20443
  "value": "linear-gradient( to bottom, var(--a63-brand-800), var(--a63-brand-700) var(--a63-gradient-brand-fade-dark-zone), var(--a63-surface-page) )"
20444
+ },
20445
+ {
20446
+ "scope": "[data-a63-brand], [data-a63-surface]",
20447
+ "value": "linear-gradient( to bottom, var(--a63-brand-800), var(--a63-brand-700) var(--a63-gradient-brand-fade-dark-zone), var(--a63-surface-page) )"
19793
20448
  }
19794
20449
  ]
19795
20450
  },
@@ -19838,6 +20493,40 @@
19838
20493
  }
19839
20494
  ]
19840
20495
  },
20496
+ {
20497
+ "cssVar": "--a63-if-dark",
20498
+ "figma": null,
20499
+ "layer": "semantic",
20500
+ "swift": null,
20501
+ "type": "string",
20502
+ "values": [
20503
+ {
20504
+ "scope": ":is(.dark, [data-a63-mode='dark'])",
20505
+ "value": "initial"
20506
+ },
20507
+ {
20508
+ "scope": ":root, .light, [data-a63-mode='light']",
20509
+ "value": ""
20510
+ }
20511
+ ]
20512
+ },
20513
+ {
20514
+ "cssVar": "--a63-if-light",
20515
+ "figma": null,
20516
+ "layer": "semantic",
20517
+ "swift": null,
20518
+ "type": "string",
20519
+ "values": [
20520
+ {
20521
+ "scope": ":is(.dark, [data-a63-mode='dark'])",
20522
+ "value": ""
20523
+ },
20524
+ {
20525
+ "scope": ":root, .light, [data-a63-mode='light']",
20526
+ "value": "initial"
20527
+ }
20528
+ ]
20529
+ },
19841
20530
  {
19842
20531
  "cssVar": "--a63-inset-group-radius",
19843
20532
  "figma": {
@@ -21024,6 +21713,10 @@
21024
21713
  "scope": "[data-a63-theme='aqua']:is(.dark, [data-a63-mode='dark'])",
21025
21714
  "value": "linear-gradient( 180deg, color-mix(in oklch, white 8%, transparent) 0%, color-mix(in oklch, white 2%, transparent) 48%, color-mix(in oklch, black 14%, transparent) 100% ), linear-gradient( 180deg, color-mix(in oklch, var(--a63-surface-panel) 88%, white) 0%, var(--a63-surface-muted) 100% )"
21026
21715
  },
21716
+ {
21717
+ "scope": "[data-a63-theme='aqua']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='aqua'] :is([data-a63-brand], [data-a63-surface])",
21718
+ "value": "var( --a63-if-light, linear-gradient( 180deg, color-mix(in oklch, white 10%, transparent) 0%, color-mix(in oklch, white 4%, transparent) 46%, color-mix(in oklch, black 6%, transparent) 54%, color-mix(in oklch, white 2%, transparent) 100% ), linear-gradient(180deg, var(--a63-surface-panel) 0%, var(--a63-surface-muted) 100%) ) var( --a63-if-dark, linear-gradient( 180deg, color-mix(in oklch, white 8%, transparent) 0%, color-mix(in oklch, white 2%, transparent) 48%, color-mix(in oklch, black 14%, transparent) 100% ), linear-gradient( 180deg, color-mix(in oklch, var(--a63-surface-panel) 88%, white) 0%, var(--a63-surface-muted) 100% ) )"
21719
+ },
21027
21720
  {
21028
21721
  "scope": "[data-a63-theme='modern']",
21029
21722
  "value": "none"
@@ -21128,6 +21821,10 @@
21128
21821
  "scope": "[data-a63-theme='aqua']:is(.dark, [data-a63-mode='dark'])",
21129
21822
  "value": "inset 0 1px 0 color-mix(in oklch, white 22%, transparent), inset 0 3px 10px color-mix(in oklch, black 42%, transparent)"
21130
21823
  },
21824
+ {
21825
+ "scope": "[data-a63-theme='aqua']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='aqua'] :is([data-a63-brand], [data-a63-surface])",
21826
+ "value": "var( --a63-if-light, inset 0 1px 0 color-mix(in oklch, white 28%, transparent), inset 0 2px 8px color-mix(in oklch, black 36%, transparent) ) var( --a63-if-dark, inset 0 1px 0 color-mix(in oklch, white 22%, transparent), inset 0 3px 10px color-mix(in oklch, black 42%, transparent) )"
21827
+ },
21131
21828
  {
21132
21829
  "scope": "[data-a63-theme='modern']",
21133
21830
  "value": "inset 0 1px 0 color-mix(in oklch, white 30%, transparent), 0 1px 2px color-mix(in oklch, black 16%, transparent)"
@@ -21245,6 +21942,10 @@
21245
21942
  "scope": "[data-a63-theme='aqua']:is(.dark, [data-a63-mode='dark'])",
21246
21943
  "value": "inset 0 1px 0 color-mix(in oklch, white 22%, transparent), inset 0 3px 8px color-mix(in oklch, black 28%, transparent)"
21247
21944
  },
21945
+ {
21946
+ "scope": "[data-a63-theme='aqua']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='aqua'] :is([data-a63-brand], [data-a63-surface])",
21947
+ "value": "var( --a63-if-light, inset 0 1px 0 color-mix(in oklch, white 35%, transparent), inset 0 2px 6px color-mix(in oklch, black 14%, transparent) ) var( --a63-if-dark, inset 0 1px 0 color-mix(in oklch, white 22%, transparent), inset 0 3px 8px color-mix(in oklch, black 28%, transparent) )"
21948
+ },
21248
21949
  {
21249
21950
  "scope": "[data-a63-theme='modern']",
21250
21951
  "value": "inset 0 1px 0 color-mix(in oklch, white 70%, transparent), 0 1px 2px color-mix(in oklch, black 12%, transparent), 0 1px 1px color-mix(in oklch, black 6%, transparent)"
@@ -21361,6 +22062,10 @@
21361
22062
  {
21362
22063
  "scope": ":root, .light, [data-a63-mode='light']",
21363
22064
  "value": "color-mix(in oklch, var(--a63-action-primary) 12%, transparent)"
22065
+ },
22066
+ {
22067
+ "scope": "[data-a63-brand], [data-a63-surface]",
22068
+ "value": "color-mix(in oklch, var(--a63-action-primary) 12%, transparent)"
21364
22069
  }
21365
22070
  ]
21366
22071
  },
@@ -21381,6 +22086,10 @@
21381
22086
  {
21382
22087
  "scope": ":root, .light, [data-a63-mode='light']",
21383
22088
  "value": "var(--a63-text-accent)"
22089
+ },
22090
+ {
22091
+ "scope": "[data-a63-brand], [data-a63-surface]",
22092
+ "value": "var(--a63-text-accent)"
21384
22093
  }
21385
22094
  ]
21386
22095
  },
@@ -21401,6 +22110,10 @@
21401
22110
  {
21402
22111
  "scope": ":root, .light, [data-a63-mode='light']",
21403
22112
  "value": "var(--a63-surface-muted)"
22113
+ },
22114
+ {
22115
+ "scope": "[data-a63-brand], [data-a63-surface]",
22116
+ "value": "var(--a63-surface-muted)"
21404
22117
  }
21405
22118
  ]
21406
22119
  },
@@ -21421,6 +22134,10 @@
21421
22134
  {
21422
22135
  "scope": ":root, .light, [data-a63-mode='light']",
21423
22136
  "value": "var(--a63-text-primary)"
22137
+ },
22138
+ {
22139
+ "scope": "[data-a63-brand], [data-a63-surface]",
22140
+ "value": "var(--a63-text-primary)"
21424
22141
  }
21425
22142
  ]
21426
22143
  },
@@ -21489,6 +22206,10 @@
21489
22206
  {
21490
22207
  "scope": ":root, .light, [data-a63-mode='light']",
21491
22208
  "value": "var(--a63-surface-muted)"
22209
+ },
22210
+ {
22211
+ "scope": "[data-a63-brand], [data-a63-surface]",
22212
+ "value": "var(--a63-surface-muted)"
21492
22213
  }
21493
22214
  ]
21494
22215
  },
@@ -21509,6 +22230,10 @@
21509
22230
  {
21510
22231
  "scope": ":root, .light, [data-a63-mode='light']",
21511
22232
  "value": "var(--color-white-60)"
22233
+ },
22234
+ {
22235
+ "scope": "[data-a63-brand], [data-a63-surface]",
22236
+ "value": "var(--a63-if-light, var(--color-white-60)) var(--a63-if-dark, var(--color-white-10))"
21512
22237
  }
21513
22238
  ]
21514
22239
  },
@@ -21753,6 +22478,10 @@
21753
22478
  {
21754
22479
  "scope": ":root, .light, [data-a63-mode='light']",
21755
22480
  "value": "var(--color-danger-600)"
22481
+ },
22482
+ {
22483
+ "scope": "[data-a63-brand], [data-a63-surface]",
22484
+ "value": "var(--a63-if-light, var(--color-danger-600)) var(--a63-if-dark, var(--color-danger-500))"
21756
22485
  }
21757
22486
  ]
21758
22487
  },
@@ -21769,6 +22498,10 @@
21769
22498
  {
21770
22499
  "scope": ":root, .light, [data-a63-mode='light']",
21771
22500
  "value": "oklch( from var(--a63-status-danger) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
22501
+ },
22502
+ {
22503
+ "scope": "[data-a63-brand], [data-a63-surface]",
22504
+ "value": "oklch( from var(--a63-status-danger) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
21772
22505
  }
21773
22506
  ]
21774
22507
  },
@@ -21789,6 +22522,10 @@
21789
22522
  {
21790
22523
  "scope": ":root, .light, [data-a63-mode='light']",
21791
22524
  "value": "color-mix(in oklab, var(--a63-status-danger) 14%, transparent)"
22525
+ },
22526
+ {
22527
+ "scope": "[data-a63-brand], [data-a63-surface]",
22528
+ "value": "color-mix(in oklab, var(--a63-status-danger) 14%, transparent)"
21792
22529
  }
21793
22530
  ]
21794
22531
  },
@@ -21809,6 +22546,10 @@
21809
22546
  {
21810
22547
  "scope": ":root, .light, [data-a63-mode='light']",
21811
22548
  "value": "var(--color-danger-700)"
22549
+ },
22550
+ {
22551
+ "scope": "[data-a63-brand], [data-a63-surface]",
22552
+ "value": "var(--a63-if-light, var(--color-danger-700)) var(--a63-if-dark, var(--color-danger-400))"
21812
22553
  }
21813
22554
  ]
21814
22555
  },
@@ -21829,6 +22570,10 @@
21829
22570
  {
21830
22571
  "scope": ":root, .light, [data-a63-mode='light']",
21831
22572
  "value": "var(--color-info-600)"
22573
+ },
22574
+ {
22575
+ "scope": "[data-a63-brand], [data-a63-surface]",
22576
+ "value": "var(--a63-if-light, var(--color-info-600)) var(--a63-if-dark, var(--color-info-500))"
21832
22577
  }
21833
22578
  ]
21834
22579
  },
@@ -21845,6 +22590,10 @@
21845
22590
  {
21846
22591
  "scope": ":root, .light, [data-a63-mode='light']",
21847
22592
  "value": "oklch( from var(--a63-status-info) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
22593
+ },
22594
+ {
22595
+ "scope": "[data-a63-brand], [data-a63-surface]",
22596
+ "value": "oklch( from var(--a63-status-info) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
21848
22597
  }
21849
22598
  ]
21850
22599
  },
@@ -21865,6 +22614,10 @@
21865
22614
  {
21866
22615
  "scope": ":root, .light, [data-a63-mode='light']",
21867
22616
  "value": "color-mix(in oklab, var(--a63-status-info) 14%, transparent)"
22617
+ },
22618
+ {
22619
+ "scope": "[data-a63-brand], [data-a63-surface]",
22620
+ "value": "color-mix(in oklab, var(--a63-status-info) 14%, transparent)"
21868
22621
  }
21869
22622
  ]
21870
22623
  },
@@ -21885,6 +22638,10 @@
21885
22638
  {
21886
22639
  "scope": ":root, .light, [data-a63-mode='light']",
21887
22640
  "value": "var(--color-info-700)"
22641
+ },
22642
+ {
22643
+ "scope": "[data-a63-brand], [data-a63-surface]",
22644
+ "value": "var(--a63-if-light, var(--color-info-700)) var(--a63-if-dark, var(--color-info-400))"
21888
22645
  }
21889
22646
  ]
21890
22647
  },
@@ -21905,6 +22662,10 @@
21905
22662
  {
21906
22663
  "scope": ":root, .light, [data-a63-mode='light']",
21907
22664
  "value": "var(--color-success-600)"
22665
+ },
22666
+ {
22667
+ "scope": "[data-a63-brand], [data-a63-surface]",
22668
+ "value": "var(--a63-if-light, var(--color-success-600)) var(--a63-if-dark, var(--color-success-500))"
21908
22669
  }
21909
22670
  ]
21910
22671
  },
@@ -21921,6 +22682,10 @@
21921
22682
  {
21922
22683
  "scope": ":root, .light, [data-a63-mode='light']",
21923
22684
  "value": "oklch( from var(--a63-status-success) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
22685
+ },
22686
+ {
22687
+ "scope": "[data-a63-brand], [data-a63-surface]",
22688
+ "value": "oklch( from var(--a63-status-success) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
21924
22689
  }
21925
22690
  ]
21926
22691
  },
@@ -21941,6 +22706,10 @@
21941
22706
  {
21942
22707
  "scope": ":root, .light, [data-a63-mode='light']",
21943
22708
  "value": "color-mix(in oklab, var(--a63-status-success) 14%, transparent)"
22709
+ },
22710
+ {
22711
+ "scope": "[data-a63-brand], [data-a63-surface]",
22712
+ "value": "color-mix(in oklab, var(--a63-status-success) 14%, transparent)"
21944
22713
  }
21945
22714
  ]
21946
22715
  },
@@ -21961,6 +22730,10 @@
21961
22730
  {
21962
22731
  "scope": ":root, .light, [data-a63-mode='light']",
21963
22732
  "value": "var(--color-success-700)"
22733
+ },
22734
+ {
22735
+ "scope": "[data-a63-brand], [data-a63-surface]",
22736
+ "value": "var(--a63-if-light, var(--color-success-700)) var(--a63-if-dark, var(--color-success-400))"
21964
22737
  }
21965
22738
  ]
21966
22739
  },
@@ -21981,6 +22754,10 @@
21981
22754
  {
21982
22755
  "scope": ":root, .light, [data-a63-mode='light']",
21983
22756
  "value": "var(--color-warning-600)"
22757
+ },
22758
+ {
22759
+ "scope": "[data-a63-brand], [data-a63-surface]",
22760
+ "value": "var(--a63-if-light, var(--color-warning-600)) var(--a63-if-dark, var(--color-warning-500))"
21984
22761
  }
21985
22762
  ]
21986
22763
  },
@@ -21997,6 +22774,10 @@
21997
22774
  {
21998
22775
  "scope": ":root, .light, [data-a63-mode='light']",
21999
22776
  "value": "oklch( from var(--a63-status-warning) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
22777
+ },
22778
+ {
22779
+ "scope": "[data-a63-brand], [data-a63-surface]",
22780
+ "value": "oklch( from var(--a63-status-warning) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )"
22000
22781
  }
22001
22782
  ]
22002
22783
  },
@@ -22017,6 +22798,10 @@
22017
22798
  {
22018
22799
  "scope": ":root, .light, [data-a63-mode='light']",
22019
22800
  "value": "color-mix(in oklab, var(--a63-status-warning) 14%, transparent)"
22801
+ },
22802
+ {
22803
+ "scope": "[data-a63-brand], [data-a63-surface]",
22804
+ "value": "color-mix(in oklab, var(--a63-status-warning) 14%, transparent)"
22020
22805
  }
22021
22806
  ]
22022
22807
  },
@@ -22037,6 +22822,10 @@
22037
22822
  {
22038
22823
  "scope": ":root, .light, [data-a63-mode='light']",
22039
22824
  "value": "var(--color-warning-800)"
22825
+ },
22826
+ {
22827
+ "scope": "[data-a63-brand], [data-a63-surface]",
22828
+ "value": "var(--a63-if-light, var(--color-warning-800)) var(--a63-if-dark, var(--color-warning-400))"
22040
22829
  }
22041
22830
  ]
22042
22831
  },
@@ -22117,6 +22906,10 @@
22117
22906
  {
22118
22907
  "scope": ":root, .light, [data-a63-mode='light']",
22119
22908
  "value": "color-mix( in oklab, var(--surface-light-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-50) var(--a63-surface-tint) )"
22909
+ },
22910
+ {
22911
+ "scope": "[data-a63-brand], [data-a63-surface]",
22912
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-50) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-950) var(--a63-surface-tint) ) )"
22120
22913
  }
22121
22914
  ]
22122
22915
  },
@@ -22137,6 +22930,10 @@
22137
22930
  {
22138
22931
  "scope": ":root, .light, [data-a63-mode='light']",
22139
22932
  "value": "color-mix( in srgb, color-mix( in oklab, var(--surface-light-4) calc(100% - var(--a63-surface-tint)), var(--a63-brand-300) var(--a63-surface-tint) ), transparent 20% )"
22933
+ },
22934
+ {
22935
+ "scope": "[data-a63-brand], [data-a63-surface]",
22936
+ "value": "var( --a63-if-light, color-mix( in srgb, color-mix( in oklab, var(--surface-light-4) calc(100% - var(--a63-surface-tint)), var(--a63-brand-300) var(--a63-surface-tint) ), transparent 20% ) ) var( --a63-if-dark, color-mix( in srgb, color-mix( in oklab, var(--surface-dark-6) calc(100% - var(--a63-surface-tint)), var(--a63-brand-600) var(--a63-surface-tint) ), transparent 20% ) )"
22140
22937
  }
22141
22938
  ]
22142
22939
  },
@@ -22233,6 +23030,10 @@
22233
23030
  {
22234
23031
  "scope": ":root, .light, [data-a63-mode='light']",
22235
23032
  "value": "color-mix( in oklab, var(--surface-light-3) calc(100% - var(--a63-surface-tint)), var(--a63-brand-200) var(--a63-surface-tint) )"
23033
+ },
23034
+ {
23035
+ "scope": "[data-a63-brand], [data-a63-surface]",
23036
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-3) calc(100% - var(--a63-surface-tint)), var(--a63-brand-200) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-3) calc(100% - var(--a63-surface-tint)), var(--a63-brand-800) var(--a63-surface-tint) ) )"
22236
23037
  }
22237
23038
  ]
22238
23039
  },
@@ -22253,6 +23054,10 @@
22253
23054
  {
22254
23055
  "scope": ":root, .light, [data-a63-mode='light']",
22255
23056
  "value": "color-mix( in oklab, var(--surface-light-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-50) var(--a63-surface-tint) )"
23057
+ },
23058
+ {
23059
+ "scope": "[data-a63-brand], [data-a63-surface]",
23060
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-50) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-4) calc(100% - var(--a63-surface-tint)), var(--a63-brand-800) var(--a63-surface-tint) ) )"
22256
23061
  }
22257
23062
  ]
22258
23063
  },
@@ -22274,6 +23079,10 @@
22274
23079
  "scope": "[data-a63-theme='aqua']:is(.dark, [data-a63-mode='dark'])",
22275
23080
  "value": "color-mix(in oklab, var(--surface-dark-1) 94%, var(--color-b1-500))"
22276
23081
  },
23082
+ {
23083
+ "scope": "[data-a63-theme='aqua']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='aqua'] :is([data-a63-brand], [data-a63-surface])",
23084
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--surface-light-2) 95%, var(--color-b1-500)) ) var(--a63-if-dark, color-mix(in oklab, var(--surface-dark-1) 94%, var(--color-b1-500)))"
23085
+ },
22277
23086
  {
22278
23087
  "scope": "[data-a63-theme='terminal']:is(:root, .light, [data-a63-mode='light']), [data-a63-theme='terminal'] :is(.light, [data-a63-mode='light'])",
22279
23088
  "value": "color-mix(in oklab, var(--surface-light-1) 60%, white)"
@@ -22282,6 +23091,10 @@
22282
23091
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
22283
23092
  "value": "color-mix(in oklab, var(--surface-dark-1) 92%, var(--a63-action-primary))"
22284
23093
  },
23094
+ {
23095
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
23096
+ "value": "var(--a63-if-light, color-mix(in oklab, var(--surface-light-1) 60%, white)) var(--a63-if-dark, color-mix(in oklab, var(--surface-dark-1) 92%, var(--a63-action-primary)))"
23097
+ },
22285
23098
  {
22286
23099
  "scope": ":is(.dark, [data-a63-mode='dark'])",
22287
23100
  "value": "color-mix( in oklab, var(--surface-dark-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-950) var(--a63-surface-tint) )"
@@ -22289,6 +23102,10 @@
22289
23102
  {
22290
23103
  "scope": ":root, .light, [data-a63-mode='light']",
22291
23104
  "value": "color-mix( in oklab, var(--surface-light-2) calc(100% - var(--a63-surface-tint)), var(--a63-brand-100) var(--a63-surface-tint) )"
23105
+ },
23106
+ {
23107
+ "scope": "[data-a63-brand], [data-a63-surface]",
23108
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-2) calc(100% - var(--a63-surface-tint)), var(--a63-brand-100) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-950) var(--a63-surface-tint) ) )"
22292
23109
  }
22293
23110
  ]
22294
23111
  },
@@ -22310,6 +23127,10 @@
22310
23127
  "scope": "[data-a63-theme='aqua']:is(.dark, [data-a63-mode='dark'])",
22311
23128
  "value": "color-mix(in oklab, var(--surface-dark-2) 94%, var(--color-b1-500))"
22312
23129
  },
23130
+ {
23131
+ "scope": "[data-a63-theme='aqua']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='aqua'] :is([data-a63-brand], [data-a63-surface])",
23132
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--surface-light-1) 96%, var(--color-b1-500)) ) var(--a63-if-dark, color-mix(in oklab, var(--surface-dark-2) 94%, var(--color-b1-500)))"
23133
+ },
22313
23134
  {
22314
23135
  "scope": "[data-a63-theme='terminal']:is(:root, .light, [data-a63-mode='light']), [data-a63-theme='terminal'] :is(.light, [data-a63-mode='light'])",
22315
23136
  "value": "color-mix(in oklab, var(--surface-light-2) 60%, white)"
@@ -22318,6 +23139,10 @@
22318
23139
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
22319
23140
  "value": "color-mix(in oklab, var(--surface-dark-2) 92%, var(--a63-action-primary))"
22320
23141
  },
23142
+ {
23143
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
23144
+ "value": "var(--a63-if-light, color-mix(in oklab, var(--surface-light-2) 60%, white)) var(--a63-if-dark, color-mix(in oklab, var(--surface-dark-2) 92%, var(--a63-action-primary)))"
23145
+ },
22321
23146
  {
22322
23147
  "scope": ":is(.dark, [data-a63-mode='dark'])",
22323
23148
  "value": "color-mix( in oklab, var(--surface-dark-2) calc(100% - var(--a63-surface-tint)), var(--a63-brand-900) var(--a63-surface-tint) )"
@@ -22325,6 +23150,10 @@
22325
23150
  {
22326
23151
  "scope": ":root, .light, [data-a63-mode='light']",
22327
23152
  "value": "color-mix( in oklab, var(--surface-light-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-50) var(--a63-surface-tint) )"
23153
+ },
23154
+ {
23155
+ "scope": "[data-a63-brand], [data-a63-surface]",
23156
+ "value": "var( --a63-if-light, color-mix( in oklab, var(--surface-light-1) calc(100% - var(--a63-surface-tint)), var(--a63-brand-50) var(--a63-surface-tint) ) ) var( --a63-if-dark, color-mix( in oklab, var(--surface-dark-2) calc(100% - var(--a63-surface-tint)), var(--a63-brand-900) var(--a63-surface-tint) ) )"
22328
23157
  }
22329
23158
  ]
22330
23159
  },
@@ -22373,6 +23202,10 @@
22373
23202
  {
22374
23203
  "scope": ":root, .light, [data-a63-mode='light']",
22375
23204
  "value": "var(--a63-surface-muted)"
23205
+ },
23206
+ {
23207
+ "scope": "[data-a63-brand], [data-a63-surface]",
23208
+ "value": "var(--a63-if-light, var(--a63-surface-muted)) var(--a63-if-dark, var(--a63-surface-page))"
22376
23209
  }
22377
23210
  ]
22378
23211
  },
@@ -22421,6 +23254,10 @@
22421
23254
  {
22422
23255
  "scope": ":root, .light, [data-a63-mode='light']",
22423
23256
  "value": "var(--a63-surface-muted)"
23257
+ },
23258
+ {
23259
+ "scope": "[data-a63-brand], [data-a63-surface]",
23260
+ "value": "var(--a63-if-light, var(--a63-surface-muted)) var(--a63-if-dark, var(--a63-surface-page))"
22424
23261
  }
22425
23262
  ]
22426
23263
  },
@@ -22541,6 +23378,10 @@
22541
23378
  {
22542
23379
  "scope": ":root, .light, [data-a63-mode='light']",
22543
23380
  "value": "var(--a63-brand-text)"
23381
+ },
23382
+ {
23383
+ "scope": "[data-a63-brand], [data-a63-surface]",
23384
+ "value": "var(--a63-if-light, var(--a63-brand-text)) var(--a63-if-dark, var(--a63-brand-400))"
22544
23385
  }
22545
23386
  ]
22546
23387
  },
@@ -22561,6 +23402,10 @@
22561
23402
  {
22562
23403
  "scope": ":root, .light, [data-a63-mode='light']",
22563
23404
  "value": "var(--color-danger-600)"
23405
+ },
23406
+ {
23407
+ "scope": "[data-a63-brand], [data-a63-surface]",
23408
+ "value": "var(--a63-if-light, var(--color-danger-600)) var(--a63-if-dark, var(--color-danger-400))"
22564
23409
  }
22565
23410
  ]
22566
23411
  },
@@ -22582,6 +23427,10 @@
22582
23427
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
22583
23428
  "value": "color-mix(in oklch, var(--a63-action-primary) 62%, white)"
22584
23429
  },
23430
+ {
23431
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
23432
+ "value": "var(--a63-if-light, color-mix(in oklch, var(--a63-action-primary) 70%, black)) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 62%, white))"
23433
+ },
22585
23434
  {
22586
23435
  "scope": ":is(.dark, [data-a63-mode='dark'])",
22587
23436
  "value": "var(--surface-dark-12)"
@@ -22589,6 +23438,10 @@
22589
23438
  {
22590
23439
  "scope": ":root, .light, [data-a63-mode='light']",
22591
23440
  "value": "var(--surface-light-12)"
23441
+ },
23442
+ {
23443
+ "scope": "[data-a63-brand], [data-a63-surface]",
23444
+ "value": "var(--a63-if-light, var(--surface-light-12)) var(--a63-if-dark, var(--surface-dark-12))"
22592
23445
  }
22593
23446
  ]
22594
23447
  },
@@ -22610,6 +23463,10 @@
22610
23463
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
22611
23464
  "value": "color-mix(in oklab, var(--a63-text-accent) 48%, var(--surface-dark-11))"
22612
23465
  },
23466
+ {
23467
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
23468
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-primary) 52%, black) ) var(--a63-if-dark, color-mix(in oklab, var(--a63-text-accent) 48%, var(--surface-dark-11)))"
23469
+ },
22613
23470
  {
22614
23471
  "scope": ":is(.dark, [data-a63-mode='dark'])",
22615
23472
  "value": "var(--surface-dark-11)"
@@ -22617,6 +23474,10 @@
22617
23474
  {
22618
23475
  "scope": ":root, .light, [data-a63-mode='light']",
22619
23476
  "value": "var(--surface-light-11)"
23477
+ },
23478
+ {
23479
+ "scope": "[data-a63-brand], [data-a63-surface]",
23480
+ "value": "var(--a63-if-light, var(--surface-light-11)) var(--a63-if-dark, var(--surface-dark-11))"
22620
23481
  }
22621
23482
  ]
22622
23483
  },
@@ -22638,6 +23499,10 @@
22638
23499
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
22639
23500
  "value": "color-mix(in oklab, var(--a63-text-accent) 40%, var(--surface-dark-10))"
22640
23501
  },
23502
+ {
23503
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
23504
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-primary) 80%, black) ) var(--a63-if-dark, color-mix(in oklab, var(--a63-text-accent) 40%, var(--surface-dark-10)))"
23505
+ },
22641
23506
  {
22642
23507
  "scope": ":is(.dark, [data-a63-mode='dark'])",
22643
23508
  "value": "color-mix(in oklab, var(--surface-dark-11) 30%, var(--surface-dark-10))"
@@ -22645,6 +23510,10 @@
22645
23510
  {
22646
23511
  "scope": ":root, .light, [data-a63-mode='light']",
22647
23512
  "value": "color-mix(in oklab, var(--surface-light-11) 70%, var(--surface-light-10))"
23513
+ },
23514
+ {
23515
+ "scope": "[data-a63-brand], [data-a63-surface]",
23516
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--surface-light-11) 70%, var(--surface-light-10)) ) var(--a63-if-dark, color-mix(in oklab, var(--surface-dark-11) 30%, var(--surface-dark-10)))"
22648
23517
  }
22649
23518
  ]
22650
23519
  },
@@ -22734,6 +23603,10 @@
22734
23603
  "scope": ":root, .light, [data-a63-mode='light']",
22735
23604
  "value": "var(--a63-action-neutral)"
22736
23605
  },
23606
+ {
23607
+ "scope": "[data-a63-brand], [data-a63-surface]",
23608
+ "value": "var(--a63-action-neutral)"
23609
+ },
22737
23610
  {
22738
23611
  "scope": "[data-a63-theme='terminal']:is(:root, .light, [data-a63-mode='light']), [data-a63-theme='terminal'] :is(.light, [data-a63-mode='light'])",
22739
23612
  "value": "var(--a63-text-primary)"
@@ -22741,6 +23614,10 @@
22741
23614
  {
22742
23615
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
22743
23616
  "value": "var(--a63-text-primary)"
23617
+ },
23618
+ {
23619
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
23620
+ "value": "var(--a63-text-primary)"
22744
23621
  }
22745
23622
  ]
22746
23623
  },
@@ -22762,6 +23639,10 @@
22762
23639
  "scope": ":root, .light, [data-a63-mode='light']",
22763
23640
  "value": "var(--a63-action-neutral-foreground)"
22764
23641
  },
23642
+ {
23643
+ "scope": "[data-a63-brand], [data-a63-surface]",
23644
+ "value": "var(--a63-action-neutral-foreground)"
23645
+ },
22765
23646
  {
22766
23647
  "scope": "[data-a63-theme='terminal']:is(:root, .light, [data-a63-mode='light']), [data-a63-theme='terminal'] :is(.light, [data-a63-mode='light'])",
22767
23648
  "value": "var(--a63-surface-page)"
@@ -22769,6 +23650,10 @@
22769
23650
  {
22770
23651
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
22771
23652
  "value": "var(--a63-surface-page)"
23653
+ },
23654
+ {
23655
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
23656
+ "value": "var(--a63-surface-page)"
22772
23657
  }
22773
23658
  ]
22774
23659
  },
@@ -23316,6 +24201,86 @@
23316
24201
  }
23317
24202
  ]
23318
24203
  },
24204
+ {
24205
+ "cssVar": "--a63-type-display-hero-font-size",
24206
+ "figma": {
24207
+ "collection": "Semantic",
24208
+ "path": "type/display/hero/font/size"
24209
+ },
24210
+ "layer": "semantic",
24211
+ "swift": null,
24212
+ "type": "typography",
24213
+ "values": [
24214
+ {
24215
+ "scope": ":root, [data-window-size], [data-a63-form-factor]",
24216
+ "value": "clamp( var(--typography-10xl-font-size), calc(1.5rem + 3.4vw), calc(72px * var(--typography-scale, 1)) )"
24217
+ }
24218
+ ]
24219
+ },
24220
+ {
24221
+ "cssVar": "--a63-type-display-hero-font-weight",
24222
+ "figma": {
24223
+ "collection": "Semantic",
24224
+ "path": "type/display/hero/font/weight"
24225
+ },
24226
+ "layer": "semantic",
24227
+ "swift": null,
24228
+ "type": "typography",
24229
+ "values": [
24230
+ {
24231
+ "scope": ":root, [data-window-size], [data-a63-form-factor]",
24232
+ "value": "600"
24233
+ }
24234
+ ]
24235
+ },
24236
+ {
24237
+ "cssVar": "--a63-type-display-hero-font-weight-strong",
24238
+ "figma": {
24239
+ "collection": "Semantic",
24240
+ "path": "type/display/hero/font/weight/strong"
24241
+ },
24242
+ "layer": "semantic",
24243
+ "swift": null,
24244
+ "type": "typography",
24245
+ "values": [
24246
+ {
24247
+ "scope": ":root, [data-window-size], [data-a63-form-factor]",
24248
+ "value": "700"
24249
+ }
24250
+ ]
24251
+ },
24252
+ {
24253
+ "cssVar": "--a63-type-display-hero-letter-spacing",
24254
+ "figma": {
24255
+ "collection": "Semantic",
24256
+ "path": "type/display/hero/letter/spacing"
24257
+ },
24258
+ "layer": "semantic",
24259
+ "swift": null,
24260
+ "type": "typography",
24261
+ "values": [
24262
+ {
24263
+ "scope": ":root, [data-window-size], [data-a63-form-factor]",
24264
+ "value": "-0.045em"
24265
+ }
24266
+ ]
24267
+ },
24268
+ {
24269
+ "cssVar": "--a63-type-display-hero-line-height",
24270
+ "figma": {
24271
+ "collection": "Semantic",
24272
+ "path": "type/display/hero/line/height"
24273
+ },
24274
+ "layer": "semantic",
24275
+ "swift": null,
24276
+ "type": "typography",
24277
+ "values": [
24278
+ {
24279
+ "scope": ":root, [data-window-size], [data-a63-form-factor]",
24280
+ "value": "calc(var(--a63-type-display-hero-font-size) * 1.05)"
24281
+ }
24282
+ ]
24283
+ },
23319
24284
  {
23320
24285
  "cssVar": "--a63-type-display-large-font-size",
23321
24286
  "figma": {
@@ -23364,6 +24329,22 @@
23364
24329
  }
23365
24330
  ]
23366
24331
  },
24332
+ {
24333
+ "cssVar": "--a63-type-display-large-letter-spacing",
24334
+ "figma": {
24335
+ "collection": "Semantic",
24336
+ "path": "type/display/large/letter/spacing"
24337
+ },
24338
+ "layer": "semantic",
24339
+ "swift": null,
24340
+ "type": "typography",
24341
+ "values": [
24342
+ {
24343
+ "scope": ":root, [data-window-size], [data-a63-form-factor]",
24344
+ "value": "-0.04em"
24345
+ }
24346
+ ]
24347
+ },
23367
24348
  {
23368
24349
  "cssVar": "--a63-type-display-large-line-height",
23369
24350
  "figma": {
@@ -23380,6 +24361,22 @@
23380
24361
  }
23381
24362
  ]
23382
24363
  },
24364
+ {
24365
+ "cssVar": "--a63-type-display-letter-spacing",
24366
+ "figma": {
24367
+ "collection": "Semantic",
24368
+ "path": "type/display/letter/spacing"
24369
+ },
24370
+ "layer": "semantic",
24371
+ "swift": null,
24372
+ "type": "typography",
24373
+ "values": [
24374
+ {
24375
+ "scope": ":root, [data-window-size], [data-a63-form-factor]",
24376
+ "value": "-0.03em"
24377
+ }
24378
+ ]
24379
+ },
23383
24380
  {
23384
24381
  "cssVar": "--a63-type-display-line-height",
23385
24382
  "figma": {
@@ -23934,6 +24931,10 @@
23934
24931
  {
23935
24932
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
23936
24933
  "value": "color-mix(in oklch, var(--a63-action-primary) 22%, black 78%)"
24934
+ },
24935
+ {
24936
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
24937
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-primary) 34%, white 66%) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 22%, black 78%))"
23937
24938
  }
23938
24939
  ]
23939
24940
  },
@@ -23955,6 +24956,10 @@
23955
24956
  "scope": "[data-a63-theme='aqua']:is(.dark, [data-a63-mode='dark'])",
23956
24957
  "value": "radial-gradient( 120% 90% at 10% 0%, color-mix(in oklab, white 18%, transparent), transparent 48% ), radial-gradient( 88% 110% at 100% 0%, color-mix(in oklab, var(--a63-action-primary) 30%, transparent), transparent 58% ), linear-gradient( 135deg, color-mix(in oklab, var(--a63-action-primary) 58%, var(--surface-dark-6) 42%), color-mix(in oklab, var(--a63-action-primary) 36%, var(--surface-dark-3) 64%) )"
23957
24958
  },
24959
+ {
24960
+ "scope": "[data-a63-theme='aqua']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='aqua'] :is([data-a63-brand], [data-a63-surface])",
24961
+ "value": "var( --a63-if-light, radial-gradient( 120% 90% at 10% 0%, color-mix(in oklch, white 28%, transparent), transparent 48% ), radial-gradient( 78% 100% at 100% 0%, color-mix(in oklch, var(--a63-action-primary) 32%, transparent), transparent 58% ), linear-gradient( 135deg, color-mix(in oklch, var(--a63-action-primary) 78%, white 10%), color-mix(in oklch, var(--a63-action-primary) 70%, var(--color-b1-900) 30%) ) ) var( --a63-if-dark, radial-gradient( 120% 90% at 10% 0%, color-mix(in oklab, white 18%, transparent), transparent 48% ), radial-gradient( 88% 110% at 100% 0%, color-mix(in oklab, var(--a63-action-primary) 30%, transparent), transparent 58% ), linear-gradient( 135deg, color-mix(in oklab, var(--a63-action-primary) 58%, var(--surface-dark-6) 42%), color-mix(in oklab, var(--a63-action-primary) 36%, var(--surface-dark-3) 64%) ) )"
24962
+ },
23958
24963
  {
23959
24964
  "scope": "[data-a63-theme='retro']",
23960
24965
  "value": "linear-gradient(135deg, color-mix(in oklab, white 22%, transparent), transparent 44%), linear-gradient( 135deg, color-mix(in oklab, var(--a63-action-primary) 58%, var(--a63-surface-panel)), color-mix(in oklab, var(--a63-action-primary) 68%, var(--a63-text-primary)) )"
@@ -23966,6 +24971,10 @@
23966
24971
  {
23967
24972
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
23968
24973
  "value": "linear-gradient(color-mix(in oklch, var(--a63-action-primary) 12%, transparent), transparent), linear-gradient( 135deg, color-mix(in oklch, var(--a63-action-primary) 30%, black 70%), color-mix(in oklch, var(--a63-action-primary) 16%, black 84%) )"
24974
+ },
24975
+ {
24976
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
24977
+ "value": "var( --a63-if-light, linear-gradient(color-mix(in oklch, var(--a63-action-primary) 18%, transparent), transparent), linear-gradient( 135deg, color-mix(in oklch, var(--a63-action-primary) 48%, white 52%), color-mix(in oklch, var(--a63-action-primary) 36%, white 64%) ) ) var( --a63-if-dark, linear-gradient(color-mix(in oklch, var(--a63-action-primary) 12%, transparent), transparent), linear-gradient( 135deg, color-mix(in oklch, var(--a63-action-primary) 30%, black 70%), color-mix(in oklch, var(--a63-action-primary) 16%, black 84%) ) )"
23969
24978
  }
23970
24979
  ]
23971
24980
  },
@@ -23991,6 +25000,10 @@
23991
25000
  "scope": "[data-a63-theme='aqua']:is(.dark, [data-a63-mode='dark'])",
23992
25001
  "value": "color-mix(in oklch, white 14%, transparent)"
23993
25002
  },
25003
+ {
25004
+ "scope": "[data-a63-theme='aqua']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='aqua'] :is([data-a63-brand], [data-a63-surface])",
25005
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-primary) 32%, transparent) ) var(--a63-if-dark, color-mix(in oklch, white 14%, transparent))"
25006
+ },
23994
25007
  {
23995
25008
  "scope": "[data-a63-theme='retro']",
23996
25009
  "value": "color-mix( in oklab, var(--a63-action-primary) 44%, var(--a63-border-subtle) )"
@@ -24190,6 +25203,10 @@
24190
25203
  {
24191
25204
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
24192
25205
  "value": "color-mix(in oklch, var(--a63-action-primary) 36%, transparent)"
25206
+ },
25207
+ {
25208
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
25209
+ "value": "var( --a63-if-light, color-mix(in oklch, var(--a63-action-primary) 38%, transparent) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 36%, transparent))"
24193
25210
  }
24194
25211
  ]
24195
25212
  },
@@ -24222,6 +25239,10 @@
24222
25239
  {
24223
25240
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
24224
25241
  "value": "color-mix(in oklch, var(--a63-action-primary) 26%, white 74%)"
25242
+ },
25243
+ {
25244
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
25245
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--a63-action-primary) 82%, var(--surface-light-12)) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-action-primary) 26%, white 74%))"
24225
25246
  }
24226
25247
  ]
24227
25248
  },
@@ -24254,6 +25275,10 @@
24254
25275
  {
24255
25276
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
24256
25277
  "value": "color-mix(in oklch, var(--a63-text-accent) 54%, white 46%)"
25278
+ },
25279
+ {
25280
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
25281
+ "value": "var( --a63-if-light, color-mix(in oklab, var(--a63-action-primary) 58%, var(--surface-light-10)) ) var(--a63-if-dark, color-mix(in oklch, var(--a63-text-accent) 54%, white 46%))"
24257
25282
  }
24258
25283
  ]
24259
25284
  },
@@ -24286,6 +25311,10 @@
24286
25311
  {
24287
25312
  "scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])",
24288
25313
  "value": "0 0 8px color-mix(in oklch, var(--a63-action-primary) 38%, transparent)"
25314
+ },
25315
+ {
25316
+ "scope": "[data-a63-theme='terminal']:is([data-a63-brand], [data-a63-surface]), [data-a63-theme='terminal'] :is([data-a63-brand], [data-a63-surface])",
25317
+ "value": "var( --a63-if-light, 0 0 10px color-mix(in oklch, var(--a63-action-primary) 22%, transparent) ) var(--a63-if-dark, 0 0 8px color-mix(in oklch, var(--a63-action-primary) 38%, transparent))"
24289
25318
  }
24290
25319
  ]
24291
25320
  },
@@ -24456,6 +25485,10 @@
24456
25485
  {
24457
25486
  "scope": ":root, .light, [data-a63-mode='light']",
24458
25487
  "value": "0 0 0 1px color-mix(in oklch, black 8%, transparent), 0 1px 0 color-mix(in oklch, white 45%, transparent) inset, 0 10px 16px -10px color-mix(in oklch, black 22%, transparent), 0 22px 34px -16px color-mix(in oklch, black 26%, transparent)"
25488
+ },
25489
+ {
25490
+ "scope": "[data-a63-brand], [data-a63-surface]",
25491
+ "value": "var( --a63-if-light, 0 0 0 1px color-mix(in oklch, black 8%, transparent), 0 1px 0 color-mix(in oklch, white 45%, transparent) inset, 0 10px 16px -10px color-mix(in oklch, black 22%, transparent), 0 22px 34px -16px color-mix(in oklch, black 26%, transparent) ) var( --a63-if-dark, 0 0 0 1px color-mix(in oklch, white 10%, transparent), 0 1px 0 color-mix(in oklch, white 8%, transparent) inset, 0 10px 16px -10px color-mix(in oklch, black 50%, transparent), 0 22px 34px -16px color-mix(in oklch, black 62%, transparent) )"
24459
25492
  }
24460
25493
  ]
24461
25494
  },
@@ -24476,6 +25509,10 @@
24476
25509
  {
24477
25510
  "scope": ":root, .light, [data-a63-mode='light']",
24478
25511
  "value": "0 0 0 1px color-mix(in oklch, black 12%, transparent), 0 1px 0 color-mix(in oklch, white 60%, transparent) inset, 0 1px 1px color-mix(in oklch, black 12%, transparent), 0 14px 22px -10px color-mix(in oklch, black 26%, transparent), 0 32px 48px -18px color-mix(in oklch, black 30%, transparent)"
25512
+ },
25513
+ {
25514
+ "scope": "[data-a63-brand], [data-a63-surface]",
25515
+ "value": "var( --a63-if-light, 0 0 0 1px color-mix(in oklch, black 12%, transparent), 0 1px 0 color-mix(in oklch, white 60%, transparent) inset, 0 1px 1px color-mix(in oklch, black 12%, transparent), 0 14px 22px -10px color-mix(in oklch, black 26%, transparent), 0 32px 48px -18px color-mix(in oklch, black 30%, transparent) ) var( --a63-if-dark, 0 0 0 1px color-mix(in oklch, white 16%, transparent), 0 1px 0 color-mix(in oklch, white 12%, transparent) inset, 0 1px 1px color-mix(in oklch, black 35%, transparent), 0 14px 22px -10px color-mix(in oklch, black 58%, transparent), 0 32px 48px -18px color-mix(in oklch, black 72%, transparent) )"
24479
25516
  }
24480
25517
  ]
24481
25518
  },