From 399c188b22d78b99b70796055417da27996e997e Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 29 Oct 2026 10:36:19 -0400 Subject: [PATCH 01/21] docs(gamut-docs): add the color system concept page Co-Authored-By: Claude Opus 5.5 --- .../src/content/docs/concepts/color-system.md | 283 ++++++++++++++++++ .../src/content/docs/concepts/index.md | 1 + 2 files changed, 284 insertions(+) create mode 100644 packages/gamut-docs/src/content/docs/concepts/color-system.md diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md new file mode 100644 index 0000000000..6e15bf3660 --- /dev/null +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -0,0 +1,283 @@ +--- +title: Color system +description: How Gamut generates its colors from a few brand hues, checks them, and ships them as roles for light and dark mode. +--- + +Gamut's colors come from a generator in `@skillsoft/gamut-styles`. A brand supplies a few hues. The generator turns them into a palette, maps the palette onto named roles for light and dark mode, checks every pairing for contrast, and writes the result as CSS, JSON and TypeScript. Components and app code use the role names. + +This page covers the generated system. The [Color modes](/concepts/color-modes/) page still describes the older alias names (`text`, `background`, `primary`). + +## How it works + +Each step feeds the next one: + +1. A brand names a hue for each slot. +2. The generator builds a palette of 11 grades per slot. +3. Roles point at palette colors, once per mode. +4. The build checks contrast and stops if anything fails. +5. The build writes `tokens.css`, DTCG JSON and TypeScript constants. +6. `GamutProvider` puts `tokens.css` on the page. +7. HTML attributes pick the mode and the brand. + +The generator lives in `packages/gamut-styles/src/colorSystem/`, and its output is checked in at `packages/gamut-styles/src/tokens/generated/`. + +### Brand inputs + +A brand is a `BrandInput` object with a name and a hue for each of eight slots. A new brand needs only this object, with no hand-written theme or alias table. The slots are: + +- `neutral-light` and `neutral-dark`, for surfaces, text and borders +- `primary`, for actions, links and focus rings +- `accent` and `accent-alt`, for brand gradients and charts +- `danger`, `warning` and `success`, for status + +Only `primary` is required. A brand that leaves out its neutrals gets neutrals derived from the primary hue. A brand that leaves out a status or accent slot gets Gamut's default hue for it, so red still means error. + +The generator keeps only the hue of each input. `#3A10E5` means "this blue-violet hue", and the generator decides how light and how colorful each step is. + +```ts +export const originalCodecademyBrand: BrandInput = { + name: 'originalCodecademy', + hues: { + 'neutral-light': '#FFF0E5', + 'neutral-dark': '#10162F', + primary: '#3A10E5', + accent: '#FFD300', + // ... + }, +}; +``` + +When a brand has to keep an exact color the generator wouldn't produce, it can add overrides. An override pins a palette step to a hex value, points a role at a different palette color in one mode, or moves a gradient's colors to another slot. Original Codecademy uses overrides to keep its exact navy, beige and yellow, and to make dark mode's primary action yellow. Overrides go through the same checks as everything else. + +Two brands ship today: + +- `skillsoft`, the default. Its theme is `skillsoftTheme`. +- `originalCodecademy`, the old Core theme rebuilt as a brand. Its theme is `originalCodecademyTheme`. + +### Palette + +Each slot becomes a ramp of 11 grades, from `100` (lightest) to `1100` (darkest). The generator works in [OKLCH](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/oklch), a way of writing a color as lightness, chroma (how colorful it is) and hue. OKLCH lightness matches how bright people see a color, so two colors with the same lightness look equally light whatever their hue. + +Every grade has a fixed lightness, and that lightness is the same in every slot and every brand. Chroma is a share of the most color a screen can show at that lightness and hue. Because lightness is fixed, the contrast between two grades barely changes from brand to brand: `primary-800` on `neutral-light-100` has close to the same contrast whatever the primary hue is. That is what lets every brand share one role mapping. + +Palette colors are [CSS custom properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) named `--colors-palette--`, for example `--colors-palette-primary-800`. A few steps also come in translucent versions, such as `--colors-palette-primary-600-a6` at 6% opacity. `--colors-white` and `--colors-black` sit outside the ramps. Palette colors exist for the system to build roles from. Components don't use them. + +### Roles + +A role names a job and points at a palette color in each mode. There are 43 roles: + +| Family | Roles | Used for | +| ----------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | +| `surface-*` | `default`, `raised`, `sunken`, `success`, `warning`, `error`, `brand`, `brand-subtle` | Anything with a background: the page, cards, wells, status tints | +| `text-*` | `default`, `subtle`, `inverse`, `success`, `warning`, `error` | Text and icons | +| `border-*` | `strong`, `default`, `subtle` | Borders and dividers | +| `action-*` | `primary`, `danger` and `neutral`, each with `-hover` and `-pressed`; `disabled` | Interactive fills and inks: buttons, links, toggles | +| `state-*` | `hover`, `pressed`, `selected` | Translucent layers over elements that have no fill of their own | +| `viz-*` | `1` to `8` (categorical), `seq-1` to `seq-4` (sequential) | Charts | +| `backdrop` | | The dimmed layer behind a modal | + +Each role has one meaning. `surface-raised` is for cards, panels, dialogs and menus, and nothing else. The mapping is the same for every brand: `text-subtle` is `neutral-dark-800` in light mode and `neutral-light-400` in dark mode on every brand. Only the palette under it changes. + +Roles are custom properties named `--colors-`, for example `--colors-action-primary`. The two brand surfaces also have a gradient. `--colors-surface-brand` is the flat fallback color, and `--gradient-surface-brand` is the gradient to paint over it. The same goes for `surface-brand-subtle`. + +### Checks + +The build refuses to write any output if a check fails, for any brand, in either mode. It checks that: + +- every text role reaches a 4.5:1 [contrast ratio](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html) on the surfaces it's meant for; +- every border, action and chart role that carries meaning reaches 3:1, the [non-text contrast](https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html) minimum; +- the translucent `state-*` roles still meet those minimums once they're laid over each surface; +- `state-pressed` looks visibly different from `state-hover` on every surface; +- 210 text and icon pairings inside 25 real components, such as an `Alert` icon on its tint, meet their minimum. + +`border-subtle` and `action-disabled` are exempt from contrast, because one is decorative and the other marks an inactive control. Separation of the three status colors for people with color-vision deficiencies is measured and reported, but doesn't fail the build. + +To see the full report, run: + +```sh +yarn workspace @skillsoft/gamut-styles validate:tokens +``` + +The report runs every check a second time on the values read back out of `tokens.css`, so what ships is what was checked. + +### Outputs + +One source produces three outputs: + +| Output | Import | For | +| ------------ | ---------------------------------------------- | --------------------------------------------------------------- | +| `tokens.css` | `@skillsoft/gamut-styles/tokens.css` | Every color as a custom property | +| DTCG JSON | `@skillsoft/gamut-styles/tokens/*.tokens.json` | Tools outside JavaScript, such as Figma plugins and native apps | +| TS constants | `@skillsoft/gamut-styles/tokens` | Code that needs the values or the role table itself | + +The JSON follows the [Design Tokens Community Group](https://www.designtokens.org/) (DTCG) format, a shared JSON format for design tokens. There is one file each for the palette, light roles and dark roles, and each color is OKLCH with its hex value alongside. Other brands' files are under `@skillsoft/gamut-styles/tokens/brands/`. The TypeScript entry exports `palette`, `roles`, `gradients` and `contentModes`, and doesn't depend on React or Emotion. + +`tokens.css` puts every value inside a [cascade layer](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer) called `tokens`: + +```css +@layer reset, base, tokens, recipes, utilities; + +@layer tokens { + :root, + [data-brand='skillsoft'] { + --colors-palette-primary-800: oklch(0.4115 0.1767 262.4); + /* ... */ + } + :root, + [data-color-mode='light'] { + --colors-text-default: var(--colors-palette-neutral-dark-1000); + /* ... */ + } + [data-color-mode='dark'] { + --colors-text-default: var(--colors-palette-neutral-light-200); + /* ... */ + } + [data-brand='originalCodecademy'] { + /* this brand's palette */ + } +} +``` + +Styles inside a layer lose to styles outside any layer, whatever the selector. Emotion's styles and your own unlayered CSS override a token value without needing a more specific selector. + +### How the colors reach the page + +A theme built on the color system carries `tokens.css` as a string, and `GamutProvider` injects it as an Emotion global style, the same way it injects its reset and typography styles. A React app gets every color without loading a file, and the colors are in the server-rendered HTML too. + +The theme's own colors are `var()` names like `var(--colors-surface-raised)`, so `css()`, `variant()`, `states()` and system props keep working as they did before. + +If your app loads `tokens.css` itself, pass `useTokens={false}` to `GamutProvider` to skip the injected copy. Loading both does no harm, because the rules are identical. Pages without React or Emotion, such as plain HTML or email, can link `tokens.css` directly. + +### Modes and brands at runtime + +A mode switch is an HTML attribute. `data-color-mode="dark"` on any element points every role inside it at its dark-mode color, through plain CSS, and it nests as deep as you need. Each mode block also sets [`color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme), so scrollbars and native form controls follow the mode. The `ColorMode` component sets two attributes on its element, `data-color-mode` and `data-brand`. + +A brand switch is an attribute too. `data-brand="originalCodecademy"` swaps the palette, and the roles on top stay the same. + +The `Background` component decides its content mode at build time. For each of the 90 palette colors, the generator records whether light-mode or dark-mode content reads better on it. `Background` looks the answer up in that table instead of measuring contrast in the browser on every render. + +## Intended use + +### Pick a role by its job + +| Job | Role | +| ------------------------------------------- | ------------------------------------------------ | +| The page or a section's background | `surface-default` | +| A card, popover, menu or modal panel | `surface-raised` | +| An inset well or code block | `surface-sunken` | +| Body text and headings | `text-default` | +| Descriptions, metadata and helper text | `text-subtle` | +| Anything clickable | `action-*` | +| Hover and press on something with no fill | `state-hover`, `state-pressed`, `state-selected` | +| A border that carries meaning, like a field | `border-default` | +| A decorative divider | `border-subtle` | +| The dimmed layer behind a modal | `backdrop` | + +```tsx +import { Box, Text } from '@skillsoft/gamut'; + +const Card = () => ( + + Course progress + Updated 2 hours ago + +); +``` + +### Use `text-inverse` on filled controls + +A label on a filled action, such as `action-primary`, uses `text-inverse` in either mode. `text-inverse` is only checked against `action-primary`, `action-neutral` and `action-danger`. + +```tsx + + Start lesson + +``` + +### Pair a status tint with a status ink + +A status message is a tint behind and an ink on the icon. An error box uses `surface-error` for the background and `text-error` for the icon. The message itself stays `text-default`. Show warnings with an icon, not color alone. + +### Put colored sections inside `Background` + +`Background` paints a color and switches the mode inside it to whichever one reads better on that color. Inside, every role resolves in the new mode, so `text-default` stays readable without picking a mode by hand. + +```tsx +import { Background } from '@skillsoft/gamut-styles'; + +const PromoBand = ({ children }) => ( + + {children} + +); +``` + +### Use `viz-*` for charts + +Use `viz-1` to `viz-8` for categorical series and `viz-seq-1` to `viz-seq-4` for ordered steps from low to high. Don't rely on color alone to tell series apart; add labels, patterns or markers ([WCAG use of color](https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html)). For the same reason, links keep their underline. + +### Use roles, never palette colors + +Write `bg="surface-raised"`, not `bg="palette-neutral-light-100"`. A palette color is the same in every mode, so it doesn't change when the mode does, and it breaks dark mode. + +### Set up an app + +A React app gets the colors from `GamutProvider`. Pass the theme for your brand: + +```tsx +import { + GamutProvider, + originalCodecademyTheme, +} from '@skillsoft/gamut-styles'; + +export const App = ({ children }) => ( + {children} +); +``` + +Then put `data-brand` and `data-color-mode` on the `` element. Without them, everything outside a `ColorMode`, `` included, gets the default brand (`skillsoft`) in light mode. + +```html + +``` + +Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same two attributes. + +## Compared with the old color system + +### What stays the same + +- Themes are still variance themes, and components still style with `css()`, `variant()`, `states()` and system props. Only the color names change. +- Components still use names, not values. The old themes already handed components `var()` names, and the new ones do the same. +- Color modes still work through CSS custom properties and still nest. An attribute drives them now instead of an injected class. +- `GamutProvider`, `ColorMode` and `Background` keep the same props, and `GamutProvider` still delivers the colors. +- The old look comes back as brands. Original Codecademy is old Core rebuilt with the same navy, beige, hyper and yellow, and the same fonts and elevation. + +### What improves + +| | Old | New | +| ----------------- | ------------------------------------------------------- | ------------------------------------------------------------------- | +| Where values live | Emotion theme objects, written onto the page at runtime | One generated stylesheet, `tokens.css`, injected once | +| Mode switch | Every alias for the mode written into a new class | One attribute | +| `Background` | Contrast math on every render | A table decided at build time | +| Accessibility | Colors picked by hand and never checked | Every role pairing and 210 component pairings checked at build time | +| Names | Ambiguous: `background` is both the page and a card | One job each: `surface-default`, `surface-raised` | +| New brand | A hand-written theme and alias table | A few hues, checked automatically | +| Who can read it | JavaScript only | CSS, DTCG JSON and TypeScript from one source | +| Color space | Hex, tuned by hand per step | OKLCH with fixed lightness per grade, hex alongside in the JSON | + +### What costs more + +- Every color name changes. `text` becomes `text-default` and `primary` becomes `action-primary`. Some old names split into several roles depending on where they're used: `background` becomes `surface-raised` on a card and `surface-default` on the page, so a person has to choose each time. The type check fails on every old name until it's moved. +- Rebuilt themes aren't pixel-identical. Roles use the same grades on every brand, so some colors move noticeably even when the brand hues match the old theme. Overrides cover colors that have to stay exact. +- Only Original Codecademy is rebuilt so far. The Admin, Platform, Percipio and LX Studio themes still use the old names and haven't been rebuilt as brands. +- The browser floor goes up. `tokens.css` uses `oklch()`, [`color-mix()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix), `@layer` and [container query units](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries#container_query_length_units) with no hex fallback. Browsers older than about Chrome and Edge 111, Safari 16.2 or Firefox 113 get no color. Check [oklch support](https://caniuse.com/mdn-css_types_color_oklch) and [color-mix support](https://caniuse.com/mdn-css_types_color_color-mix) against your app's browser list. +- Any unlayered CSS overrides a token. That's on purpose, but a stray global rule can now change a color. +- Some pieces are missing. There is no shadow role yet. The chart colors use the order solved for Skillsoft's hues, so another brand gets that order without it being re-solved for its own hues. +- The Emotion theme carries sRGB copies of each color, because the [polished](https://polished.js.org/) library can't read OKLCH. Code that reads a color from the theme in JavaScript gets a very slightly different value from what's on screen. diff --git a/packages/gamut-docs/src/content/docs/concepts/index.md b/packages/gamut-docs/src/content/docs/concepts/index.md index fc02130aff..67dd34d79a 100644 --- a/packages/gamut-docs/src/content/docs/concepts/index.md +++ b/packages/gamut-docs/src/content/docs/concepts/index.md @@ -5,6 +5,7 @@ description: Background on how and why Gamut is built the way it is. Explanation: how and why the system is built the way it is, for when you want to understand rather than do. +- [Color system](/concepts/color-system/) - [Color modes](/concepts/color-modes/) - [Brand](/concepts/brand/) - [Best practices](/concepts/best-practices/) From ed1f8a644dfc9fbcb067c244a7d4a2ce675d0135 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 29 Oct 2026 10:39:24 -0400 Subject: [PATCH 02/21] docs(gamut-docs): list the rebuilt admin, platform, percipio and lxStudio brands Co-Authored-By: Claude Opus 5.5 --- .../gamut-docs/src/content/docs/concepts/color-system.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index 6e15bf3660..d72ef6fafb 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -49,10 +49,13 @@ export const originalCodecademyBrand: BrandInput = { When a brand has to keep an exact color the generator wouldn't produce, it can add overrides. An override pins a palette step to a hex value, points a role at a different palette color in one mode, or moves a gradient's colors to another slot. Original Codecademy uses overrides to keep its exact navy, beige and yellow, and to make dark mode's primary action yellow. Overrides go through the same checks as everything else. -Two brands ship today: +Six brands ship today: - `skillsoft`, the default. Its theme is `skillsoftTheme`. - `originalCodecademy`, the old Core theme rebuilt as a brand. Its theme is `originalCodecademyTheme`. +- `admin`, `platform`, `percipio` and `lxStudio`, the other old themes rebuilt the same way. Their themes keep their old names: `adminTheme`, `platformTheme`, `percipioTheme` and `lxStudioTheme`. + +Each rebuilt brand takes its colors from what its old theme showed in each job, and keeps that theme's fonts, weights and elevation. `platformTheme` still starts in dark mode and keeps its `editor-*` code editor colors, which aren't part of the generated system. ### Palette @@ -257,7 +260,7 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t - Components still use names, not values. The old themes already handed components `var()` names, and the new ones do the same. - Color modes still work through CSS custom properties and still nest. An attribute drives them now instead of an injected class. - `GamutProvider`, `ColorMode` and `Background` keep the same props, and `GamutProvider` still delivers the colors. -- The old look comes back as brands. Original Codecademy is old Core rebuilt with the same navy, beige, hyper and yellow, and the same fonts and elevation. +- The old look comes back as brands. Original Codecademy is old Core rebuilt with the same navy, beige, hyper and yellow, and the same fonts and elevation. Admin, Platform, Percipio and LX Studio are rebuilt the same way, under their old theme names. ### What improves @@ -276,7 +279,7 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t - Every color name changes. `text` becomes `text-default` and `primary` becomes `action-primary`. Some old names split into several roles depending on where they're used: `background` becomes `surface-raised` on a card and `surface-default` on the page, so a person has to choose each time. The type check fails on every old name until it's moved. - Rebuilt themes aren't pixel-identical. Roles use the same grades on every brand, so some colors move noticeably even when the brand hues match the old theme. Overrides cover colors that have to stay exact. -- Only Original Codecademy is rebuilt so far. The Admin, Platform, Percipio and LX Studio themes still use the old names and haven't been rebuilt as brands. +- Colors that only one old theme had are gone, such as Percipio's `percipioTextPrimary`. Use the role for the job instead. - The browser floor goes up. `tokens.css` uses `oklch()`, [`color-mix()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix), `@layer` and [container query units](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries#container_query_length_units) with no hex fallback. Browsers older than about Chrome and Edge 111, Safari 16.2 or Firefox 113 get no color. Check [oklch support](https://caniuse.com/mdn-css_types_color_oklch) and [color-mix support](https://caniuse.com/mdn-css_types_color_color-mix) against your app's browser list. - Any unlayered CSS overrides a token. That's on purpose, but a stray global rule can now change a color. - Some pieces are missing. There is no shadow role yet. The chart colors use the order solved for Skillsoft's hues, so another brand gets that order without it being re-solved for its own hues. From 41c22f7449eb1afe1f47e92b48296474588b836b Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 29 Oct 2026 12:10:01 -0400 Subject: [PATCH 03/21] docs(gamut-docs): navy and beige unpinned; status alerts carry their ink Co-Authored-By: Claude Opus 5.5 --- .../gamut-docs/src/content/docs/concepts/color-system.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index d72ef6fafb..710de81104 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -47,7 +47,7 @@ export const originalCodecademyBrand: BrandInput = { }; ``` -When a brand has to keep an exact color the generator wouldn't produce, it can add overrides. An override pins a palette step to a hex value, points a role at a different palette color in one mode, or moves a gradient's colors to another slot. Original Codecademy uses overrides to keep its exact navy, beige and yellow, and to make dark mode's primary action yellow. Overrides go through the same checks as everything else. +When a brand has to keep an exact color the generator wouldn't produce, it can add overrides. An override pins a palette step to a hex value, points a role at a different palette color in one mode, or moves a gradient's colors to another slot. Original Codecademy uses overrides to keep its exact yellow and to make dark mode's primary action yellow. Its navy and beige aren't pinned: exact, they carry far more chroma than the generated surfaces next to them, so the generated steps at their hues are used instead. Overrides go through the same checks as everything else. Six brands ship today: @@ -205,7 +205,7 @@ A label on a filled action, such as `action-primary`, uses `text-inverse` in eit ### Pair a status tint with a status ink -A status message is a tint behind and an ink on the icon. An error box uses `surface-error` for the background and `text-error` for the icon. The message itself stays `text-default`. Show warnings with an icon, not color alone. +A status message is a tint behind and an ink on top. An error box uses `surface-error` for the background and `text-error` for the icon and the message; each status ink clears text contrast on its own tint. A floating `Alert` takes the same ink on its border. Show warnings with an icon, not color alone. ### Put colored sections inside `Background` @@ -260,7 +260,7 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t - Components still use names, not values. The old themes already handed components `var()` names, and the new ones do the same. - Color modes still work through CSS custom properties and still nest. An attribute drives them now instead of an injected class. - `GamutProvider`, `ColorMode` and `Background` keep the same props, and `GamutProvider` still delivers the colors. -- The old look comes back as brands. Original Codecademy is old Core rebuilt with the same navy, beige, hyper and yellow, and the same fonts and elevation. Admin, Platform, Percipio and LX Studio are rebuilt the same way, under their old theme names. +- The old look comes back as brands. Original Codecademy is old Core rebuilt from its navy, beige, hyper and yellow, with the same fonts and elevation. Admin, Platform, Percipio and LX Studio are rebuilt the same way, under their old theme names. ### What improves From fcd29d17052b7b9d7163e0df6a9e0beadde13ead Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 4 Nov 2026 09:42:26 -0500 Subject: [PATCH 04/21] docs(gamut-docs): percipioTheme is removed; five brands ship Co-Authored-By: Claude Opus 5.5 --- .../gamut-docs/src/content/docs/concepts/color-system.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index 710de81104..ad7d470fa4 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -49,11 +49,11 @@ export const originalCodecademyBrand: BrandInput = { When a brand has to keep an exact color the generator wouldn't produce, it can add overrides. An override pins a palette step to a hex value, points a role at a different palette color in one mode, or moves a gradient's colors to another slot. Original Codecademy uses overrides to keep its exact yellow and to make dark mode's primary action yellow. Its navy and beige aren't pinned: exact, they carry far more chroma than the generated surfaces next to them, so the generated steps at their hues are used instead. Overrides go through the same checks as everything else. -Six brands ship today: +Five brands ship today: - `skillsoft`, the default. Its theme is `skillsoftTheme`. - `originalCodecademy`, the old Core theme rebuilt as a brand. Its theme is `originalCodecademyTheme`. -- `admin`, `platform`, `percipio` and `lxStudio`, the other old themes rebuilt the same way. Their themes keep their old names: `adminTheme`, `platformTheme`, `percipioTheme` and `lxStudioTheme`. +- `admin`, `platform` and `lxStudio`, the other old themes rebuilt the same way. Their themes keep their old names: `adminTheme`, `platformTheme` and `lxStudioTheme`. `percipioTheme` is removed. Each rebuilt brand takes its colors from what its old theme showed in each job, and keeps that theme's fonts, weights and elevation. `platformTheme` still starts in dark mode and keeps its `editor-*` code editor colors, which aren't part of the generated system. @@ -260,7 +260,7 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t - Components still use names, not values. The old themes already handed components `var()` names, and the new ones do the same. - Color modes still work through CSS custom properties and still nest. An attribute drives them now instead of an injected class. - `GamutProvider`, `ColorMode` and `Background` keep the same props, and `GamutProvider` still delivers the colors. -- The old look comes back as brands. Original Codecademy is old Core rebuilt from its navy, beige, hyper and yellow, with the same fonts and elevation. Admin, Platform, Percipio and LX Studio are rebuilt the same way, under their old theme names. +- The old look comes back as brands. Original Codecademy is old Core rebuilt from its navy, beige, hyper and yellow, with the same fonts and elevation. Admin, Platform and LX Studio are rebuilt the same way, under their old theme names. ### What improves @@ -279,7 +279,7 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t - Every color name changes. `text` becomes `text-default` and `primary` becomes `action-primary`. Some old names split into several roles depending on where they're used: `background` becomes `surface-raised` on a card and `surface-default` on the page, so a person has to choose each time. The type check fails on every old name until it's moved. - Rebuilt themes aren't pixel-identical. Roles use the same grades on every brand, so some colors move noticeably even when the brand hues match the old theme. Overrides cover colors that have to stay exact. -- Colors that only one old theme had are gone, such as Percipio's `percipioTextPrimary`. Use the role for the job instead. +- Colors that only one old theme had are gone, such as LX Studio's `lxStudioBgPrimary`. Use the role for the job instead. - The browser floor goes up. `tokens.css` uses `oklch()`, [`color-mix()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix), `@layer` and [container query units](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries#container_query_length_units) with no hex fallback. Browsers older than about Chrome and Edge 111, Safari 16.2 or Firefox 113 get no color. Check [oklch support](https://caniuse.com/mdn-css_types_color_oklch) and [color-mix support](https://caniuse.com/mdn-css_types_color_color-mix) against your app's browser list. - Any unlayered CSS overrides a token. That's on purpose, but a stray global rule can now change a color. - Some pieces are missing. There is no shadow role yet. The chart colors use the order solved for Skillsoft's hues, so another brand gets that order without it being re-solved for its own hues. From fe7333ee94e22f839974623eca86d03282628c6e Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 4 Nov 2026 09:43:14 -0500 Subject: [PATCH 05/21] docs(gamut-docs): color system page follows design's sandbox update - 45 roles: the shadow-* group (key, ambient, scrim) replaces backdrop. - surface-raised is the lighter surface step, not a depth; navs and headers are surface-default, fields surface-raised. - New guidance: raised surfaces take a border-subtle hairline, floating ones add a shadow, Card is default or brand. - Brand role overrides need both attributes on one element. - Elevation: old Core's hard offset for Original Codecademy, soft shadows elsewhere. Co-Authored-By: Claude Opus 5.5 --- .../src/content/docs/concepts/color-system.md | 37 ++++++++++++------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index ad7d470fa4..5593c3d9e8 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -55,7 +55,7 @@ Five brands ship today: - `originalCodecademy`, the old Core theme rebuilt as a brand. Its theme is `originalCodecademyTheme`. - `admin`, `platform` and `lxStudio`, the other old themes rebuilt the same way. Their themes keep their old names: `adminTheme`, `platformTheme` and `lxStudioTheme`. `percipioTheme` is removed. -Each rebuilt brand takes its colors from what its old theme showed in each job, and keeps that theme's fonts, weights and elevation. `platformTheme` still starts in dark mode and keeps its `editor-*` code editor colors, which aren't part of the generated system. +Each rebuilt brand takes its colors from what its old theme showed in each job, and keeps that theme's fonts and weights. Shadows are drawn in the shadow roles: Original Codecademy keeps old Core's hard offset, and every other brand uses a soft shadow. `platformTheme` still starts in dark mode and keeps its `editor-*` code editor colors, which aren't part of the generated system. ### Palette @@ -67,7 +67,7 @@ Palette colors are [CSS custom properties](https://developer.mozilla.org/en-US/d ### Roles -A role names a job and points at a palette color in each mode. There are 43 roles: +A role names a job and points at a palette color in each mode. There are 45 roles: | Family | Roles | Used for | | ----------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | @@ -77,12 +77,14 @@ A role names a job and points at a palette color in each mode. There are 43 role | `action-*` | `primary`, `danger` and `neutral`, each with `-hover` and `-pressed`; `disabled` | Interactive fills and inks: buttons, links, toggles | | `state-*` | `hover`, `pressed`, `selected` | Translucent layers over elements that have no fill of their own | | `viz-*` | `1` to `8` (categorical), `seq-1` to `seq-4` (sequential) | Charts | -| `backdrop` | | The dimmed layer behind a modal | +| `shadow-*` | `key`, `ambient`, `scrim` | Shadow colors and the dimmed layer behind a modal | -Each role has one meaning. `surface-raised` is for cards, panels, dialogs and menus, and nothing else. The mapping is the same for every brand: `text-subtle` is `neutral-dark-800` in light mode and `neutral-light-400` in dark mode on every brand. Only the palette under it changes. +Each role has one job. `surface-raised` is the lighter surface step: cards, menus, dialogs and form fields, and flat sections with a border. How high something sits comes from its shadow, not its fill. The mapping is the same for every brand: `text-subtle` is `neutral-dark-800` in light mode and `neutral-light-400` in dark mode on every brand. Only the palette under it changes. Roles are custom properties named `--colors-`, for example `--colors-action-primary`. The two brand surfaces also have a gradient. `--colors-surface-brand` is the flat fallback color, and `--gradient-surface-brand` is the gradient to paint over it. The same goes for `surface-brand-subtle`. +The shadow roles hold only color. Every elevation shadow has two layers, `shadow-key` for the tight edge and `shadow-ambient` for the soft falloff, and the elevation supplies the offset and blur. Raised and hover differ in geometry, not color. `shadow-scrim` is the dimmed layer behind a modal. The shadow alphas are design's current values and may still be tuned. + ### Checks The build refuses to write any output if a check fails, for any brand, in either mode. It checks that: @@ -93,7 +95,7 @@ The build refuses to write any output if a check fails, for any brand, in either - `state-pressed` looks visibly different from `state-hover` on every surface; - 210 text and icon pairings inside 25 real components, such as an `Alert` icon on its tint, meet their minimum. -`border-subtle` and `action-disabled` are exempt from contrast, because one is decorative and the other marks an inactive control. Separation of the three status colors for people with color-vision deficiencies is measured and reported, but doesn't fail the build. +`border-subtle`, `action-disabled` and the `shadow-*` roles are exempt from contrast: the first is decorative, the second marks an inactive control, and a shadow isn't something to read. Separation of the three status colors for people with color-vision deficiencies is measured and reported, but doesn't fail the build. To see the full report, run: @@ -153,11 +155,11 @@ If your app loads `tokens.css` itself, pass `useTokens={false}` to `GamutProvide ### Modes and brands at runtime -A mode switch is an HTML attribute. `data-color-mode="dark"` on any element points every role inside it at its dark-mode color, through plain CSS, and it nests as deep as you need. Each mode block also sets [`color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme), so scrollbars and native form controls follow the mode. The `ColorMode` component sets two attributes on its element, `data-color-mode` and `data-brand`. +A mode switch is an HTML attribute. The `ColorMode` component sets two attributes on its element, `data-color-mode` and `data-brand`, and every role inside it points at its color for that mode, through plain CSS. It nests as deep as you need. Each mode block also sets [`color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme), so scrollbars and native form controls follow the mode. -A brand switch is an attribute too. `data-brand="originalCodecademy"` swaps the palette, and the roles on top stay the same. +`data-brand` picks the palette. A brand's own role overrides, like Original Codecademy's yellow primary in dark mode, apply only where both attributes sit on the same element. Use `ColorMode`, or `Background` for a colored section; if you set the attributes by hand, set both on the same element. -The `Background` component decides its content mode at build time. For each of the 90 palette colors, the generator records whether light-mode or dark-mode content reads better on it. `Background` looks the answer up in that table instead of measuring contrast in the browser on every render. +The `Background` component decides its content mode at build time. For each of the 90 opaque palette colors (the 88 ramp steps, white and black), the generator records whether light-mode or dark-mode content reads better on it. `Background` looks the answer up in that table instead of measuring contrast in the browser on every render. ## Intended use @@ -165,16 +167,17 @@ The `Background` component decides its content mode at build time. For each of t | Job | Role | | ------------------------------------------- | ------------------------------------------------ | -| The page or a section's background | `surface-default` | -| A card, popover, menu or modal panel | `surface-raised` | +| The page, a nav or a header | `surface-default` | +| A card, popover, menu, modal panel or field | `surface-raised` | | An inset well or code block | `surface-sunken` | | Body text and headings | `text-default` | | Descriptions, metadata and helper text | `text-subtle` | | Anything clickable | `action-*` | | Hover and press on something with no fill | `state-hover`, `state-pressed`, `state-selected` | | A border that carries meaning, like a field | `border-default` | -| A decorative divider | `border-subtle` | -| The dimmed layer behind a modal | `backdrop` | +| A divider, or the edge of a floating panel | `border-subtle` | +| A shadow's two layers | `shadow-key`, `shadow-ambient` | +| The dimmed layer behind a modal | `shadow-scrim` | ```tsx import { Box, Text } from '@skillsoft/gamut'; @@ -193,6 +196,12 @@ const Card = () => ( ); ``` +### Give raised surfaces a hairline + +In light mode `surface-raised` is too close to the page to see on its own, so anything on it takes a `border-subtle` hairline. Floating surfaces, such as menus, popovers, tooltips and toasts, add a shadow that separates them from whatever is underneath. Field outlines and control strokes carry meaning, so they stay `border-default`. + +`Card` has two variants: `default` on `surface-raised`, and `brand`, the featured card on the brand gradient. Every card has the hairline. An interactive card adds the raised shadow at rest and, on hover, the `state-hover` layer and a deeper shadow; its border doesn't change. + ### Use `text-inverse` on filled controls A label on a filled action, such as `action-primary`, uses `text-inverse` in either mode. `text-inverse` is only checked against `action-primary`, `action-neutral` and `action-danger`. @@ -260,7 +269,7 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t - Components still use names, not values. The old themes already handed components `var()` names, and the new ones do the same. - Color modes still work through CSS custom properties and still nest. An attribute drives them now instead of an injected class. - `GamutProvider`, `ColorMode` and `Background` keep the same props, and `GamutProvider` still delivers the colors. -- The old look comes back as brands. Original Codecademy is old Core rebuilt from its navy, beige, hyper and yellow, with the same fonts and elevation. Admin, Platform and LX Studio are rebuilt the same way, under their old theme names. +- The old look comes back as brands. Original Codecademy is old Core rebuilt from its navy, beige, hyper and yellow, with the same fonts and old Core's hard offset shadow. Admin, Platform and LX Studio are rebuilt the same way, under their old theme names. ### What improves @@ -282,5 +291,5 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t - Colors that only one old theme had are gone, such as LX Studio's `lxStudioBgPrimary`. Use the role for the job instead. - The browser floor goes up. `tokens.css` uses `oklch()`, [`color-mix()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix), `@layer` and [container query units](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries#container_query_length_units) with no hex fallback. Browsers older than about Chrome and Edge 111, Safari 16.2 or Firefox 113 get no color. Check [oklch support](https://caniuse.com/mdn-css_types_color_oklch) and [color-mix support](https://caniuse.com/mdn-css_types_color_color-mix) against your app's browser list. - Any unlayered CSS overrides a token. That's on purpose, but a stray global rule can now change a color. -- Some pieces are missing. There is no shadow role yet. The chart colors use the order solved for Skillsoft's hues, so another brand gets that order without it being re-solved for its own hues. +- Some pieces are missing. Shadow geometry lives in each brand's theme for now, and floating surfaces borrow the raised shadow until there's an overlay depth. The chart colors use the order solved for Skillsoft's hues, so another brand gets that order without it being re-solved for its own hues. - The Emotion theme carries sRGB copies of each color, because the [polished](https://polished.js.org/) library can't read OKLCH. Code that reads a color from the theme in JavaScript gets a very slightly different value from what's on screen. From bdab7845a235571c486bc933b811200a8ba9d0e8 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 4 Nov 2026 10:17:38 -0500 Subject: [PATCH 06/21] docs(gamut-docs): skillsoftTheme replaces percipioTheme; 204 component pairings Co-Authored-By: Claude Opus 5.5 --- .../gamut-docs/src/content/docs/concepts/color-system.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index 5593c3d9e8..805f4dedde 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -51,9 +51,9 @@ When a brand has to keep an exact color the generator wouldn't produce, it can a Five brands ship today: -- `skillsoft`, the default. Its theme is `skillsoftTheme`. +- `skillsoft`, the default, which replaces Percipio. Its theme is `skillsoftTheme`: Percipio's fonts, font weights and resting shadow, with colors generated from the Skillsoft brand's hues. - `originalCodecademy`, the old Core theme rebuilt as a brand. Its theme is `originalCodecademyTheme`. -- `admin`, `platform` and `lxStudio`, the other old themes rebuilt the same way. Their themes keep their old names: `adminTheme`, `platformTheme` and `lxStudioTheme`. `percipioTheme` is removed. +- `admin`, `platform` and `lxStudio`, the other old themes rebuilt the same way. Their themes keep their old names: `adminTheme`, `platformTheme` and `lxStudioTheme`. `percipioTheme` is removed; use `skillsoftTheme` instead. Each rebuilt brand takes its colors from what its old theme showed in each job, and keeps that theme's fonts and weights. Shadows are drawn in the shadow roles: Original Codecademy keeps old Core's hard offset, and every other brand uses a soft shadow. `platformTheme` still starts in dark mode and keeps its `editor-*` code editor colors, which aren't part of the generated system. @@ -93,7 +93,7 @@ The build refuses to write any output if a check fails, for any brand, in either - every border, action and chart role that carries meaning reaches 3:1, the [non-text contrast](https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html) minimum; - the translucent `state-*` roles still meet those minimums once they're laid over each surface; - `state-pressed` looks visibly different from `state-hover` on every surface; -- 210 text and icon pairings inside 25 real components, such as an `Alert` icon on its tint, meet their minimum. +- 204 text and icon pairings inside 25 real components, such as an `Alert` icon on its tint, meet their minimum. `border-subtle`, `action-disabled` and the `shadow-*` roles are exempt from contrast: the first is decorative, the second marks an inactive control, and a shadow isn't something to read. Separation of the three status colors for people with color-vision deficiencies is measured and reported, but doesn't fail the build. @@ -278,7 +278,7 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t | Where values live | Emotion theme objects, written onto the page at runtime | One generated stylesheet, `tokens.css`, injected once | | Mode switch | Every alias for the mode written into a new class | One attribute | | `Background` | Contrast math on every render | A table decided at build time | -| Accessibility | Colors picked by hand and never checked | Every role pairing and 210 component pairings checked at build time | +| Accessibility | Colors picked by hand and never checked | Every role pairing and 204 component pairings checked at build time | | Names | Ambiguous: `background` is both the page and a card | One job each: `surface-default`, `surface-raised` | | New brand | A hand-written theme and alias table | A few hues, checked automatically | | Who can read it | JavaScript only | CSS, DTCG JSON and TypeScript from one source | From ed870410978c880bb7032f139a8c6908457e41a7 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 5 Nov 2026 11:28:23 -0500 Subject: [PATCH 07/21] docs(gamut-docs): color system page covers per-brand CSS and building your own brand Co-Authored-By: Claude Opus 5.5 --- .../src/content/docs/concepts/color-system.md | 115 +++++++++++++----- 1 file changed, 82 insertions(+), 33 deletions(-) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index 805f4dedde..8e64ec4537 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -3,7 +3,7 @@ title: Color system description: How Gamut generates its colors from a few brand hues, checks them, and ships them as roles for light and dark mode. --- -Gamut's colors come from a generator in `@skillsoft/gamut-styles`. A brand supplies a few hues. The generator turns them into a palette, maps the palette onto named roles for light and dark mode, checks every pairing for contrast, and writes the result as CSS, JSON and TypeScript. Components and app code use the role names. +Gamut's colors come from a generator in `@skillsoft/gamut-brand`. A brand supplies a few hues. The generator turns them into a palette, maps the palette onto named roles for light and dark mode, checks every pairing for contrast, and writes the result as CSS, JSON and TypeScript. Components and app code use the role names. `@skillsoft/gamut-styles` ships the result for Gamut's own brands, so an app on one of them never runs the generator. A team that wants its own colors runs it at build time; see [Build your own brand](#build-your-own-brand). This page covers the generated system. The [Color modes](/concepts/color-modes/) page still describes the older alias names (`text`, `background`, `primary`). @@ -15,11 +15,11 @@ Each step feeds the next one: 2. The generator builds a palette of 11 grades per slot. 3. Roles point at palette colors, once per mode. 4. The build checks contrast and stops if anything fails. -5. The build writes `tokens.css`, DTCG JSON and TypeScript constants. -6. `GamutProvider` puts `tokens.css` on the page. -7. HTML attributes pick the mode and the brand. +5. The build writes each brand's `tokens.css`, DTCG JSON and TypeScript constants. +6. `GamutProvider` puts the theme's brand's `tokens.css` on the page. +7. HTML attributes switch the mode inside the page. -The generator lives in `packages/gamut-styles/src/colorSystem/`, and its output is checked in at `packages/gamut-styles/src/tokens/generated/`. +The generator lives in `packages/gamut-brand/src/`, and the output for Gamut's brands is checked in at `packages/gamut-styles/src/tokens/generated//`. ### Brand inputs @@ -34,6 +34,8 @@ Only `primary` is required. A brand that leaves out its neutrals gets neutrals d The generator keeps only the hue of each input. `#3A10E5` means "this blue-violet hue", and the generator decides how light and how colorful each step is. +A brand can also set `initialMode`, `'light'` or `'dark'`, the mode a page starts in. It defaults to `'light'`. + ```ts export const originalCodecademyBrand: BrandInput = { name: 'originalCodecademy', @@ -55,7 +57,7 @@ Five brands ship today: - `originalCodecademy`, the old Core theme rebuilt as a brand. Its theme is `originalCodecademyTheme`. - `admin`, `platform` and `lxStudio`, the other old themes rebuilt the same way. Their themes keep their old names: `adminTheme`, `platformTheme` and `lxStudioTheme`. `percipioTheme` is removed; use `skillsoftTheme` instead. -Each rebuilt brand takes its colors from what its old theme showed in each job, and keeps that theme's fonts and weights. Shadows are drawn in the shadow roles: Original Codecademy keeps old Core's hard offset, and every other brand uses a soft shadow. `platformTheme` still starts in dark mode and keeps its `editor-*` code editor colors, which aren't part of the generated system. +Each rebuilt brand takes its colors from what its old theme showed in each job, and keeps that theme's fonts and weights. Shadows are drawn in the shadow roles: Original Codecademy keeps old Core's hard offset, and every other brand uses a soft shadow. The `platform` brand starts in dark mode, and `platformTheme` keeps its `editor-*` code editor colors, which aren't part of the generated system. ### Palette @@ -87,7 +89,7 @@ The shadow roles hold only color. Every elevation shadow has two layers, `shadow ### Checks -The build refuses to write any output if a check fails, for any brand, in either mode. It checks that: +The generator refuses to write a brand's files if a check fails, in either mode. It checks that: - every text role reaches a 4.5:1 [contrast ratio](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html) on the surfaces it's meant for; - every border, action and chart role that carries meaning reaches 3:1, the [non-text contrast](https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html) minimum; @@ -97,35 +99,35 @@ The build refuses to write any output if a check fails, for any brand, in either `border-subtle`, `action-disabled` and the `shadow-*` roles are exempt from contrast: the first is decorative, the second marks an inactive control, and a shadow isn't something to read. Separation of the three status colors for people with color-vision deficiencies is measured and reported, but doesn't fail the build. -To see the full report, run: +The generator runs every check a second time on the values read back out of the brand's own `tokens.css`, so what ships is what was checked. To see the full report for Gamut's brands, run: ```sh yarn workspace @skillsoft/gamut-styles validate:tokens ``` -The report runs every check a second time on the values read back out of `tokens.css`, so what ships is what was checked. - ### Outputs -One source produces three outputs: +Each brand gets its own set of three outputs. No file holds more than one brand: -| Output | Import | For | -| ------------ | ---------------------------------------------- | --------------------------------------------------------------- | -| `tokens.css` | `@skillsoft/gamut-styles/tokens.css` | Every color as a custom property | -| DTCG JSON | `@skillsoft/gamut-styles/tokens/*.tokens.json` | Tools outside JavaScript, such as Figma plugins and native apps | -| TS constants | `@skillsoft/gamut-styles/tokens` | Code that needs the values or the role table itself | +| Output | Import | For | +| ------------ | ------------------------------------------------------------------------- | --------------------------------------------------------------- | +| `tokens.css` | `@skillsoft/gamut-styles/tokens/.css` | The brand's colors as custom properties | +| DTCG JSON | `@skillsoft/gamut-styles/tokens//{palette,light,dark}.tokens.json` | Tools outside JavaScript, such as Figma plugins and native apps | +| TS constants | `@skillsoft/gamut-styles/tokens` | Code that needs the values or the role table itself | -The JSON follows the [Design Tokens Community Group](https://www.designtokens.org/) (DTCG) format, a shared JSON format for design tokens. There is one file each for the palette, light roles and dark roles, and each color is OKLCH with its hex value alongside. Other brands' files are under `@skillsoft/gamut-styles/tokens/brands/`. The TypeScript entry exports `palette`, `roles`, `gradients` and `contentModes`, and doesn't depend on React or Emotion. +`@skillsoft/gamut-styles/tokens.css` is the default brand's file, `skillsoft`. -`tokens.css` puts every value inside a [cascade layer](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer) called `tokens`: +The JSON follows the [Design Tokens Community Group](https://www.designtokens.org/) (DTCG) format, a shared JSON format for design tokens. There is one file each for the palette, light roles and dark roles, and each color is OKLCH with its hex value alongside. The TypeScript entry exports the default brand's `palette`, `roles`, `gradients`, `contentModes` and `tokensCss`, plus every brand under `brands`, such as `brands.originalCodecademy.palette`. It doesn't depend on React or Emotion. + +A brand's `tokens.css` puts every value inside a [cascade layer](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer) called `tokens`, with the brand's palette and its initial mode on `:root`: ```css @layer reset, base, tokens, recipes, utilities; @layer tokens { :root, - [data-brand='skillsoft'] { - --colors-palette-primary-800: oklch(0.4115 0.1767 262.4); + [data-brand='originalCodecademy'] { + --colors-palette-primary-800: oklch(0.4115 0.2344 274.1); /* ... */ } :root, @@ -134,30 +136,29 @@ The JSON follows the [Design Tokens Community Group](https://www.designtokens.or /* ... */ } [data-color-mode='dark'] { - --colors-text-default: var(--colors-palette-neutral-light-200); + --colors-action-primary: var(--colors-palette-accent-300); /* ... */ } - [data-brand='originalCodecademy'] { - /* this brand's palette */ - } } ``` +A brand's overrides sit in its mode blocks, like Original Codecademy's yellow `action-primary` in dark mode in the previous example. + Styles inside a layer lose to styles outside any layer, whatever the selector. Emotion's styles and your own unlayered CSS override a token value without needing a more specific selector. ### How the colors reach the page -A theme built on the color system carries `tokens.css` as a string, and `GamutProvider` injects it as an Emotion global style, the same way it injects its reset and typography styles. A React app gets every color without loading a file, and the colors are in the server-rendered HTML too. +A theme built on the color system carries its brand's `tokens.css` as a string, and `GamutProvider` injects it as an Emotion global style, the same way it injects its reset and typography styles. A React app gets its brand's colors without loading a file, starts in the brand's initial mode with no attributes on ``, and the colors are in the server-rendered HTML too. The theme's own colors are `var()` names like `var(--colors-surface-raised)`, so `css()`, `variant()`, `states()` and system props keep working as they did before. -If your app loads `tokens.css` itself, pass `useTokens={false}` to `GamutProvider` to skip the injected copy. Loading both does no harm, because the rules are identical. Pages without React or Emotion, such as plain HTML or email, can link `tokens.css` directly. +If your app loads the brand's `tokens.css` itself, pass `useTokens={false}` to `GamutProvider` to skip the injected copy. Loading both does no harm, because the rules are identical. Pages without React or Emotion, such as plain HTML or email, can link the brand's `tokens.css` directly. ### Modes and brands at runtime A mode switch is an HTML attribute. The `ColorMode` component sets two attributes on its element, `data-color-mode` and `data-brand`, and every role inside it points at its color for that mode, through plain CSS. It nests as deep as you need. Each mode block also sets [`color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme), so scrollbars and native form controls follow the mode. -`data-brand` picks the palette. A brand's own role overrides, like Original Codecademy's yellow primary in dark mode, apply only where both attributes sit on the same element. Use `ColorMode`, or `Background` for a colored section; if you set the attributes by hand, set both on the same element. +`data-brand` names the palette. A page carries one brand's CSS, the theme's, so every `ColorMode` inside it is in that brand, overrides included. Use `ColorMode`, or `Background` for a colored section; if you set the attributes by hand, set both on the same element. The `Background` component decides its content mode at build time. For each of the 90 opaque palette colors (the 88 ramp steps, white and black), the generator records whether light-mode or dark-mode content reads better on it. `Background` looks the answer up in that table instead of measuring contrast in the browser on every render. @@ -253,13 +254,61 @@ export const App = ({ children }) => ( ); ``` -Then put `data-brand` and `data-color-mode` on the `` element. Without them, everything outside a `ColorMode`, `` included, gets the default brand (`skillsoft`) in light mode. +The page starts in that brand and its initial mode, `` included, with nothing to set on ``. + +Pages without React load the brand's file, such as `@skillsoft/gamut-styles/tokens/originalCodecademy.css`. + +## Build your own brand + +A team that needs its own colors builds a brand with `@skillsoft/gamut-brand`, the same tool that builds Gamut's. It runs at build time only, so install it as a dev dependency: + +```sh +yarn add -D @skillsoft/gamut-brand +``` + +Write the brand. Only `name` and `hues.primary` are required: + +```ts +// src/theme/acme.brand.ts +import { defineBrand } from '@skillsoft/gamut-brand'; + +export default defineBrand({ + name: 'acme', + hues: { primary: '#0A5CFF', accent: '#FFB000' }, +}); +``` + +Generate it, and check in the `src/theme/acme/` folder it writes: -```html - +```sh +gamut-brand build src/theme/acme.brand.ts ``` -Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same two attributes. +Build the theme from the generated values, and pass it to `GamutProvider` like any other theme: + +```ts +import { + createBrandTheme, + fontWeightMediumTitle, + percipioFontFamily, + softElevation, +} from '@skillsoft/gamut-styles'; + +import * as values from './acme/values'; + +export const acmeTheme = createBrandTheme(values, { + name: 'acme', + fontFamily: percipioFontFamily, + fontWeight: fontWeightMediumTitle, + elevation: softElevation, +}); +``` + +Every brand has the same palette keys and the same 45 roles, so `acmeTheme` has the same type as Gamut's themes. System props, `css()`, `variant()` and `states()` stay typed, and `bg="surface-raisd"` fails to compile. `defineBrand` is typed too, so a misspelled slot or role fails. + +A brand that fails a check isn't written, and the error names the check, its worst value and where. Pick another hue, or pin the color with an override, and run the build again. + +To keep the files current, run `gamut-brand build src/theme/acme.brand.ts --watch` next to your dev server, and the same command with `--check` in CI. `--check` writes nothing and fails when the files are out of date, including after an upgrade of `@skillsoft/gamut-brand`. Keep `@skillsoft/gamut-brand` on the same version as `@skillsoft/gamut-styles`. ## Compared with the old color system @@ -275,12 +324,12 @@ Pages without React load `@skillsoft/gamut-styles/tokens.css` and set the same t | | Old | New | | ----------------- | ------------------------------------------------------- | ------------------------------------------------------------------- | -| Where values live | Emotion theme objects, written onto the page at runtime | One generated stylesheet, `tokens.css`, injected once | +| Where values live | Emotion theme objects, written onto the page at runtime | One generated stylesheet per brand, injected once | | Mode switch | Every alias for the mode written into a new class | One attribute | | `Background` | Contrast math on every render | A table decided at build time | | Accessibility | Colors picked by hand and never checked | Every role pairing and 204 component pairings checked at build time | | Names | Ambiguous: `background` is both the page and a card | One job each: `surface-default`, `surface-raised` | -| New brand | A hand-written theme and alias table | A few hues, checked automatically | +| New brand | A hand-written theme and alias table | A few hues and `gamut-brand build`, checked automatically | | Who can read it | JavaScript only | CSS, DTCG JSON and TypeScript from one source | | Color space | Hex, tuned by hand per step | OKLCH with fixed lightness per grade, hex alongside in the JSON | From 3e084002106654ac119ae571088111ff82c42096 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Tue, 10 Nov 2026 09:09:21 -0500 Subject: [PATCH 08/21] refactor: use the singular --color- prefix for color variables Covers the variance createTheme and gamut-styles ColorMode prefixes, the gamut-brand Style Dictionary prefix, the docs and the regenerated tokens. Co-Authored-By: Claude Haiku 5.5 --- .changeset/color-system-brands.md | 3 +- .../skills/gamut-review/SKILL.md | 40 +- .../skills/gamut-style-utilities/SKILL.md | 2 +- packages/gamut-brand/README.md | 10 +- .../gamut-brand/src/__tests__/system.test.ts | 2 +- packages/gamut-brand/src/emit.ts | 2 +- packages/gamut-brand/src/generate.ts | 10 +- packages/gamut-brand/src/roundTrip.ts | 6 +- .../src/content/docs/concepts/color-system.md | 12 +- packages/gamut-styles/src/ColorMode.tsx | 8 +- .../src/__tests__/Background.test.tsx | 10 +- .../src/__tests__/GamutProvider.test.tsx | 8 +- .../src/__tests__/stylingContract.test.tsx | 12 +- .../__snapshots__/theme.test.ts.snap | 2810 ++++++++--------- .../themes/__tests__/brandElevation.test.ts | 14 +- .../src/themes/__tests__/theme.test.ts | 8 +- .../src/themes/createBrandTheme.ts | 4 +- packages/gamut-styles/src/themes/platform.ts | 6 +- .../tokens/generated/admin/dark.tokens.json | 4 +- .../tokens/generated/admin/light.tokens.json | 4 +- .../src/tokens/generated/admin/tokens.css | 392 +-- .../src/tokens/generated/admin/values.ts | 2 +- .../generated/lxStudio/dark.tokens.json | 4 +- .../generated/lxStudio/light.tokens.json | 4 +- .../src/tokens/generated/lxStudio/tokens.css | 392 +-- .../src/tokens/generated/lxStudio/values.ts | 2 +- .../originalCodecademy/dark.tokens.json | 4 +- .../originalCodecademy/light.tokens.json | 4 +- .../generated/originalCodecademy/tokens.css | 396 +-- .../generated/originalCodecademy/values.ts | 2 +- .../generated/platform/dark.tokens.json | 4 +- .../generated/platform/light.tokens.json | 4 +- .../src/tokens/generated/platform/tokens.css | 392 +-- .../src/tokens/generated/platform/values.ts | 2 +- .../generated/skillsoft/dark.tokens.json | 4 +- .../generated/skillsoft/light.tokens.json | 4 +- .../src/tokens/generated/skillsoft/tokens.css | 392 +-- .../src/tokens/generated/skillsoft/values.ts | 2 +- .../gamut/src/Alert/__tests__/Alert.test.tsx | 10 +- .../lib/VidstackPlayer/vidstack-styles.css | 8 +- .../ColorMode/CssContract.stories.tsx | 18 +- .../integration/__tests__/variance.test.ts | 2 +- .../src/createTheme/createTheme.test.ts | 8 +- .../variance/src/createTheme/createTheme.ts | 8 +- 44 files changed, 2517 insertions(+), 2518 deletions(-) diff --git a/.changeset/color-system-brands.md b/.changeset/color-system-brands.md index e269eae6ba..322500b181 100644 --- a/.changeset/color-system-brands.md +++ b/.changeset/color-system-brands.md @@ -4,9 +4,8 @@ '@skillsoft/gamut': minor --- -Brands on the generated color system, and `--colors-*` variable names. +Brands on the generated color system. -- **Breaking:** color CSS variables are renamed from `--color-*` to `--colors-*`, in `@skillsoft/variance`'s `createTheme` and in `tokens.css`. Raw CSS that reads `var(--color-…)` has to be updated. - **Breaking:** `tokens.css` puts its rules in `@layer tokens`, with `reset, base, tokens, recipes, utilities` declared first. - Adds `originalCodecademyTheme`, today's core colors, fonts and hard-offset elevation rebuilt on the generated system. `tokens.css` carries a palette block per brand under `[data-brand]`. - A brand can override a palette step with an exact hex, or point a role at a different step (and, optionally, a different alpha) in one mode. Overrides go through the same contrast checks as generated values. diff --git a/packages/gamut-agent-tools/skills/gamut-review/SKILL.md b/packages/gamut-agent-tools/skills/gamut-review/SKILL.md index 3beed06dd6..353ce56c65 100644 --- a/packages/gamut-agent-tools/skills/gamut-review/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-review/SKILL.md @@ -19,9 +19,9 @@ Remediation skills: [`gamut-theming`](../gamut-theming/SKILL.md) · [`gamut-colo Resolve the audit root from the user's path if provided, otherwise the current working directory. Look for `DESIGN.md` at that root (not inside `node_modules` or package subfolders unless the audit path is explicitly that folder). -| Result | Action | -| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Found | Report `✓ DESIGN.md present ()`. Proceed with Checks 1–5 using this file for product/theme context. | +| Result | Action | +| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Found | Report `✓ DESIGN.md present ()`. Proceed with Checks 1–5 using this file for product/theme context. | | Missing | Report `✗ DESIGN.md not found` as a blocking finding. Include remediation: from the repo root run `gamut plugin install cursor --theme core` (or `percipio`, `lxstudio`, `admin`, `platform`; also `claude`), or manually copy the matching `DESIGN.*.md` from `@skillsoft/gamut` agent-tools and rename to `DESIGN.md`. Still run Checks 1–3 and 5. For Check 4, list hex violations with `palette:` / `semantic:` only where Appendix A/B apply without product YAML — prefix the Hardcoded colors section with `⚠ low confidence — no DESIGN.md` and do not assume Codecademy Core semantics; do not use Appendix B shortcuts as authoritative. | --- @@ -30,11 +30,11 @@ Resolve the audit root from the user's path if provided, otherwise the current w Read `package.json` at the audit root. Inspect `dependencies`, `devDependencies`, and `peerDependencies` combined. -| Package | Expectation | -| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `@skillsoft/gamut` | Required — core component library | -| `@skillsoft/gamut-styles` | Recommended — design tokens and theme primitives | -| `@skillsoft/variance` | Recommended — style-prop system used by Gamut internals | +| Package | Expectation | +| ------------------------- | ------------------------------------------------------- | +| `@skillsoft/gamut` | Required — core component library | +| `@skillsoft/gamut-styles` | Recommended — design tokens and theme primitives | +| `@skillsoft/variance` | Recommended — style-prop system used by Gamut internals | --- @@ -48,7 +48,7 @@ Search source files (`.ts`, `.tsx`, `.js`, `.jsx`) for these symbols. Skip `node | --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `GamutProvider` | Required — must appear at least once (app root wrapper) | | `ColorMode` | Recommended — enables semantic light/dark theming | -| `Background` | Recommended — semantic surface color via `@skillsoft/gamut-styles` | +| `Background` | Recommended — semantic surface color via `@skillsoft/gamut-styles` | | `declare module '@emotion/react'` | **Required if TypeScript** — `Theme` must be augmented with the active theme type (e.g. `CoreTheme`) so scale props type-check correctly; grep `.d.ts` and `.ts`/`.tsx` source files for this string. **Recommended if not TypeScript** — note that adopting TypeScript is recommended and that `theme.d.ts` will be needed when it is. | For each found symbol report the first file path where it appears. @@ -61,8 +61,8 @@ For each found symbol report the first file path where it appears. Grep source files for any of these patterns. Each match is an error. -| Pattern | Reason | -| ------------------------------- | ----------------------------------------------------------------------- | +| Pattern | Reason | +| ------------------------------ | ----------------------------------------------------------------------- | | `@skillsoft/gamut/dist/` | Deep dist import — bypasses public API and breaks on internal refactors | | `@skillsoft/gamut/src/` | Deep src import — not part of the published package | | `@skillsoft/gamut-styles/src/` | Deep src import — use the package root | @@ -393,7 +393,7 @@ After the hex scan, grep `.scss`, `.css`, and `.less` files for `var(--` occurre _Gamut-issued variables_ — skip these: -- `--colors-*` (ColorMode semantic aliases) +- `--color-*` (ColorMode semantic aliases) - `--space*` (spacing scale) - `--font*` (font-size scale) - `--lineHeight*` (line-height scale) @@ -406,7 +406,7 @@ Any other name — especially camel-cased semantic names like `--darkNeutralColo Severity: ✗ error for color-semantic variables (invisible in tests/Storybook without the host stylesheet); ⚠ warning for spacing/sizing variables that duplicate Gamut scale tokens. -Reporting: count unique non-Gamut variable names and list the top offenders with frequency. Do not enumerate every call-site — just the variable names and usage counts. Suggest the nearest Gamut semantic alias where obvious (e.g. `--darkNeutralColor` → `--colors-text`, `--whiteColor` → `--colors-background`). +Reporting: count unique non-Gamut variable names and list the top offenders with frequency. Do not enumerate every call-site — just the variable names and usage counts. Suggest the nearest Gamut semantic alias where obvious (e.g. `--darkNeutralColor` → `--color-text`, `--whiteColor` → `--color-background`). --- @@ -414,13 +414,13 @@ Reporting: count unique non-Gamut variable names and list the top offenders with Grep test files (`**/__tests__/**/*.{ts,tsx}`, `**/*.test.{ts,tsx}`, `**/*.spec.{ts,tsx}`) for these patterns. Skip `node_modules`, `dist`. -| Pattern | Verdict | Reason | -| ----------------------------------------------------- | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `jest.mock\(.*@skillsoft/gamut` | Error | Manual mocking bypasses theme context and produces false-positive tests; prefer `setupRtl` from `@skillsoft/gamut-tests` (or a harness + `setupRtl`); use raw `MockGamutProvider` + `render` only for rare one-offs or Storybook mocks | -| `jest.mock\(.*@skillsoft/gamut-styles` | Error | Same issue as above — mocking gamut-styles breaks token resolution | -| `from '@skillsoft/gamut-tests'` | Good — report count of files using it | Correct import for `setupRtl` and `MockGamutProvider` | +| Pattern | Verdict | Reason | +| ----------------------------------------------------- | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `jest.mock\(.*@skillsoft/gamut` | Error | Manual mocking bypasses theme context and produces false-positive tests; prefer `setupRtl` from `@skillsoft/gamut-tests` (or a harness + `setupRtl`); use raw `MockGamutProvider` + `render` only for rare one-offs or Storybook mocks | +| `jest.mock\(.*@skillsoft/gamut-styles` | Error | Same issue as above — mocking gamut-styles breaks token resolution | +| `from '@skillsoft/gamut-tests'` | Good — report count of files using it | Correct import for `setupRtl` and `MockGamutProvider` | | `from 'component-test-setup'` (without gamut-tests) | Warning | Should import `setupRtl` from `@skillsoft/gamut-tests`, not directly from `component-test-setup` — the gamut-tests wrapper adds `MockGamutProvider` automatically | -| `new GamutProvider` or ` { }; ``` -**For colors, `theme.colors[key]` is usually enough — it works with aliases and doesn't need a second lookup step.** `theme.colors[key]` (including semantic aliases like `'primary'` or `'background-current'`) returns a live CSS variable reference (`var(--colors-key)`), which the browser resolves through the normal light/dark cascade. This works as a plain attribute value on DOM-rendered elements — including SVG presentation attributes like `stroke`/`fill` — exactly like `RadialProgress` does it in production: `stroke={theme.colors['background-current']}` (`packages/gamut/src/RadialProgress/index.tsx`). Reach for this first; it's simpler and it's what real Gamut components actually do for imperative SVG color. +**For colors, `theme.colors[key]` is usually enough — it works with aliases and doesn't need a second lookup step.** `theme.colors[key]` (including semantic aliases like `'primary'` or `'background-current'`) returns a live CSS variable reference (`var(--color-key)`), which the browser resolves through the normal light/dark cascade. This works as a plain attribute value on DOM-rendered elements — including SVG presentation attributes like `stroke`/`fill` — exactly like `RadialProgress` does it in production: `stroke={theme.colors['background-current']}` (`packages/gamut/src/RadialProgress/index.tsx`). Reach for this first; it's simpler and it's what real Gamut components actually do for imperative SVG color. **The exception**: a `var(...)` string doesn't mean anything to a consumer outside the DOM/CSS rendering pipeline — canvas 2D `fillStyle`, WebGL, or any color-math (contrast calculations, blending) that needs the actual resolved value. For those, use `useColorModes()` instead of bare `useTheme()` — but its `getColorValue()` only accepts a **raw palette key** (`hyper-500`, `navy-800`, …), not an alias: `getColorValue('primary')` silently returns `undefined`, since aliases are never merged into the raw-key map `getColorValue` reads. Resolve the alias first with `isColorAlias`, exactly like `packages/gamut-styles/src/Background.tsx` does before computing contrast: diff --git a/packages/gamut-brand/README.md b/packages/gamut-brand/README.md index d186a9f393..0e4f18af14 100644 --- a/packages/gamut-brand/README.md +++ b/packages/gamut-brand/README.md @@ -35,7 +35,7 @@ That writes `src/theme/acme/`: | File | What it is | | -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | | `values.ts` | The palette, roles, content modes and the brand's CSS as typed constants. `createBrandTheme` takes this module | -| `tokens.css` | `--colors-*` and `--gradient-*` custom properties for this brand only, starting on `:root` in its initial mode | +| `tokens.css` | `--color-*` and `--gradient-*` custom properties for this brand only, starting on `:root` in its initial mode | | `palette.tokens.json`, `light.tokens.json`, `dark.tokens.json` | DTCG 2025.10 for Figma and other tools. Each color is OKLCH with its hex alongside | Check the files in, like any generated source. Then build the theme from them: @@ -175,12 +175,12 @@ yarn workspace @skillsoft/gamut-styles validate:tokens # full report for gamut ## Naming -- Primitives: `--colors-palette--`, for example `--colors-palette-primary-800`. Not for components; use roles. -- Translucent primitives: `--colors-palette-primary-600-a6` (6% alpha), `--colors-black-a60`. -- Roles: `--colors-`, for example `--colors-action-primary`. +- Primitives: `--color-palette--`, for example `--color-palette-primary-800`. Not for components; use roles. +- Translucent primitives: `--color-palette-primary-600-a6` (6% alpha), `--color-black-a60`. +- Roles: `--color-`, for example `--color-action-primary`. - `white` and `black` keep their bare names (boundary tokens). -The `--colors-` prefix on primitives is there because variance's `addColors` always emits `--colors-`. One name for both the Emotion and CSS routes beat the shorter `--palette-*`. +The `--color-` prefix on primitives is there because variance's `addColors` always emits `--color-`. One name for both the Emotion and CSS routes beat the shorter `--palette-*`. ## Known gaps diff --git a/packages/gamut-brand/src/__tests__/system.test.ts b/packages/gamut-brand/src/__tests__/system.test.ts index 76df1725d4..565c8777c9 100644 --- a/packages/gamut-brand/src/__tests__/system.test.ts +++ b/packages/gamut-brand/src/__tests__/system.test.ts @@ -122,7 +122,7 @@ describe('color system', () => { 'primary', ]); expect(gradientCssVars(ocd.gradients.light['surface-brand'])).toContain( - 'radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300)' + 'radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300)' ); }); diff --git a/packages/gamut-brand/src/emit.ts b/packages/gamut-brand/src/emit.ts index 5722819049..96e30b8d4b 100644 --- a/packages/gamut-brand/src/emit.ts +++ b/packages/gamut-brand/src/emit.ts @@ -115,7 +115,7 @@ export const gradientCssVars = (gradient: Gradient) => .map(({ ref, radius, at }) => { const stops = FALLOFF.map( ([pos, alpha]) => - `color-mix(in oklab, var(--colors-${paletteKey(ref)}) ${Number( + `color-mix(in oklab, var(--color-${paletteKey(ref)}) ${Number( (alpha * 100).toFixed(2) )}%, transparent) ${pos}%` ).join(', '); diff --git a/packages/gamut-brand/src/generate.ts b/packages/gamut-brand/src/generate.ts index 20965b5d6f..a19fadd6a0 100644 --- a/packages/gamut-brand/src/generate.ts +++ b/packages/gamut-brand/src/generate.ts @@ -40,10 +40,10 @@ const FORMAT = 'css/gamut-variables'; * * Mode blocks also get: * - `color-scheme`, so native controls and scrollbars follow the mode; - * - `color: var(--colors-text-default)`, because `color` inherits as a computed + * - `color: var(--color-text-default)`, because `color` inherits as a computed * value — without it, text under a nested `[data-color-mode]` keeps the * parent mode's color (ColorMode sets it on its wrapper for the same reason); - * - a default `--colors-background-current`, which ColorMode sets at runtime + * - a default `--color-background-current`, which ColorMode sets at runtime * and a CSS-only subtree needs from somewhere. */ StyleDictionary.registerFormat({ @@ -68,8 +68,8 @@ StyleDictionary.registerFormat({ const modeLines = mode ? [ ` color-scheme: ${mode};`, - ' color: var(--colors-text-default);', - ' --colors-background-current: var(--colors-surface-default);', + ' color: var(--color-text-default);', + ' --color-background-current: var(--color-surface-default);', ] : []; return `${header}${options.selector} {\n${[ @@ -96,7 +96,7 @@ const cssBlock = async ( platforms: { css: { transforms: ['name/kebab', 'color/oklch'], - prefix: 'colors', + prefix: 'color', files: [ { destination: 'unused.css', diff --git a/packages/gamut-brand/src/roundTrip.ts b/packages/gamut-brand/src/roundTrip.ts index 1b87f5c550..b076aef415 100644 --- a/packages/gamut-brand/src/roundTrip.ts +++ b/packages/gamut-brand/src/roundTrip.ts @@ -46,7 +46,7 @@ export const parseTokensCss = ( slot, Object.fromEntries( GRADES.map((grade) => { - const p = oklch(palette[`--colors-palette-${slot}-${grade}`]); + const p = oklch(palette[`--color-palette-${slot}-${grade}`]); return [grade, { grade, l: p.l, c: p.c, h: p.h, hex: '' }]; }) ), @@ -61,12 +61,12 @@ export const parseTokensCss = ( Object.fromEntries( ROLES.map((r) => { const ref = - decls[`--colors-${r.token}`]?.match(/^var\((--[\w-]+)\)$/); + decls[`--color-${r.token}`]?.match(/^var\((--[\w-]+)\)$/); if (!ref) throw new Error(`${r.token} (${mode}) is not a var()`); const value: ResolvedValue = { ...oklch(palette[ref[1]]), hex: '', - key: ref[1].replace(/^--colors-/, ''), + key: ref[1].replace(/^--color-/, ''), }; return [r.token, value]; }) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index 8e64ec4537..0ff9ece09c 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -65,7 +65,7 @@ Each slot becomes a ramp of 11 grades, from `100` (lightest) to `1100` (darkest) Every grade has a fixed lightness, and that lightness is the same in every slot and every brand. Chroma is a share of the most color a screen can show at that lightness and hue. Because lightness is fixed, the contrast between two grades barely changes from brand to brand: `primary-800` on `neutral-light-100` has close to the same contrast whatever the primary hue is. That is what lets every brand share one role mapping. -Palette colors are [CSS custom properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) named `--colors-palette--`, for example `--colors-palette-primary-800`. A few steps also come in translucent versions, such as `--colors-palette-primary-600-a6` at 6% opacity. `--colors-white` and `--colors-black` sit outside the ramps. Palette colors exist for the system to build roles from. Components don't use them. +Palette colors are [CSS custom properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) named `--color-palette--`, for example `--color-palette-primary-800`. A few steps also come in translucent versions, such as `--color-palette-primary-600-a6` at 6% opacity. `--color-white` and `--color-black` sit outside the ramps. Palette colors exist for the system to build roles from. Components don't use them. ### Roles @@ -83,7 +83,7 @@ A role names a job and points at a palette color in each mode. There are 45 role Each role has one job. `surface-raised` is the lighter surface step: cards, menus, dialogs and form fields, and flat sections with a border. How high something sits comes from its shadow, not its fill. The mapping is the same for every brand: `text-subtle` is `neutral-dark-800` in light mode and `neutral-light-400` in dark mode on every brand. Only the palette under it changes. -Roles are custom properties named `--colors-`, for example `--colors-action-primary`. The two brand surfaces also have a gradient. `--colors-surface-brand` is the flat fallback color, and `--gradient-surface-brand` is the gradient to paint over it. The same goes for `surface-brand-subtle`. +Roles are custom properties named `--color-`, for example `--color-action-primary`. The two brand surfaces also have a gradient. `--color-surface-brand` is the flat fallback color, and `--gradient-surface-brand` is the gradient to paint over it. The same goes for `surface-brand-subtle`. The shadow roles hold only color. Every elevation shadow has two layers, `shadow-key` for the tight edge and `shadow-ambient` for the soft falloff, and the elevation supplies the offset and blur. Raised and hover differ in geometry, not color. `shadow-scrim` is the dimmed layer behind a modal. The shadow alphas are design's current values and may still be tuned. @@ -127,16 +127,16 @@ A brand's `tokens.css` puts every value inside a [cascade layer](https://develop @layer tokens { :root, [data-brand='originalCodecademy'] { - --colors-palette-primary-800: oklch(0.4115 0.2344 274.1); + --color-palette-primary-800: oklch(0.4115 0.2344 274.1); /* ... */ } :root, [data-color-mode='light'] { - --colors-text-default: var(--colors-palette-neutral-dark-1000); + --color-text-default: var(--color-palette-neutral-dark-1000); /* ... */ } [data-color-mode='dark'] { - --colors-action-primary: var(--colors-palette-accent-300); + --color-action-primary: var(--color-palette-accent-300); /* ... */ } } @@ -150,7 +150,7 @@ Styles inside a layer lose to styles outside any layer, whatever the selector. E A theme built on the color system carries its brand's `tokens.css` as a string, and `GamutProvider` injects it as an Emotion global style, the same way it injects its reset and typography styles. A React app gets its brand's colors without loading a file, starts in the brand's initial mode with no attributes on ``, and the colors are in the server-rendered HTML too. -The theme's own colors are `var()` names like `var(--colors-surface-raised)`, so `css()`, `variant()`, `states()` and system props keep working as they did before. +The theme's own colors are `var()` names like `var(--color-surface-raised)`, so `css()`, `variant()`, `states()` and system props keep working as they did before. If your app loads the brand's `tokens.css` itself, pass `useTokens={false}` to `GamutProvider` to skip the injected copy. Loading both does no harm, because the rules are identical. Pages without React or Emotion, such as plain HTML or email, can link the brand's `tokens.css` directly. diff --git a/packages/gamut-styles/src/ColorMode.tsx b/packages/gamut-styles/src/ColorMode.tsx index b77dfce3a4..2f7b04a317 100644 --- a/packages/gamut-styles/src/ColorMode.tsx +++ b/packages/gamut-styles/src/ColorMode.tsx @@ -69,7 +69,7 @@ export const modeColorProps = ({ const { colors } = theme; return serializeTokens( mapValues(theme?.modes[mode], (color) => colors[color]), - 'colors', + 'color', theme ).variables; }; @@ -204,7 +204,7 @@ export const ColorMode = forwardRef< variables: bg === undefined ? {} - : { '--colors-background-current': colors[bg] as string }, + : { '--color-background-current': colors[bg] as string }, }; } return serializeTokens( @@ -214,7 +214,7 @@ export const ColorMode = forwardRef< } return colors[color]; }), - 'colors', + 'color', theme ); }, [colors, mode, modes, theme, bg, fromTokensCss]); @@ -222,7 +222,7 @@ export const ColorMode = forwardRef< if (active === mode) { const vars = alwaysSetVariables ? variables - : pick(variables, ['--colors-background-current']); + : pick(variables, ['--color-background-current']); return ( { it('switches the default colormode when contrast standards are not met', () => { const { view } = renderView({ bg: 'palette-neutral-dark-1000' }); expect(view.getByTestId('content').parentElement).toHaveStyleRule( - '--colors-background-current', + '--color-background-current', theme.colors['palette-neutral-dark-1000'] ); @@ -61,12 +61,12 @@ describe('Background', () => { ), }); expect(view.getByTestId('content').parentElement).toHaveStyleRule( - '--colors-background-current', + '--color-background-current', theme.colors['palette-neutral-dark-1000'] ); expect(view.getByTestId('nested-content').parentElement).toHaveStyleRule( - '--colors-background-current', + '--color-background-current', theme.colors['palette-neutral-light-200'] ); }); @@ -92,7 +92,7 @@ describe('Background', () => { it('it sets the current background color to the specified bg', () => { const { view } = renderView({ bg: 'palette-primary-200' }); expect(view.getByTestId('content').parentElement).toHaveStyleRule( - '--colors-background-current', + '--color-background-current', theme.colors['palette-primary-200'] ); }); @@ -100,7 +100,7 @@ describe('Background', () => { it('it sets the current background color to the specified bg when switch modes', () => { const { view } = renderView({ bg: 'palette-neutral-dark-1000' }); expect(view.getByTestId('content').parentElement).toHaveStyleRule( - '--colors-background-current', + '--color-background-current', theme.colors['palette-neutral-dark-1000'] ); }); diff --git a/packages/gamut-styles/src/__tests__/GamutProvider.test.tsx b/packages/gamut-styles/src/__tests__/GamutProvider.test.tsx index ba447f13d6..fbd448b1f7 100644 --- a/packages/gamut-styles/src/__tests__/GamutProvider.test.tsx +++ b/packages/gamut-styles/src/__tests__/GamutProvider.test.tsx @@ -151,25 +151,25 @@ describe(GamutProvider, () => { it('injects tokens.css for a theme on the generated color system', () => { renderView({ theme: skillsoftTheme }); - expect(emotionCss()).toContain('--colors-palette-primary-800:'); + expect(emotionCss()).toContain('--color-palette-primary-800:'); }); it('does not inject tokens when configured not to', () => { renderView({ theme: skillsoftTheme, useTokens: false }); - expect(emotionCss()).not.toContain('--colors-palette-primary-800:'); + expect(emotionCss()).not.toContain('--color-palette-primary-800:'); }); it('does not inject tokens without globals', () => { renderView({ theme: skillsoftTheme, useGlobals: false }); - expect(emotionCss()).not.toContain('--colors-palette-primary-800:'); + expect(emotionCss()).not.toContain('--color-palette-primary-800:'); }); it('does not inject tokens for themes that do not carry them', () => { renderView(); - expect(emotionCss()).not.toContain('--colors-palette-primary-800:'); + expect(emotionCss()).not.toContain('--color-palette-primary-800:'); }); }); }); diff --git a/packages/gamut-styles/src/__tests__/stylingContract.test.tsx b/packages/gamut-styles/src/__tests__/stylingContract.test.tsx index f282d7b4fe..eba15e975e 100644 --- a/packages/gamut-styles/src/__tests__/stylingContract.test.tsx +++ b/packages/gamut-styles/src/__tests__/stylingContract.test.tsx @@ -70,7 +70,7 @@ const tokensCssVars = (mode: Mode, tokensCss: string): Vars => { }; const hasStaticValues = (theme: Theme) => - !Object.keys(theme._variables.root).some((k) => k.startsWith('--colors-')); + !Object.keys(theme._variables.root).some((k) => k.startsWith('--color-')); /* The variables in scope inside a `mode` subtree of `theme`. */ const varsFor = (theme: Theme, mode: Mode): Vars => @@ -198,7 +198,7 @@ describe.each(CASES)('%s, %s', (_, mode, theme) => { const vars = { ...varsFor(t, other), ...out }; const missing = namesOf(t).filter( (name) => - !isColor(out[`--colors-${name}`] ?? vars[`--colors-${name}`], vars) + !isColor(out[`--color-${name}`] ?? vars[`--color-${name}`], vars) ); expect(missing).toEqual([]); }); @@ -262,7 +262,7 @@ describe.each(CASES)('%s, %s', (_, mode, theme) => { const expected = t.colors[t.modes[mode][bg as never]]; let ok = true; try { - expect(el).toHaveStyleRule('--colors-background-current', expected); + expect(el).toHaveStyleRule('--color-background-current', expected); expect(el).toHaveStyleRule('background-color', resolvesToColor(vars)); } catch { ok = false; @@ -286,17 +286,17 @@ describe.each(CASES)('%s, %s', (_, mode, theme) => { if (t.contentModes) { expect(el.getAttribute('data-color-mode')).toBe(other); expect(el.getAttribute('data-brand')).toBe(t.brand); - expect(el).not.toHaveStyleRule(`--colors-${someName}`, expect.anything()); + expect(el).not.toHaveStyleRule(`--color-${someName}`, expect.anything()); } else { expect(el.getAttribute('data-color-mode')).toBeNull(); - expect(el).toHaveStyleRule(`--colors-${someName}`, expect.anything()); + expect(el).toHaveStyleRule(`--color-${someName}`, expect.anything()); } }); }); it('resolves each brand’s roles against its own palette', () => { const primary = (theme: Theme) => - resolveVars('var(--colors-action-primary)', varsFor(theme, 'light')); + resolveVars('var(--color-action-primary)', varsFor(theme, 'light')); /* Same lightness and grade, hyper's hue (274.1°) in place of Sapphire's. */ expect(primary(THEMES.originalCodecademy)).toBe( 'oklch(0.4115 0.2344 274.10)' diff --git a/packages/gamut-styles/src/themes/__tests__/__snapshots__/theme.test.ts.snap b/packages/gamut-styles/src/themes/__tests__/__snapshots__/theme.test.ts.snap index 59352fa2c4..f6f30fd586 100644 --- a/packages/gamut-styles/src/themes/__tests__/__snapshots__/theme.test.ts.snap +++ b/packages/gamut-styles/src/themes/__tests__/__snapshots__/theme.test.ts.snap @@ -212,52 +212,52 @@ exports[`themes admin - theme shape 1`] = ` }, "_variables": { "mode": { - "--colors-action-danger": "var(--colors-palette-danger-800)", - "--colors-action-danger-hover": "var(--colors-palette-danger-900)", - "--colors-action-danger-pressed": "var(--colors-palette-danger-1000)", - "--colors-action-disabled": "var(--colors-palette-neutral-light-400)", - "--colors-action-neutral": "var(--colors-palette-neutral-dark-1000)", - "--colors-action-neutral-hover": "var(--colors-palette-neutral-dark-1100)", - "--colors-action-neutral-pressed": "var(--colors-black)", - "--colors-action-primary": "var(--colors-palette-primary-800)", - "--colors-action-primary-hover": "var(--colors-palette-primary-900)", - "--colors-action-primary-pressed": "var(--colors-palette-primary-1000)", - "--colors-background-current": "var(--colors-palette-neutral-light-100)", - "--colors-border-default": "var(--colors-palette-neutral-dark-600)", - "--colors-border-strong": "var(--colors-palette-neutral-dark-1100)", - "--colors-border-subtle": "var(--colors-palette-neutral-dark-300)", - "--colors-shadow-ambient": "var(--colors-palette-neutral-dark-1100-a12)", - "--colors-shadow-key": "var(--colors-palette-neutral-dark-1100-a16)", - "--colors-shadow-scrim": "var(--colors-black-a60)", - "--colors-state-hover": "var(--colors-palette-primary-600-a6)", - "--colors-state-pressed": "var(--colors-palette-primary-600-a9)", - "--colors-state-selected": "var(--colors-palette-primary-600-a8)", - "--colors-surface-brand": "var(--colors-palette-neutral-light-100)", - "--colors-surface-brand-subtle": "var(--colors-palette-neutral-light-100)", - "--colors-surface-default": "var(--colors-palette-neutral-light-100)", - "--colors-surface-error": "var(--colors-palette-danger-200)", - "--colors-surface-raised": "var(--colors-white)", - "--colors-surface-success": "var(--colors-palette-success-200)", - "--colors-surface-sunken": "var(--colors-palette-neutral-light-200)", - "--colors-surface-warning": "var(--colors-palette-warning-200)", - "--colors-text-default": "var(--colors-palette-neutral-dark-1000)", - "--colors-text-error": "var(--colors-palette-danger-900)", - "--colors-text-inverse": "var(--colors-palette-neutral-light-200)", - "--colors-text-subtle": "var(--colors-palette-neutral-dark-800)", - "--colors-text-success": "var(--colors-palette-success-900)", - "--colors-text-warning": "var(--colors-palette-warning-900)", - "--colors-viz-1": "var(--colors-palette-primary-800)", - "--colors-viz-2": "var(--colors-palette-accent-700)", - "--colors-viz-3": "var(--colors-palette-warning-700)", - "--colors-viz-4": "var(--colors-palette-accent-alt-600)", - "--colors-viz-5": "var(--colors-palette-success-600)", - "--colors-viz-6": "var(--colors-palette-danger-600)", - "--colors-viz-7": "var(--colors-palette-neutral-dark-1000)", - "--colors-viz-8": "var(--colors-palette-neutral-light-600)", - "--colors-viz-seq-1": "var(--colors-palette-primary-600)", - "--colors-viz-seq-2": "var(--colors-palette-primary-700)", - "--colors-viz-seq-3": "var(--colors-palette-primary-800)", - "--colors-viz-seq-4": "var(--colors-palette-primary-900)", + "--color-action-danger": "var(--color-palette-danger-800)", + "--color-action-danger-hover": "var(--color-palette-danger-900)", + "--color-action-danger-pressed": "var(--color-palette-danger-1000)", + "--color-action-disabled": "var(--color-palette-neutral-light-400)", + "--color-action-neutral": "var(--color-palette-neutral-dark-1000)", + "--color-action-neutral-hover": "var(--color-palette-neutral-dark-1100)", + "--color-action-neutral-pressed": "var(--color-black)", + "--color-action-primary": "var(--color-palette-primary-800)", + "--color-action-primary-hover": "var(--color-palette-primary-900)", + "--color-action-primary-pressed": "var(--color-palette-primary-1000)", + "--color-background-current": "var(--color-palette-neutral-light-100)", + "--color-border-default": "var(--color-palette-neutral-dark-600)", + "--color-border-strong": "var(--color-palette-neutral-dark-1100)", + "--color-border-subtle": "var(--color-palette-neutral-dark-300)", + "--color-shadow-ambient": "var(--color-palette-neutral-dark-1100-a12)", + "--color-shadow-key": "var(--color-palette-neutral-dark-1100-a16)", + "--color-shadow-scrim": "var(--color-black-a60)", + "--color-state-hover": "var(--color-palette-primary-600-a6)", + "--color-state-pressed": "var(--color-palette-primary-600-a9)", + "--color-state-selected": "var(--color-palette-primary-600-a8)", + "--color-surface-brand": "var(--color-palette-neutral-light-100)", + "--color-surface-brand-subtle": "var(--color-palette-neutral-light-100)", + "--color-surface-default": "var(--color-palette-neutral-light-100)", + "--color-surface-error": "var(--color-palette-danger-200)", + "--color-surface-raised": "var(--color-white)", + "--color-surface-success": "var(--color-palette-success-200)", + "--color-surface-sunken": "var(--color-palette-neutral-light-200)", + "--color-surface-warning": "var(--color-palette-warning-200)", + "--color-text-default": "var(--color-palette-neutral-dark-1000)", + "--color-text-error": "var(--color-palette-danger-900)", + "--color-text-inverse": "var(--color-palette-neutral-light-200)", + "--color-text-subtle": "var(--color-palette-neutral-dark-800)", + "--color-text-success": "var(--color-palette-success-900)", + "--color-text-warning": "var(--color-palette-warning-900)", + "--color-viz-1": "var(--color-palette-primary-800)", + "--color-viz-2": "var(--color-palette-accent-700)", + "--color-viz-3": "var(--color-palette-warning-700)", + "--color-viz-4": "var(--color-palette-accent-alt-600)", + "--color-viz-5": "var(--color-palette-success-600)", + "--color-viz-6": "var(--color-palette-danger-600)", + "--color-viz-7": "var(--color-palette-neutral-dark-1000)", + "--color-viz-8": "var(--color-palette-neutral-light-600)", + "--color-viz-seq-1": "var(--color-palette-primary-600)", + "--color-viz-seq-2": "var(--color-palette-primary-700)", + "--color-viz-seq-3": "var(--color-palette-primary-800)", + "--color-viz-seq-4": "var(--color-palette-primary-900)", }, "root": { "--elements-headerHeight": "4rem", @@ -276,8 +276,8 @@ exports[`themes admin - theme shape 1`] = ` "xl": "16px", }, "borders": { - "1": "1px solid var(--colors-border-strong)", - "2": "2px solid var(--colors-border-strong)", + "1": "1px solid var(--color-border-strong)", + "2": "2px solid var(--color-border-strong)", }, "brand": "admin", "breakpoints": { @@ -294,150 +294,150 @@ exports[`themes admin - theme shape 1`] = ` "xs": "@media only screen and (min-width: 480px)", }, "colors": { - "action-danger": "var(--colors-action-danger)", - "action-danger-hover": "var(--colors-action-danger-hover)", - "action-danger-pressed": "var(--colors-action-danger-pressed)", - "action-disabled": "var(--colors-action-disabled)", - "action-neutral": "var(--colors-action-neutral)", - "action-neutral-hover": "var(--colors-action-neutral-hover)", - "action-neutral-pressed": "var(--colors-action-neutral-pressed)", - "action-primary": "var(--colors-action-primary)", - "action-primary-hover": "var(--colors-action-primary-hover)", - "action-primary-pressed": "var(--colors-action-primary-pressed)", - "background-current": "var(--colors-background-current)", - "black": "var(--colors-black)", - "black-a24": "var(--colors-black-a24)", - "black-a32": "var(--colors-black-a32)", - "black-a60": "var(--colors-black-a60)", - "border-default": "var(--colors-border-default)", - "border-strong": "var(--colors-border-strong)", - "border-subtle": "var(--colors-border-subtle)", - "palette-accent-100": "var(--colors-palette-accent-100)", - "palette-accent-1000": "var(--colors-palette-accent-1000)", - "palette-accent-1100": "var(--colors-palette-accent-1100)", - "palette-accent-200": "var(--colors-palette-accent-200)", - "palette-accent-300": "var(--colors-palette-accent-300)", - "palette-accent-400": "var(--colors-palette-accent-400)", - "palette-accent-500": "var(--colors-palette-accent-500)", - "palette-accent-600": "var(--colors-palette-accent-600)", - "palette-accent-700": "var(--colors-palette-accent-700)", - "palette-accent-800": "var(--colors-palette-accent-800)", - "palette-accent-900": "var(--colors-palette-accent-900)", - "palette-accent-alt-100": "var(--colors-palette-accent-alt-100)", - "palette-accent-alt-1000": "var(--colors-palette-accent-alt-1000)", - "palette-accent-alt-1100": "var(--colors-palette-accent-alt-1100)", - "palette-accent-alt-200": "var(--colors-palette-accent-alt-200)", - "palette-accent-alt-300": "var(--colors-palette-accent-alt-300)", - "palette-accent-alt-400": "var(--colors-palette-accent-alt-400)", - "palette-accent-alt-500": "var(--colors-palette-accent-alt-500)", - "palette-accent-alt-600": "var(--colors-palette-accent-alt-600)", - "palette-accent-alt-700": "var(--colors-palette-accent-alt-700)", - "palette-accent-alt-800": "var(--colors-palette-accent-alt-800)", - "palette-accent-alt-900": "var(--colors-palette-accent-alt-900)", - "palette-danger-100": "var(--colors-palette-danger-100)", - "palette-danger-1000": "var(--colors-palette-danger-1000)", - "palette-danger-1100": "var(--colors-palette-danger-1100)", - "palette-danger-200": "var(--colors-palette-danger-200)", - "palette-danger-300": "var(--colors-palette-danger-300)", - "palette-danger-400": "var(--colors-palette-danger-400)", - "palette-danger-500": "var(--colors-palette-danger-500)", - "palette-danger-600": "var(--colors-palette-danger-600)", - "palette-danger-700": "var(--colors-palette-danger-700)", - "palette-danger-800": "var(--colors-palette-danger-800)", - "palette-danger-900": "var(--colors-palette-danger-900)", - "palette-neutral-dark-100": "var(--colors-palette-neutral-dark-100)", - "palette-neutral-dark-1000": "var(--colors-palette-neutral-dark-1000)", - "palette-neutral-dark-1100": "var(--colors-palette-neutral-dark-1100)", - "palette-neutral-dark-1100-a12": "var(--colors-palette-neutral-dark-1100-a12)", - "palette-neutral-dark-1100-a16": "var(--colors-palette-neutral-dark-1100-a16)", - "palette-neutral-dark-200": "var(--colors-palette-neutral-dark-200)", - "palette-neutral-dark-300": "var(--colors-palette-neutral-dark-300)", - "palette-neutral-dark-400": "var(--colors-palette-neutral-dark-400)", - "palette-neutral-dark-500": "var(--colors-palette-neutral-dark-500)", - "palette-neutral-dark-600": "var(--colors-palette-neutral-dark-600)", - "palette-neutral-dark-700": "var(--colors-palette-neutral-dark-700)", - "palette-neutral-dark-800": "var(--colors-palette-neutral-dark-800)", - "palette-neutral-dark-900": "var(--colors-palette-neutral-dark-900)", - "palette-neutral-light-100": "var(--colors-palette-neutral-light-100)", - "palette-neutral-light-1000": "var(--colors-palette-neutral-light-1000)", - "palette-neutral-light-1100": "var(--colors-palette-neutral-light-1100)", - "palette-neutral-light-200": "var(--colors-palette-neutral-light-200)", - "palette-neutral-light-300": "var(--colors-palette-neutral-light-300)", - "palette-neutral-light-400": "var(--colors-palette-neutral-light-400)", - "palette-neutral-light-500": "var(--colors-palette-neutral-light-500)", - "palette-neutral-light-600": "var(--colors-palette-neutral-light-600)", - "palette-neutral-light-700": "var(--colors-palette-neutral-light-700)", - "palette-neutral-light-800": "var(--colors-palette-neutral-light-800)", - "palette-neutral-light-900": "var(--colors-palette-neutral-light-900)", - "palette-primary-100": "var(--colors-palette-primary-100)", - "palette-primary-1000": "var(--colors-palette-primary-1000)", - "palette-primary-1100": "var(--colors-palette-primary-1100)", - "palette-primary-200": "var(--colors-palette-primary-200)", - "palette-primary-300": "var(--colors-palette-primary-300)", - "palette-primary-400": "var(--colors-palette-primary-400)", - "palette-primary-500": "var(--colors-palette-primary-500)", - "palette-primary-600": "var(--colors-palette-primary-600)", - "palette-primary-600-a6": "var(--colors-palette-primary-600-a6)", - "palette-primary-600-a8": "var(--colors-palette-primary-600-a8)", - "palette-primary-600-a9": "var(--colors-palette-primary-600-a9)", - "palette-primary-700": "var(--colors-palette-primary-700)", - "palette-primary-800": "var(--colors-palette-primary-800)", - "palette-primary-900": "var(--colors-palette-primary-900)", - "palette-success-100": "var(--colors-palette-success-100)", - "palette-success-1000": "var(--colors-palette-success-1000)", - "palette-success-1100": "var(--colors-palette-success-1100)", - "palette-success-200": "var(--colors-palette-success-200)", - "palette-success-300": "var(--colors-palette-success-300)", - "palette-success-400": "var(--colors-palette-success-400)", - "palette-success-500": "var(--colors-palette-success-500)", - "palette-success-600": "var(--colors-palette-success-600)", - "palette-success-700": "var(--colors-palette-success-700)", - "palette-success-800": "var(--colors-palette-success-800)", - "palette-success-900": "var(--colors-palette-success-900)", - "palette-warning-100": "var(--colors-palette-warning-100)", - "palette-warning-1000": "var(--colors-palette-warning-1000)", - "palette-warning-1100": "var(--colors-palette-warning-1100)", - "palette-warning-200": "var(--colors-palette-warning-200)", - "palette-warning-300": "var(--colors-palette-warning-300)", - "palette-warning-400": "var(--colors-palette-warning-400)", - "palette-warning-500": "var(--colors-palette-warning-500)", - "palette-warning-600": "var(--colors-palette-warning-600)", - "palette-warning-700": "var(--colors-palette-warning-700)", - "palette-warning-800": "var(--colors-palette-warning-800)", - "palette-warning-900": "var(--colors-palette-warning-900)", - "shadow-ambient": "var(--colors-shadow-ambient)", - "shadow-key": "var(--colors-shadow-key)", - "shadow-scrim": "var(--colors-shadow-scrim)", - "state-hover": "var(--colors-state-hover)", - "state-pressed": "var(--colors-state-pressed)", - "state-selected": "var(--colors-state-selected)", - "surface-brand": "var(--colors-surface-brand)", - "surface-brand-subtle": "var(--colors-surface-brand-subtle)", - "surface-default": "var(--colors-surface-default)", - "surface-error": "var(--colors-surface-error)", - "surface-raised": "var(--colors-surface-raised)", - "surface-success": "var(--colors-surface-success)", - "surface-sunken": "var(--colors-surface-sunken)", - "surface-warning": "var(--colors-surface-warning)", - "text-default": "var(--colors-text-default)", - "text-error": "var(--colors-text-error)", - "text-inverse": "var(--colors-text-inverse)", - "text-subtle": "var(--colors-text-subtle)", - "text-success": "var(--colors-text-success)", - "text-warning": "var(--colors-text-warning)", - "viz-1": "var(--colors-viz-1)", - "viz-2": "var(--colors-viz-2)", - "viz-3": "var(--colors-viz-3)", - "viz-4": "var(--colors-viz-4)", - "viz-5": "var(--colors-viz-5)", - "viz-6": "var(--colors-viz-6)", - "viz-7": "var(--colors-viz-7)", - "viz-8": "var(--colors-viz-8)", - "viz-seq-1": "var(--colors-viz-seq-1)", - "viz-seq-2": "var(--colors-viz-seq-2)", - "viz-seq-3": "var(--colors-viz-seq-3)", - "viz-seq-4": "var(--colors-viz-seq-4)", - "white": "var(--colors-white)", + "action-danger": "var(--color-action-danger)", + "action-danger-hover": "var(--color-action-danger-hover)", + "action-danger-pressed": "var(--color-action-danger-pressed)", + "action-disabled": "var(--color-action-disabled)", + "action-neutral": "var(--color-action-neutral)", + "action-neutral-hover": "var(--color-action-neutral-hover)", + "action-neutral-pressed": "var(--color-action-neutral-pressed)", + "action-primary": "var(--color-action-primary)", + "action-primary-hover": "var(--color-action-primary-hover)", + "action-primary-pressed": "var(--color-action-primary-pressed)", + "background-current": "var(--color-background-current)", + "black": "var(--color-black)", + "black-a24": "var(--color-black-a24)", + "black-a32": "var(--color-black-a32)", + "black-a60": "var(--color-black-a60)", + "border-default": "var(--color-border-default)", + "border-strong": "var(--color-border-strong)", + "border-subtle": "var(--color-border-subtle)", + "palette-accent-100": "var(--color-palette-accent-100)", + "palette-accent-1000": "var(--color-palette-accent-1000)", + "palette-accent-1100": "var(--color-palette-accent-1100)", + "palette-accent-200": "var(--color-palette-accent-200)", + "palette-accent-300": "var(--color-palette-accent-300)", + "palette-accent-400": "var(--color-palette-accent-400)", + "palette-accent-500": "var(--color-palette-accent-500)", + "palette-accent-600": "var(--color-palette-accent-600)", + "palette-accent-700": "var(--color-palette-accent-700)", + "palette-accent-800": "var(--color-palette-accent-800)", + "palette-accent-900": "var(--color-palette-accent-900)", + "palette-accent-alt-100": "var(--color-palette-accent-alt-100)", + "palette-accent-alt-1000": "var(--color-palette-accent-alt-1000)", + "palette-accent-alt-1100": "var(--color-palette-accent-alt-1100)", + "palette-accent-alt-200": "var(--color-palette-accent-alt-200)", + "palette-accent-alt-300": "var(--color-palette-accent-alt-300)", + "palette-accent-alt-400": "var(--color-palette-accent-alt-400)", + "palette-accent-alt-500": "var(--color-palette-accent-alt-500)", + "palette-accent-alt-600": "var(--color-palette-accent-alt-600)", + "palette-accent-alt-700": "var(--color-palette-accent-alt-700)", + "palette-accent-alt-800": "var(--color-palette-accent-alt-800)", + "palette-accent-alt-900": "var(--color-palette-accent-alt-900)", + "palette-danger-100": "var(--color-palette-danger-100)", + "palette-danger-1000": "var(--color-palette-danger-1000)", + "palette-danger-1100": "var(--color-palette-danger-1100)", + "palette-danger-200": "var(--color-palette-danger-200)", + "palette-danger-300": "var(--color-palette-danger-300)", + "palette-danger-400": "var(--color-palette-danger-400)", + "palette-danger-500": "var(--color-palette-danger-500)", + "palette-danger-600": "var(--color-palette-danger-600)", + "palette-danger-700": "var(--color-palette-danger-700)", + "palette-danger-800": "var(--color-palette-danger-800)", + "palette-danger-900": "var(--color-palette-danger-900)", + "palette-neutral-dark-100": "var(--color-palette-neutral-dark-100)", + "palette-neutral-dark-1000": "var(--color-palette-neutral-dark-1000)", + "palette-neutral-dark-1100": "var(--color-palette-neutral-dark-1100)", + "palette-neutral-dark-1100-a12": "var(--color-palette-neutral-dark-1100-a12)", + "palette-neutral-dark-1100-a16": "var(--color-palette-neutral-dark-1100-a16)", + "palette-neutral-dark-200": "var(--color-palette-neutral-dark-200)", + "palette-neutral-dark-300": "var(--color-palette-neutral-dark-300)", + "palette-neutral-dark-400": "var(--color-palette-neutral-dark-400)", + "palette-neutral-dark-500": "var(--color-palette-neutral-dark-500)", + "palette-neutral-dark-600": "var(--color-palette-neutral-dark-600)", + "palette-neutral-dark-700": "var(--color-palette-neutral-dark-700)", + "palette-neutral-dark-800": "var(--color-palette-neutral-dark-800)", + "palette-neutral-dark-900": "var(--color-palette-neutral-dark-900)", + "palette-neutral-light-100": "var(--color-palette-neutral-light-100)", + "palette-neutral-light-1000": "var(--color-palette-neutral-light-1000)", + "palette-neutral-light-1100": "var(--color-palette-neutral-light-1100)", + "palette-neutral-light-200": "var(--color-palette-neutral-light-200)", + "palette-neutral-light-300": "var(--color-palette-neutral-light-300)", + "palette-neutral-light-400": "var(--color-palette-neutral-light-400)", + "palette-neutral-light-500": "var(--color-palette-neutral-light-500)", + "palette-neutral-light-600": "var(--color-palette-neutral-light-600)", + "palette-neutral-light-700": "var(--color-palette-neutral-light-700)", + "palette-neutral-light-800": "var(--color-palette-neutral-light-800)", + "palette-neutral-light-900": "var(--color-palette-neutral-light-900)", + "palette-primary-100": "var(--color-palette-primary-100)", + "palette-primary-1000": "var(--color-palette-primary-1000)", + "palette-primary-1100": "var(--color-palette-primary-1100)", + "palette-primary-200": "var(--color-palette-primary-200)", + "palette-primary-300": "var(--color-palette-primary-300)", + "palette-primary-400": "var(--color-palette-primary-400)", + "palette-primary-500": "var(--color-palette-primary-500)", + "palette-primary-600": "var(--color-palette-primary-600)", + "palette-primary-600-a6": "var(--color-palette-primary-600-a6)", + "palette-primary-600-a8": "var(--color-palette-primary-600-a8)", + "palette-primary-600-a9": "var(--color-palette-primary-600-a9)", + "palette-primary-700": "var(--color-palette-primary-700)", + "palette-primary-800": "var(--color-palette-primary-800)", + "palette-primary-900": "var(--color-palette-primary-900)", + "palette-success-100": "var(--color-palette-success-100)", + "palette-success-1000": "var(--color-palette-success-1000)", + "palette-success-1100": "var(--color-palette-success-1100)", + "palette-success-200": "var(--color-palette-success-200)", + "palette-success-300": "var(--color-palette-success-300)", + "palette-success-400": "var(--color-palette-success-400)", + "palette-success-500": "var(--color-palette-success-500)", + "palette-success-600": "var(--color-palette-success-600)", + "palette-success-700": "var(--color-palette-success-700)", + "palette-success-800": "var(--color-palette-success-800)", + "palette-success-900": "var(--color-palette-success-900)", + "palette-warning-100": "var(--color-palette-warning-100)", + "palette-warning-1000": "var(--color-palette-warning-1000)", + "palette-warning-1100": "var(--color-palette-warning-1100)", + "palette-warning-200": "var(--color-palette-warning-200)", + "palette-warning-300": "var(--color-palette-warning-300)", + "palette-warning-400": "var(--color-palette-warning-400)", + "palette-warning-500": "var(--color-palette-warning-500)", + "palette-warning-600": "var(--color-palette-warning-600)", + "palette-warning-700": "var(--color-palette-warning-700)", + "palette-warning-800": "var(--color-palette-warning-800)", + "palette-warning-900": "var(--color-palette-warning-900)", + "shadow-ambient": "var(--color-shadow-ambient)", + "shadow-key": "var(--color-shadow-key)", + "shadow-scrim": "var(--color-shadow-scrim)", + "state-hover": "var(--color-state-hover)", + "state-pressed": "var(--color-state-pressed)", + "state-selected": "var(--color-state-selected)", + "surface-brand": "var(--color-surface-brand)", + "surface-brand-subtle": "var(--color-surface-brand-subtle)", + "surface-default": "var(--color-surface-default)", + "surface-error": "var(--color-surface-error)", + "surface-raised": "var(--color-surface-raised)", + "surface-success": "var(--color-surface-success)", + "surface-sunken": "var(--color-surface-sunken)", + "surface-warning": "var(--color-surface-warning)", + "text-default": "var(--color-text-default)", + "text-error": "var(--color-text-error)", + "text-inverse": "var(--color-text-inverse)", + "text-subtle": "var(--color-text-subtle)", + "text-success": "var(--color-text-success)", + "text-warning": "var(--color-text-warning)", + "viz-1": "var(--color-viz-1)", + "viz-2": "var(--color-viz-2)", + "viz-3": "var(--color-viz-3)", + "viz-4": "var(--color-viz-4)", + "viz-5": "var(--color-viz-5)", + "viz-6": "var(--color-viz-6)", + "viz-7": "var(--color-viz-7)", + "viz-8": "var(--color-viz-8)", + "viz-seq-1": "var(--color-viz-seq-1)", + "viz-seq-2": "var(--color-viz-seq-2)", + "viz-seq-3": "var(--color-viz-seq-3)", + "viz-seq-4": "var(--color-viz-seq-4)", + "white": "var(--color-white)", }, "contentModes": { "black": "dark", @@ -536,11 +536,11 @@ exports[`themes admin - theme shape 1`] = ` "headerZ": "var(--elements-headerZ)", }, "elevation": { - "hover-shadow": "0 2px 6px 0 var(--colors-shadow-key), 0 6px 16px 0 var(--colors-shadow-ambient)", + "hover-shadow": "0 2px 6px 0 var(--color-shadow-key), 0 6px 16px 0 var(--color-shadow-ambient)", "hover-transform": "none", - "hoverMirrored-shadow": "0 2px 6px 0 var(--colors-shadow-key), 0 6px 16px 0 var(--colors-shadow-ambient)", + "hoverMirrored-shadow": "0 2px 6px 0 var(--color-shadow-key), 0 6px 16px 0 var(--color-shadow-ambient)", "hoverMirrored-transform": "none", - "rest-shadow": "0 1px 4px 0 var(--colors-shadow-key), 0 2px 7px 0 var(--colors-shadow-ambient)", + "rest-shadow": "0 1px 4px 0 var(--color-shadow-key), 0 2px 7px 0 var(--color-shadow-ambient)", "rest-transform": "none", }, "fontFamily": { @@ -695,210 +695,210 @@ monospace", @layer tokens { :root, [data-brand="admin"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9862 0.0016 58.80); - --colors-palette-neutral-light-200: oklch(0.9364 0.0031 58.80); - --colors-palette-neutral-light-300: oklch(0.8497 0.0109 58.80); - --colors-palette-neutral-light-400: oklch(0.7628 0.0237 58.80); - --colors-palette-neutral-light-500: oklch(0.6707 0.0280 58.80); - --colors-palette-neutral-light-600: oklch(0.5835 0.0277 58.80); - --colors-palette-neutral-light-700: oklch(0.4972 0.0224 58.80); - --colors-palette-neutral-light-800: oklch(0.4115 0.0175 58.80); - --colors-palette-neutral-light-900: oklch(0.3346 0.0139 58.80); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); - --colors-palette-primary-100: oklch(0.9862 0.0064 263.60); - --colors-palette-primary-200: oklch(0.9364 0.0120 263.60); - --colors-palette-primary-300: oklch(0.8497 0.0406 263.60); - --colors-palette-primary-400: oklch(0.7628 0.0845 263.60); - --colors-palette-primary-500: oklch(0.6707 0.1528 263.60); - --colors-palette-primary-600: oklch(0.5835 0.2271 263.60); - --colors-palette-primary-700: oklch(0.4972 0.2553 263.60); - --colors-palette-primary-800: oklch(0.4115 0.2002 263.60); - --colors-palette-primary-900: oklch(0.3346 0.1591 263.60); - --colors-palette-primary-1000: oklch(0.2499 0.1134 263.60); - --colors-palette-primary-1100: oklch(0.1925 0.0832 263.60); - --colors-palette-primary-600-a6: oklch(0.5835 0.2271 263.60 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2271 263.60 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2271 263.60 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0205 93.60); - --colors-palette-accent-200: oklch(0.9364 0.0378 93.60); - --colors-palette-accent-300: oklch(0.8789 0.1801 93.58); - --colors-palette-accent-400: oklch(0.7442 0.1526 93.94); - --colors-palette-accent-500: oklch(0.6707 0.1209 93.60); - --colors-palette-accent-600: oklch(0.5835 0.1195 93.60); - --colors-palette-accent-700: oklch(0.4972 0.0967 93.60); - --colors-palette-accent-800: oklch(0.4115 0.0758 93.60); - --colors-palette-accent-900: oklch(0.3346 0.0603 93.60); - --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60); - --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 29.40); - --colors-palette-danger-200: oklch(0.9364 0.0128 29.40); - --colors-palette-danger-300: oklch(0.8497 0.0452 29.40); - --colors-palette-danger-400: oklch(0.7628 0.0990 29.40); - --colors-palette-danger-500: oklch(0.6707 0.1910 29.40); - --colors-palette-danger-600: oklch(0.5835 0.2382 29.40); - --colors-palette-danger-700: oklch(0.4972 0.1928 29.40); - --colors-palette-danger-800: oklch(0.4115 0.1512 29.40); - --colors-palette-danger-900: oklch(0.3346 0.1202 29.40); - --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40); - --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40); - --colors-palette-warning-100: oklch(0.9862 0.0082 58.30); - --colors-palette-warning-200: oklch(0.9364 0.0156 58.30); - --colors-palette-warning-300: oklch(0.8497 0.0545 58.30); - --colors-palette-warning-400: oklch(0.7628 0.1179 58.30); - --colors-palette-warning-500: oklch(0.6707 0.1408 58.30); - --colors-palette-warning-600: oklch(0.5835 0.1392 58.30); - --colors-palette-warning-700: oklch(0.4972 0.1127 58.30); - --colors-palette-warning-800: oklch(0.4115 0.0883 58.30); - --colors-palette-warning-900: oklch(0.3346 0.0702 58.30); - --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30); - --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30); - --colors-palette-success-100: oklch(0.9862 0.0228 145.50); - --colors-palette-success-200: oklch(0.9364 0.0458 145.50); - --colors-palette-success-300: oklch(0.8497 0.1448 145.50); - --colors-palette-success-400: oklch(0.7628 0.1654 145.50); - --colors-palette-success-500: oklch(0.6707 0.1829 145.50); - --colors-palette-success-600: oklch(0.5835 0.1808 145.50); - --colors-palette-success-700: oklch(0.4972 0.1464 145.50); - --colors-palette-success-800: oklch(0.4115 0.1147 145.50); - --colors-palette-success-900: oklch(0.3346 0.0912 145.50); - --colors-palette-success-1000: oklch(0.2499 0.0650 145.50); - --colors-palette-success-1100: oklch(0.1925 0.0477 145.50); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9862 0.0016 58.80); + --color-palette-neutral-light-200: oklch(0.9364 0.0031 58.80); + --color-palette-neutral-light-300: oklch(0.8497 0.0109 58.80); + --color-palette-neutral-light-400: oklch(0.7628 0.0237 58.80); + --color-palette-neutral-light-500: oklch(0.6707 0.0280 58.80); + --color-palette-neutral-light-600: oklch(0.5835 0.0277 58.80); + --color-palette-neutral-light-700: oklch(0.4972 0.0224 58.80); + --color-palette-neutral-light-800: oklch(0.4115 0.0175 58.80); + --color-palette-neutral-light-900: oklch(0.3346 0.0139 58.80); + --color-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80); + --color-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); + --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); + --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); + --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); + --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); + --color-palette-primary-100: oklch(0.9862 0.0064 263.60); + --color-palette-primary-200: oklch(0.9364 0.0120 263.60); + --color-palette-primary-300: oklch(0.8497 0.0406 263.60); + --color-palette-primary-400: oklch(0.7628 0.0845 263.60); + --color-palette-primary-500: oklch(0.6707 0.1528 263.60); + --color-palette-primary-600: oklch(0.5835 0.2271 263.60); + --color-palette-primary-700: oklch(0.4972 0.2553 263.60); + --color-palette-primary-800: oklch(0.4115 0.2002 263.60); + --color-palette-primary-900: oklch(0.3346 0.1591 263.60); + --color-palette-primary-1000: oklch(0.2499 0.1134 263.60); + --color-palette-primary-1100: oklch(0.1925 0.0832 263.60); + --color-palette-primary-600-a6: oklch(0.5835 0.2271 263.60 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2271 263.60 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2271 263.60 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0205 93.60); + --color-palette-accent-200: oklch(0.9364 0.0378 93.60); + --color-palette-accent-300: oklch(0.8789 0.1801 93.58); + --color-palette-accent-400: oklch(0.7442 0.1526 93.94); + --color-palette-accent-500: oklch(0.6707 0.1209 93.60); + --color-palette-accent-600: oklch(0.5835 0.1195 93.60); + --color-palette-accent-700: oklch(0.4972 0.0967 93.60); + --color-palette-accent-800: oklch(0.4115 0.0758 93.60); + --color-palette-accent-900: oklch(0.3346 0.0603 93.60); + --color-palette-accent-1000: oklch(0.2499 0.0430 93.60); + --color-palette-accent-1100: oklch(0.1925 0.0315 93.60); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 29.40); + --color-palette-danger-200: oklch(0.9364 0.0128 29.40); + --color-palette-danger-300: oklch(0.8497 0.0452 29.40); + --color-palette-danger-400: oklch(0.7628 0.0990 29.40); + --color-palette-danger-500: oklch(0.6707 0.1910 29.40); + --color-palette-danger-600: oklch(0.5835 0.2382 29.40); + --color-palette-danger-700: oklch(0.4972 0.1928 29.40); + --color-palette-danger-800: oklch(0.4115 0.1512 29.40); + --color-palette-danger-900: oklch(0.3346 0.1202 29.40); + --color-palette-danger-1000: oklch(0.2499 0.0857 29.40); + --color-palette-danger-1100: oklch(0.1925 0.0628 29.40); + --color-palette-warning-100: oklch(0.9862 0.0082 58.30); + --color-palette-warning-200: oklch(0.9364 0.0156 58.30); + --color-palette-warning-300: oklch(0.8497 0.0545 58.30); + --color-palette-warning-400: oklch(0.7628 0.1179 58.30); + --color-palette-warning-500: oklch(0.6707 0.1408 58.30); + --color-palette-warning-600: oklch(0.5835 0.1392 58.30); + --color-palette-warning-700: oklch(0.4972 0.1127 58.30); + --color-palette-warning-800: oklch(0.4115 0.0883 58.30); + --color-palette-warning-900: oklch(0.3346 0.0702 58.30); + --color-palette-warning-1000: oklch(0.2499 0.0500 58.30); + --color-palette-warning-1100: oklch(0.1925 0.0367 58.30); + --color-palette-success-100: oklch(0.9862 0.0228 145.50); + --color-palette-success-200: oklch(0.9364 0.0458 145.50); + --color-palette-success-300: oklch(0.8497 0.1448 145.50); + --color-palette-success-400: oklch(0.7628 0.1654 145.50); + --color-palette-success-500: oklch(0.6707 0.1829 145.50); + --color-palette-success-600: oklch(0.5835 0.1808 145.50); + --color-palette-success-700: oklch(0.4972 0.1464 145.50); + --color-palette-success-800: oklch(0.4115 0.1147 145.50); + --color-palette-success-900: oklch(0.3346 0.0912 145.50); + --color-palette-success-1000: oklch(0.2499 0.0650 145.50); + --color-palette-success-1100: oklch(0.1925 0.0477 145.50); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); } :root, [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } } ", @@ -1059,108 +1059,108 @@ exports[`themes core - theme shape 1`] = ` }, "_variables": { "mode": { - "--colors-background": "var(--colors-white)", - "--colors-background-contrast": "var(--colors-white)", - "--colors-background-current": "var(--colors-white)", - "--colors-background-disabled": "var(--colors-navy-200)", - "--colors-background-error": "var(--colors-red-0)", - "--colors-background-hover": "var(--colors-navy-200)", - "--colors-background-primary": "var(--colors-beige)", - "--colors-background-selected": "var(--colors-navy-100)", - "--colors-background-success": "var(--colors-green-0)", - "--colors-background-warning": "var(--colors-yellow-0)", - "--colors-border-disabled": "var(--colors-navy-500)", - "--colors-border-primary": "var(--colors-navy-800)", - "--colors-border-secondary": "var(--colors-navy-600)", - "--colors-border-tertiary": "var(--colors-navy-300)", - "--colors-danger": "var(--colors-red-500)", - "--colors-danger-hover": "var(--colors-red-600)", - "--colors-feedback-error": "var(--colors-red-600)", - "--colors-feedback-success": "var(--colors-green-700)", - "--colors-feedback-warning": "var(--colors-yellow)", - "--colors-interface": "var(--colors-hyper-500)", - "--colors-interface-hover": "var(--colors-hyper-400)", - "--colors-primary": "var(--colors-hyper-500)", - "--colors-primary-hover": "var(--colors-hyper-400)", - "--colors-primary-inverse": "var(--colors-yellow-500)", - "--colors-secondary": "var(--colors-navy-800)", - "--colors-secondary-hover": "var(--colors-navy-700)", - "--colors-shadow-primary": "var(--colors-navy-800)", - "--colors-shadow-secondary": "var(--colors-navy-600)", - "--colors-text": "var(--colors-navy-800)", - "--colors-text-accent": "var(--colors-navy-900)", - "--colors-text-disabled": "var(--colors-navy-500)", - "--colors-text-secondary": "var(--colors-navy-600)", + "--color-background": "var(--color-white)", + "--color-background-contrast": "var(--color-white)", + "--color-background-current": "var(--color-white)", + "--color-background-disabled": "var(--color-navy-200)", + "--color-background-error": "var(--color-red-0)", + "--color-background-hover": "var(--color-navy-200)", + "--color-background-primary": "var(--color-beige)", + "--color-background-selected": "var(--color-navy-100)", + "--color-background-success": "var(--color-green-0)", + "--color-background-warning": "var(--color-yellow-0)", + "--color-border-disabled": "var(--color-navy-500)", + "--color-border-primary": "var(--color-navy-800)", + "--color-border-secondary": "var(--color-navy-600)", + "--color-border-tertiary": "var(--color-navy-300)", + "--color-danger": "var(--color-red-500)", + "--color-danger-hover": "var(--color-red-600)", + "--color-feedback-error": "var(--color-red-600)", + "--color-feedback-success": "var(--color-green-700)", + "--color-feedback-warning": "var(--color-yellow)", + "--color-interface": "var(--color-hyper-500)", + "--color-interface-hover": "var(--color-hyper-400)", + "--color-primary": "var(--color-hyper-500)", + "--color-primary-hover": "var(--color-hyper-400)", + "--color-primary-inverse": "var(--color-yellow-500)", + "--color-secondary": "var(--color-navy-800)", + "--color-secondary-hover": "var(--color-navy-700)", + "--color-shadow-primary": "var(--color-navy-800)", + "--color-shadow-secondary": "var(--color-navy-600)", + "--color-text": "var(--color-navy-800)", + "--color-text-accent": "var(--color-navy-900)", + "--color-text-disabled": "var(--color-navy-500)", + "--color-text-secondary": "var(--color-navy-600)", }, "root": { - "--colors-beige": "#FFF0E5", - "--colors-beige-100": "#FFF0E5", - "--colors-black": "#000000", - "--colors-blue": "#1557FF", - "--colors-blue-0": "#F5FCFF", - "--colors-blue-100": "#D3F2FF", - "--colors-blue-300": "#66C4FF", - "--colors-blue-400": "#3388FF", - "--colors-blue-500": "#1557FF", - "--colors-blue-800": "#1D2340", - "--colors-gray-100": "#F5F5F5", - "--colors-gray-200": "#EEEEEE", - "--colors-gray-300": "#E0E0E0", - "--colors-gray-600": "#9E9E9E", - "--colors-gray-800": "#616161", - "--colors-gray-900": "#424242", - "--colors-green": "#008A27", - "--colors-green-0": "#F5FFE3", - "--colors-green-100": "#EAFDC6", - "--colors-green-400": "#AEE938", - "--colors-green-700": "#008A27", - "--colors-green-900": "#151C07", - "--colors-hyper": "#3A10E5", - "--colors-hyper-400": "#5533FF", - "--colors-hyper-500": "#3A10E5", - "--colors-lightBlue": "#66C4FF", - "--colors-lightGreen": "#AEE938", - "--colors-navy": "#10162F", - "--colors-navy-100": "rgba(16,22,47,0.04)", - "--colors-navy-200": "rgba(16,22,47,0.12)", - "--colors-navy-300": "rgba(16,22,47,0.28)", - "--colors-navy-400": "rgba(16,22,47,0.47)", - "--colors-navy-500": "rgba(16,22,47,0.63)", - "--colors-navy-600": "rgba(16,22,47,0.75)", - "--colors-navy-700": "rgba(16,22,47,0.86)", - "--colors-navy-800": "#10162F", - "--colors-navy-900": "#0A0D1C", - "--colors-orange": "#FF8C00", - "--colors-orange-100": "#FFE8CC", - "--colors-orange-500": "#FF8C00", - "--colors-paleBlue": "#F5FCFF", - "--colors-paleGreen": "#F5FFE3", - "--colors-palePink": "#FFF5FF", - "--colors-paleRed": "#DC5879", - "--colors-paleYellow": "#FFFAE5", - "--colors-pink": "#F966FF", - "--colors-pink-0": "#FFF5FF", - "--colors-pink-400": "#F966FF", - "--colors-red": "#E91C11", - "--colors-red-0": "#FBF1F0", - "--colors-red-300": "#E85D7F", - "--colors-red-400": "#DC5879", - "--colors-red-500": "#E91C11", - "--colors-red-600": "#BE1809", - "--colors-red-900": "#280503", - "--colors-white": "#ffffff", - "--colors-white-100": "rgba(255,255,255,0.04)", - "--colors-white-200": "rgba(255,255,255,0.09)", - "--colors-white-300": "rgba(255,255,255,0.2)", - "--colors-white-400": "rgba(255,255,255,0.35)", - "--colors-white-500": "rgba(255,255,255,0.5)", - "--colors-white-600": "rgba(255,255,255,0.65)", - "--colors-white-700": "rgba(255,255,255,0.8)", - "--colors-yellow": "#FFD300", - "--colors-yellow-0": "#FFFAE5", - "--colors-yellow-400": "#CCA900", - "--colors-yellow-500": "#FFD300", - "--colors-yellow-900": "#211B00", + "--color-beige": "#FFF0E5", + "--color-beige-100": "#FFF0E5", + "--color-black": "#000000", + "--color-blue": "#1557FF", + "--color-blue-0": "#F5FCFF", + "--color-blue-100": "#D3F2FF", + "--color-blue-300": "#66C4FF", + "--color-blue-400": "#3388FF", + "--color-blue-500": "#1557FF", + "--color-blue-800": "#1D2340", + "--color-gray-100": "#F5F5F5", + "--color-gray-200": "#EEEEEE", + "--color-gray-300": "#E0E0E0", + "--color-gray-600": "#9E9E9E", + "--color-gray-800": "#616161", + "--color-gray-900": "#424242", + "--color-green": "#008A27", + "--color-green-0": "#F5FFE3", + "--color-green-100": "#EAFDC6", + "--color-green-400": "#AEE938", + "--color-green-700": "#008A27", + "--color-green-900": "#151C07", + "--color-hyper": "#3A10E5", + "--color-hyper-400": "#5533FF", + "--color-hyper-500": "#3A10E5", + "--color-lightBlue": "#66C4FF", + "--color-lightGreen": "#AEE938", + "--color-navy": "#10162F", + "--color-navy-100": "rgba(16,22,47,0.04)", + "--color-navy-200": "rgba(16,22,47,0.12)", + "--color-navy-300": "rgba(16,22,47,0.28)", + "--color-navy-400": "rgba(16,22,47,0.47)", + "--color-navy-500": "rgba(16,22,47,0.63)", + "--color-navy-600": "rgba(16,22,47,0.75)", + "--color-navy-700": "rgba(16,22,47,0.86)", + "--color-navy-800": "#10162F", + "--color-navy-900": "#0A0D1C", + "--color-orange": "#FF8C00", + "--color-orange-100": "#FFE8CC", + "--color-orange-500": "#FF8C00", + "--color-paleBlue": "#F5FCFF", + "--color-paleGreen": "#F5FFE3", + "--color-palePink": "#FFF5FF", + "--color-paleRed": "#DC5879", + "--color-paleYellow": "#FFFAE5", + "--color-pink": "#F966FF", + "--color-pink-0": "#FFF5FF", + "--color-pink-400": "#F966FF", + "--color-red": "#E91C11", + "--color-red-0": "#FBF1F0", + "--color-red-300": "#E85D7F", + "--color-red-400": "#DC5879", + "--color-red-500": "#E91C11", + "--color-red-600": "#BE1809", + "--color-red-900": "#280503", + "--color-white": "#ffffff", + "--color-white-100": "rgba(255,255,255,0.04)", + "--color-white-200": "rgba(255,255,255,0.09)", + "--color-white-300": "rgba(255,255,255,0.2)", + "--color-white-400": "rgba(255,255,255,0.35)", + "--color-white-500": "rgba(255,255,255,0.5)", + "--color-white-600": "rgba(255,255,255,0.65)", + "--color-white-700": "rgba(255,255,255,0.8)", + "--color-yellow": "#FFD300", + "--color-yellow-0": "#FFFAE5", + "--color-yellow-400": "#CCA900", + "--color-yellow-500": "#FFD300", + "--color-yellow-900": "#211B00", "--elements-headerHeight": "4rem", "--elements-headerZ": 15, "@media only screen and (min-width: 1024px)": { @@ -1177,8 +1177,8 @@ exports[`themes core - theme shape 1`] = ` "xl": "16px", }, "borders": { - "1": "1px solid var(--colors-border-primary)", - "2": "2px solid var(--colors-border-primary)", + "1": "1px solid var(--color-border-primary)", + "2": "2px solid var(--color-border-primary)", }, "breakpoints": { "c_base": "@container (min-width: 1px)", @@ -1194,117 +1194,117 @@ exports[`themes core - theme shape 1`] = ` "xs": "@media only screen and (min-width: 480px)", }, "colors": { - "background": "var(--colors-background)", - "background-contrast": "var(--colors-background-contrast)", - "background-current": "var(--colors-background-current)", - "background-disabled": "var(--colors-background-disabled)", - "background-error": "var(--colors-background-error)", - "background-hover": "var(--colors-background-hover)", - "background-primary": "var(--colors-background-primary)", - "background-selected": "var(--colors-background-selected)", - "background-success": "var(--colors-background-success)", - "background-warning": "var(--colors-background-warning)", - "beige": "var(--colors-beige)", - "beige-100": "var(--colors-beige-100)", - "black": "var(--colors-black)", - "blue": "var(--colors-blue)", - "blue-0": "var(--colors-blue-0)", - "blue-100": "var(--colors-blue-100)", - "blue-300": "var(--colors-blue-300)", - "blue-400": "var(--colors-blue-400)", - "blue-500": "var(--colors-blue-500)", - "blue-800": "var(--colors-blue-800)", - "border-disabled": "var(--colors-border-disabled)", - "border-primary": "var(--colors-border-primary)", - "border-secondary": "var(--colors-border-secondary)", - "border-tertiary": "var(--colors-border-tertiary)", - "danger": "var(--colors-danger)", - "danger-hover": "var(--colors-danger-hover)", - "feedback-error": "var(--colors-feedback-error)", - "feedback-success": "var(--colors-feedback-success)", - "feedback-warning": "var(--colors-feedback-warning)", - "gray-100": "var(--colors-gray-100)", - "gray-200": "var(--colors-gray-200)", - "gray-300": "var(--colors-gray-300)", - "gray-600": "var(--colors-gray-600)", - "gray-800": "var(--colors-gray-800)", - "gray-900": "var(--colors-gray-900)", - "green": "var(--colors-green)", - "green-0": "var(--colors-green-0)", - "green-100": "var(--colors-green-100)", - "green-400": "var(--colors-green-400)", - "green-700": "var(--colors-green-700)", - "green-900": "var(--colors-green-900)", - "hyper": "var(--colors-hyper)", - "hyper-400": "var(--colors-hyper-400)", - "hyper-500": "var(--colors-hyper-500)", - "interface": "var(--colors-interface)", - "interface-hover": "var(--colors-interface-hover)", - "lightBlue": "var(--colors-lightBlue)", - "lightGreen": "var(--colors-lightGreen)", - "navy": "var(--colors-navy)", - "navy-100": "var(--colors-navy-100)", - "navy-200": "var(--colors-navy-200)", - "navy-300": "var(--colors-navy-300)", - "navy-400": "var(--colors-navy-400)", - "navy-500": "var(--colors-navy-500)", - "navy-600": "var(--colors-navy-600)", - "navy-700": "var(--colors-navy-700)", - "navy-800": "var(--colors-navy-800)", - "navy-900": "var(--colors-navy-900)", - "orange": "var(--colors-orange)", - "orange-100": "var(--colors-orange-100)", - "orange-500": "var(--colors-orange-500)", - "paleBlue": "var(--colors-paleBlue)", - "paleGreen": "var(--colors-paleGreen)", - "palePink": "var(--colors-palePink)", - "paleRed": "var(--colors-paleRed)", - "paleYellow": "var(--colors-paleYellow)", - "pink": "var(--colors-pink)", - "pink-0": "var(--colors-pink-0)", - "pink-400": "var(--colors-pink-400)", - "primary": "var(--colors-primary)", - "primary-hover": "var(--colors-primary-hover)", - "primary-inverse": "var(--colors-primary-inverse)", - "red": "var(--colors-red)", - "red-0": "var(--colors-red-0)", - "red-300": "var(--colors-red-300)", - "red-400": "var(--colors-red-400)", - "red-500": "var(--colors-red-500)", - "red-600": "var(--colors-red-600)", - "red-900": "var(--colors-red-900)", - "secondary": "var(--colors-secondary)", - "secondary-hover": "var(--colors-secondary-hover)", - "shadow-primary": "var(--colors-shadow-primary)", - "shadow-secondary": "var(--colors-shadow-secondary)", - "text": "var(--colors-text)", - "text-accent": "var(--colors-text-accent)", - "text-disabled": "var(--colors-text-disabled)", - "text-secondary": "var(--colors-text-secondary)", - "white": "var(--colors-white)", - "white-100": "var(--colors-white-100)", - "white-200": "var(--colors-white-200)", - "white-300": "var(--colors-white-300)", - "white-400": "var(--colors-white-400)", - "white-500": "var(--colors-white-500)", - "white-600": "var(--colors-white-600)", - "white-700": "var(--colors-white-700)", - "yellow": "var(--colors-yellow)", - "yellow-0": "var(--colors-yellow-0)", - "yellow-400": "var(--colors-yellow-400)", - "yellow-500": "var(--colors-yellow-500)", - "yellow-900": "var(--colors-yellow-900)", + "background": "var(--color-background)", + "background-contrast": "var(--color-background-contrast)", + "background-current": "var(--color-background-current)", + "background-disabled": "var(--color-background-disabled)", + "background-error": "var(--color-background-error)", + "background-hover": "var(--color-background-hover)", + "background-primary": "var(--color-background-primary)", + "background-selected": "var(--color-background-selected)", + "background-success": "var(--color-background-success)", + "background-warning": "var(--color-background-warning)", + "beige": "var(--color-beige)", + "beige-100": "var(--color-beige-100)", + "black": "var(--color-black)", + "blue": "var(--color-blue)", + "blue-0": "var(--color-blue-0)", + "blue-100": "var(--color-blue-100)", + "blue-300": "var(--color-blue-300)", + "blue-400": "var(--color-blue-400)", + "blue-500": "var(--color-blue-500)", + "blue-800": "var(--color-blue-800)", + "border-disabled": "var(--color-border-disabled)", + "border-primary": "var(--color-border-primary)", + "border-secondary": "var(--color-border-secondary)", + "border-tertiary": "var(--color-border-tertiary)", + "danger": "var(--color-danger)", + "danger-hover": "var(--color-danger-hover)", + "feedback-error": "var(--color-feedback-error)", + "feedback-success": "var(--color-feedback-success)", + "feedback-warning": "var(--color-feedback-warning)", + "gray-100": "var(--color-gray-100)", + "gray-200": "var(--color-gray-200)", + "gray-300": "var(--color-gray-300)", + "gray-600": "var(--color-gray-600)", + "gray-800": "var(--color-gray-800)", + "gray-900": "var(--color-gray-900)", + "green": "var(--color-green)", + "green-0": "var(--color-green-0)", + "green-100": "var(--color-green-100)", + "green-400": "var(--color-green-400)", + "green-700": "var(--color-green-700)", + "green-900": "var(--color-green-900)", + "hyper": "var(--color-hyper)", + "hyper-400": "var(--color-hyper-400)", + "hyper-500": "var(--color-hyper-500)", + "interface": "var(--color-interface)", + "interface-hover": "var(--color-interface-hover)", + "lightBlue": "var(--color-lightBlue)", + "lightGreen": "var(--color-lightGreen)", + "navy": "var(--color-navy)", + "navy-100": "var(--color-navy-100)", + "navy-200": "var(--color-navy-200)", + "navy-300": "var(--color-navy-300)", + "navy-400": "var(--color-navy-400)", + "navy-500": "var(--color-navy-500)", + "navy-600": "var(--color-navy-600)", + "navy-700": "var(--color-navy-700)", + "navy-800": "var(--color-navy-800)", + "navy-900": "var(--color-navy-900)", + "orange": "var(--color-orange)", + "orange-100": "var(--color-orange-100)", + "orange-500": "var(--color-orange-500)", + "paleBlue": "var(--color-paleBlue)", + "paleGreen": "var(--color-paleGreen)", + "palePink": "var(--color-palePink)", + "paleRed": "var(--color-paleRed)", + "paleYellow": "var(--color-paleYellow)", + "pink": "var(--color-pink)", + "pink-0": "var(--color-pink-0)", + "pink-400": "var(--color-pink-400)", + "primary": "var(--color-primary)", + "primary-hover": "var(--color-primary-hover)", + "primary-inverse": "var(--color-primary-inverse)", + "red": "var(--color-red)", + "red-0": "var(--color-red-0)", + "red-300": "var(--color-red-300)", + "red-400": "var(--color-red-400)", + "red-500": "var(--color-red-500)", + "red-600": "var(--color-red-600)", + "red-900": "var(--color-red-900)", + "secondary": "var(--color-secondary)", + "secondary-hover": "var(--color-secondary-hover)", + "shadow-primary": "var(--color-shadow-primary)", + "shadow-secondary": "var(--color-shadow-secondary)", + "text": "var(--color-text)", + "text-accent": "var(--color-text-accent)", + "text-disabled": "var(--color-text-disabled)", + "text-secondary": "var(--color-text-secondary)", + "white": "var(--color-white)", + "white-100": "var(--color-white-100)", + "white-200": "var(--color-white-200)", + "white-300": "var(--color-white-300)", + "white-400": "var(--color-white-400)", + "white-500": "var(--color-white-500)", + "white-600": "var(--color-white-600)", + "white-700": "var(--color-white-700)", + "yellow": "var(--color-yellow)", + "yellow-0": "var(--color-yellow-0)", + "yellow-400": "var(--color-yellow-400)", + "yellow-500": "var(--color-yellow-500)", + "yellow-900": "var(--color-yellow-900)", }, "elements": { "headerHeight": "var(--elements-headerHeight)", "headerZ": "var(--elements-headerZ)", }, "elevation": { - "hover-shadow": "-8px 8px 0 0 var(--colors-shadow-primary)", + "hover-shadow": "-8px 8px 0 0 var(--color-shadow-primary)", "hover-transform": "translate(4px, -4px)", - "hoverMirrored-shadow": "8px 8px 0 0 var(--colors-shadow-primary)", + "hoverMirrored-shadow": "8px 8px 0 0 var(--color-shadow-primary)", "hoverMirrored-transform": "translate(-4px, -4px)", - "rest-shadow": "0 0 0 0 var(--colors-shadow-primary)", + "rest-shadow": "0 0 0 0 var(--color-shadow-primary)", "rest-transform": "none", }, "fontFamily": { @@ -1641,52 +1641,52 @@ exports[`themes lxStudio - theme shape 1`] = ` }, "_variables": { "mode": { - "--colors-action-danger": "var(--colors-palette-danger-800)", - "--colors-action-danger-hover": "var(--colors-palette-danger-900)", - "--colors-action-danger-pressed": "var(--colors-palette-danger-1000)", - "--colors-action-disabled": "var(--colors-palette-neutral-light-400)", - "--colors-action-neutral": "var(--colors-palette-neutral-dark-1000)", - "--colors-action-neutral-hover": "var(--colors-palette-neutral-dark-1100)", - "--colors-action-neutral-pressed": "var(--colors-black)", - "--colors-action-primary": "var(--colors-palette-primary-800)", - "--colors-action-primary-hover": "var(--colors-palette-primary-900)", - "--colors-action-primary-pressed": "var(--colors-palette-primary-1000)", - "--colors-background-current": "var(--colors-palette-neutral-light-100)", - "--colors-border-default": "var(--colors-palette-neutral-dark-600)", - "--colors-border-strong": "var(--colors-palette-neutral-dark-1100)", - "--colors-border-subtle": "var(--colors-palette-neutral-dark-300)", - "--colors-shadow-ambient": "var(--colors-palette-neutral-dark-1100-a12)", - "--colors-shadow-key": "var(--colors-palette-neutral-dark-1100-a16)", - "--colors-shadow-scrim": "var(--colors-black-a60)", - "--colors-state-hover": "var(--colors-palette-primary-600-a6)", - "--colors-state-pressed": "var(--colors-palette-primary-600-a9)", - "--colors-state-selected": "var(--colors-palette-primary-600-a8)", - "--colors-surface-brand": "var(--colors-palette-neutral-light-100)", - "--colors-surface-brand-subtle": "var(--colors-palette-neutral-light-100)", - "--colors-surface-default": "var(--colors-palette-neutral-light-100)", - "--colors-surface-error": "var(--colors-palette-danger-200)", - "--colors-surface-raised": "var(--colors-white)", - "--colors-surface-success": "var(--colors-palette-success-200)", - "--colors-surface-sunken": "var(--colors-palette-neutral-light-200)", - "--colors-surface-warning": "var(--colors-palette-warning-200)", - "--colors-text-default": "var(--colors-palette-neutral-dark-1000)", - "--colors-text-error": "var(--colors-palette-danger-900)", - "--colors-text-inverse": "var(--colors-palette-neutral-light-200)", - "--colors-text-subtle": "var(--colors-palette-neutral-dark-800)", - "--colors-text-success": "var(--colors-palette-success-900)", - "--colors-text-warning": "var(--colors-palette-warning-900)", - "--colors-viz-1": "var(--colors-palette-primary-800)", - "--colors-viz-2": "var(--colors-palette-accent-700)", - "--colors-viz-3": "var(--colors-palette-warning-700)", - "--colors-viz-4": "var(--colors-palette-accent-alt-600)", - "--colors-viz-5": "var(--colors-palette-success-600)", - "--colors-viz-6": "var(--colors-palette-danger-600)", - "--colors-viz-7": "var(--colors-palette-neutral-dark-1000)", - "--colors-viz-8": "var(--colors-palette-neutral-light-600)", - "--colors-viz-seq-1": "var(--colors-palette-primary-600)", - "--colors-viz-seq-2": "var(--colors-palette-primary-700)", - "--colors-viz-seq-3": "var(--colors-palette-primary-800)", - "--colors-viz-seq-4": "var(--colors-palette-primary-900)", + "--color-action-danger": "var(--color-palette-danger-800)", + "--color-action-danger-hover": "var(--color-palette-danger-900)", + "--color-action-danger-pressed": "var(--color-palette-danger-1000)", + "--color-action-disabled": "var(--color-palette-neutral-light-400)", + "--color-action-neutral": "var(--color-palette-neutral-dark-1000)", + "--color-action-neutral-hover": "var(--color-palette-neutral-dark-1100)", + "--color-action-neutral-pressed": "var(--color-black)", + "--color-action-primary": "var(--color-palette-primary-800)", + "--color-action-primary-hover": "var(--color-palette-primary-900)", + "--color-action-primary-pressed": "var(--color-palette-primary-1000)", + "--color-background-current": "var(--color-palette-neutral-light-100)", + "--color-border-default": "var(--color-palette-neutral-dark-600)", + "--color-border-strong": "var(--color-palette-neutral-dark-1100)", + "--color-border-subtle": "var(--color-palette-neutral-dark-300)", + "--color-shadow-ambient": "var(--color-palette-neutral-dark-1100-a12)", + "--color-shadow-key": "var(--color-palette-neutral-dark-1100-a16)", + "--color-shadow-scrim": "var(--color-black-a60)", + "--color-state-hover": "var(--color-palette-primary-600-a6)", + "--color-state-pressed": "var(--color-palette-primary-600-a9)", + "--color-state-selected": "var(--color-palette-primary-600-a8)", + "--color-surface-brand": "var(--color-palette-neutral-light-100)", + "--color-surface-brand-subtle": "var(--color-palette-neutral-light-100)", + "--color-surface-default": "var(--color-palette-neutral-light-100)", + "--color-surface-error": "var(--color-palette-danger-200)", + "--color-surface-raised": "var(--color-white)", + "--color-surface-success": "var(--color-palette-success-200)", + "--color-surface-sunken": "var(--color-palette-neutral-light-200)", + "--color-surface-warning": "var(--color-palette-warning-200)", + "--color-text-default": "var(--color-palette-neutral-dark-1000)", + "--color-text-error": "var(--color-palette-danger-900)", + "--color-text-inverse": "var(--color-palette-neutral-light-200)", + "--color-text-subtle": "var(--color-palette-neutral-dark-800)", + "--color-text-success": "var(--color-palette-success-900)", + "--color-text-warning": "var(--color-palette-warning-900)", + "--color-viz-1": "var(--color-palette-primary-800)", + "--color-viz-2": "var(--color-palette-accent-700)", + "--color-viz-3": "var(--color-palette-warning-700)", + "--color-viz-4": "var(--color-palette-accent-alt-600)", + "--color-viz-5": "var(--color-palette-success-600)", + "--color-viz-6": "var(--color-palette-danger-600)", + "--color-viz-7": "var(--color-palette-neutral-dark-1000)", + "--color-viz-8": "var(--color-palette-neutral-light-600)", + "--color-viz-seq-1": "var(--color-palette-primary-600)", + "--color-viz-seq-2": "var(--color-palette-primary-700)", + "--color-viz-seq-3": "var(--color-palette-primary-800)", + "--color-viz-seq-4": "var(--color-palette-primary-900)", }, "root": { "--elements-headerHeight": "4rem", @@ -1705,8 +1705,8 @@ exports[`themes lxStudio - theme shape 1`] = ` "xl": "16px", }, "borders": { - "1": "1px solid var(--colors-border-strong)", - "2": "2px solid var(--colors-border-strong)", + "1": "1px solid var(--color-border-strong)", + "2": "2px solid var(--color-border-strong)", }, "brand": "lxStudio", "breakpoints": { @@ -1723,150 +1723,150 @@ exports[`themes lxStudio - theme shape 1`] = ` "xs": "@media only screen and (min-width: 480px)", }, "colors": { - "action-danger": "var(--colors-action-danger)", - "action-danger-hover": "var(--colors-action-danger-hover)", - "action-danger-pressed": "var(--colors-action-danger-pressed)", - "action-disabled": "var(--colors-action-disabled)", - "action-neutral": "var(--colors-action-neutral)", - "action-neutral-hover": "var(--colors-action-neutral-hover)", - "action-neutral-pressed": "var(--colors-action-neutral-pressed)", - "action-primary": "var(--colors-action-primary)", - "action-primary-hover": "var(--colors-action-primary-hover)", - "action-primary-pressed": "var(--colors-action-primary-pressed)", - "background-current": "var(--colors-background-current)", - "black": "var(--colors-black)", - "black-a24": "var(--colors-black-a24)", - "black-a32": "var(--colors-black-a32)", - "black-a60": "var(--colors-black-a60)", - "border-default": "var(--colors-border-default)", - "border-strong": "var(--colors-border-strong)", - "border-subtle": "var(--colors-border-subtle)", - "palette-accent-100": "var(--colors-palette-accent-100)", - "palette-accent-1000": "var(--colors-palette-accent-1000)", - "palette-accent-1100": "var(--colors-palette-accent-1100)", - "palette-accent-200": "var(--colors-palette-accent-200)", - "palette-accent-300": "var(--colors-palette-accent-300)", - "palette-accent-400": "var(--colors-palette-accent-400)", - "palette-accent-500": "var(--colors-palette-accent-500)", - "palette-accent-600": "var(--colors-palette-accent-600)", - "palette-accent-700": "var(--colors-palette-accent-700)", - "palette-accent-800": "var(--colors-palette-accent-800)", - "palette-accent-900": "var(--colors-palette-accent-900)", - "palette-accent-alt-100": "var(--colors-palette-accent-alt-100)", - "palette-accent-alt-1000": "var(--colors-palette-accent-alt-1000)", - "palette-accent-alt-1100": "var(--colors-palette-accent-alt-1100)", - "palette-accent-alt-200": "var(--colors-palette-accent-alt-200)", - "palette-accent-alt-300": "var(--colors-palette-accent-alt-300)", - "palette-accent-alt-400": "var(--colors-palette-accent-alt-400)", - "palette-accent-alt-500": "var(--colors-palette-accent-alt-500)", - "palette-accent-alt-600": "var(--colors-palette-accent-alt-600)", - "palette-accent-alt-700": "var(--colors-palette-accent-alt-700)", - "palette-accent-alt-800": "var(--colors-palette-accent-alt-800)", - "palette-accent-alt-900": "var(--colors-palette-accent-alt-900)", - "palette-danger-100": "var(--colors-palette-danger-100)", - "palette-danger-1000": "var(--colors-palette-danger-1000)", - "palette-danger-1100": "var(--colors-palette-danger-1100)", - "palette-danger-200": "var(--colors-palette-danger-200)", - "palette-danger-300": "var(--colors-palette-danger-300)", - "palette-danger-400": "var(--colors-palette-danger-400)", - "palette-danger-500": "var(--colors-palette-danger-500)", - "palette-danger-600": "var(--colors-palette-danger-600)", - "palette-danger-700": "var(--colors-palette-danger-700)", - "palette-danger-800": "var(--colors-palette-danger-800)", - "palette-danger-900": "var(--colors-palette-danger-900)", - "palette-neutral-dark-100": "var(--colors-palette-neutral-dark-100)", - "palette-neutral-dark-1000": "var(--colors-palette-neutral-dark-1000)", - "palette-neutral-dark-1100": "var(--colors-palette-neutral-dark-1100)", - "palette-neutral-dark-1100-a12": "var(--colors-palette-neutral-dark-1100-a12)", - "palette-neutral-dark-1100-a16": "var(--colors-palette-neutral-dark-1100-a16)", - "palette-neutral-dark-200": "var(--colors-palette-neutral-dark-200)", - "palette-neutral-dark-300": "var(--colors-palette-neutral-dark-300)", - "palette-neutral-dark-400": "var(--colors-palette-neutral-dark-400)", - "palette-neutral-dark-500": "var(--colors-palette-neutral-dark-500)", - "palette-neutral-dark-600": "var(--colors-palette-neutral-dark-600)", - "palette-neutral-dark-700": "var(--colors-palette-neutral-dark-700)", - "palette-neutral-dark-800": "var(--colors-palette-neutral-dark-800)", - "palette-neutral-dark-900": "var(--colors-palette-neutral-dark-900)", - "palette-neutral-light-100": "var(--colors-palette-neutral-light-100)", - "palette-neutral-light-1000": "var(--colors-palette-neutral-light-1000)", - "palette-neutral-light-1100": "var(--colors-palette-neutral-light-1100)", - "palette-neutral-light-200": "var(--colors-palette-neutral-light-200)", - "palette-neutral-light-300": "var(--colors-palette-neutral-light-300)", - "palette-neutral-light-400": "var(--colors-palette-neutral-light-400)", - "palette-neutral-light-500": "var(--colors-palette-neutral-light-500)", - "palette-neutral-light-600": "var(--colors-palette-neutral-light-600)", - "palette-neutral-light-700": "var(--colors-palette-neutral-light-700)", - "palette-neutral-light-800": "var(--colors-palette-neutral-light-800)", - "palette-neutral-light-900": "var(--colors-palette-neutral-light-900)", - "palette-primary-100": "var(--colors-palette-primary-100)", - "palette-primary-1000": "var(--colors-palette-primary-1000)", - "palette-primary-1100": "var(--colors-palette-primary-1100)", - "palette-primary-200": "var(--colors-palette-primary-200)", - "palette-primary-300": "var(--colors-palette-primary-300)", - "palette-primary-400": "var(--colors-palette-primary-400)", - "palette-primary-500": "var(--colors-palette-primary-500)", - "palette-primary-600": "var(--colors-palette-primary-600)", - "palette-primary-600-a6": "var(--colors-palette-primary-600-a6)", - "palette-primary-600-a8": "var(--colors-palette-primary-600-a8)", - "palette-primary-600-a9": "var(--colors-palette-primary-600-a9)", - "palette-primary-700": "var(--colors-palette-primary-700)", - "palette-primary-800": "var(--colors-palette-primary-800)", - "palette-primary-900": "var(--colors-palette-primary-900)", - "palette-success-100": "var(--colors-palette-success-100)", - "palette-success-1000": "var(--colors-palette-success-1000)", - "palette-success-1100": "var(--colors-palette-success-1100)", - "palette-success-200": "var(--colors-palette-success-200)", - "palette-success-300": "var(--colors-palette-success-300)", - "palette-success-400": "var(--colors-palette-success-400)", - "palette-success-500": "var(--colors-palette-success-500)", - "palette-success-600": "var(--colors-palette-success-600)", - "palette-success-700": "var(--colors-palette-success-700)", - "palette-success-800": "var(--colors-palette-success-800)", - "palette-success-900": "var(--colors-palette-success-900)", - "palette-warning-100": "var(--colors-palette-warning-100)", - "palette-warning-1000": "var(--colors-palette-warning-1000)", - "palette-warning-1100": "var(--colors-palette-warning-1100)", - "palette-warning-200": "var(--colors-palette-warning-200)", - "palette-warning-300": "var(--colors-palette-warning-300)", - "palette-warning-400": "var(--colors-palette-warning-400)", - "palette-warning-500": "var(--colors-palette-warning-500)", - "palette-warning-600": "var(--colors-palette-warning-600)", - "palette-warning-700": "var(--colors-palette-warning-700)", - "palette-warning-800": "var(--colors-palette-warning-800)", - "palette-warning-900": "var(--colors-palette-warning-900)", - "shadow-ambient": "var(--colors-shadow-ambient)", - "shadow-key": "var(--colors-shadow-key)", - "shadow-scrim": "var(--colors-shadow-scrim)", - "state-hover": "var(--colors-state-hover)", - "state-pressed": "var(--colors-state-pressed)", - "state-selected": "var(--colors-state-selected)", - "surface-brand": "var(--colors-surface-brand)", - "surface-brand-subtle": "var(--colors-surface-brand-subtle)", - "surface-default": "var(--colors-surface-default)", - "surface-error": "var(--colors-surface-error)", - "surface-raised": "var(--colors-surface-raised)", - "surface-success": "var(--colors-surface-success)", - "surface-sunken": "var(--colors-surface-sunken)", - "surface-warning": "var(--colors-surface-warning)", - "text-default": "var(--colors-text-default)", - "text-error": "var(--colors-text-error)", - "text-inverse": "var(--colors-text-inverse)", - "text-subtle": "var(--colors-text-subtle)", - "text-success": "var(--colors-text-success)", - "text-warning": "var(--colors-text-warning)", - "viz-1": "var(--colors-viz-1)", - "viz-2": "var(--colors-viz-2)", - "viz-3": "var(--colors-viz-3)", - "viz-4": "var(--colors-viz-4)", - "viz-5": "var(--colors-viz-5)", - "viz-6": "var(--colors-viz-6)", - "viz-7": "var(--colors-viz-7)", - "viz-8": "var(--colors-viz-8)", - "viz-seq-1": "var(--colors-viz-seq-1)", - "viz-seq-2": "var(--colors-viz-seq-2)", - "viz-seq-3": "var(--colors-viz-seq-3)", - "viz-seq-4": "var(--colors-viz-seq-4)", - "white": "var(--colors-white)", + "action-danger": "var(--color-action-danger)", + "action-danger-hover": "var(--color-action-danger-hover)", + "action-danger-pressed": "var(--color-action-danger-pressed)", + "action-disabled": "var(--color-action-disabled)", + "action-neutral": "var(--color-action-neutral)", + "action-neutral-hover": "var(--color-action-neutral-hover)", + "action-neutral-pressed": "var(--color-action-neutral-pressed)", + "action-primary": "var(--color-action-primary)", + "action-primary-hover": "var(--color-action-primary-hover)", + "action-primary-pressed": "var(--color-action-primary-pressed)", + "background-current": "var(--color-background-current)", + "black": "var(--color-black)", + "black-a24": "var(--color-black-a24)", + "black-a32": "var(--color-black-a32)", + "black-a60": "var(--color-black-a60)", + "border-default": "var(--color-border-default)", + "border-strong": "var(--color-border-strong)", + "border-subtle": "var(--color-border-subtle)", + "palette-accent-100": "var(--color-palette-accent-100)", + "palette-accent-1000": "var(--color-palette-accent-1000)", + "palette-accent-1100": "var(--color-palette-accent-1100)", + "palette-accent-200": "var(--color-palette-accent-200)", + "palette-accent-300": "var(--color-palette-accent-300)", + "palette-accent-400": "var(--color-palette-accent-400)", + "palette-accent-500": "var(--color-palette-accent-500)", + "palette-accent-600": "var(--color-palette-accent-600)", + "palette-accent-700": "var(--color-palette-accent-700)", + "palette-accent-800": "var(--color-palette-accent-800)", + "palette-accent-900": "var(--color-palette-accent-900)", + "palette-accent-alt-100": "var(--color-palette-accent-alt-100)", + "palette-accent-alt-1000": "var(--color-palette-accent-alt-1000)", + "palette-accent-alt-1100": "var(--color-palette-accent-alt-1100)", + "palette-accent-alt-200": "var(--color-palette-accent-alt-200)", + "palette-accent-alt-300": "var(--color-palette-accent-alt-300)", + "palette-accent-alt-400": "var(--color-palette-accent-alt-400)", + "palette-accent-alt-500": "var(--color-palette-accent-alt-500)", + "palette-accent-alt-600": "var(--color-palette-accent-alt-600)", + "palette-accent-alt-700": "var(--color-palette-accent-alt-700)", + "palette-accent-alt-800": "var(--color-palette-accent-alt-800)", + "palette-accent-alt-900": "var(--color-palette-accent-alt-900)", + "palette-danger-100": "var(--color-palette-danger-100)", + "palette-danger-1000": "var(--color-palette-danger-1000)", + "palette-danger-1100": "var(--color-palette-danger-1100)", + "palette-danger-200": "var(--color-palette-danger-200)", + "palette-danger-300": "var(--color-palette-danger-300)", + "palette-danger-400": "var(--color-palette-danger-400)", + "palette-danger-500": "var(--color-palette-danger-500)", + "palette-danger-600": "var(--color-palette-danger-600)", + "palette-danger-700": "var(--color-palette-danger-700)", + "palette-danger-800": "var(--color-palette-danger-800)", + "palette-danger-900": "var(--color-palette-danger-900)", + "palette-neutral-dark-100": "var(--color-palette-neutral-dark-100)", + "palette-neutral-dark-1000": "var(--color-palette-neutral-dark-1000)", + "palette-neutral-dark-1100": "var(--color-palette-neutral-dark-1100)", + "palette-neutral-dark-1100-a12": "var(--color-palette-neutral-dark-1100-a12)", + "palette-neutral-dark-1100-a16": "var(--color-palette-neutral-dark-1100-a16)", + "palette-neutral-dark-200": "var(--color-palette-neutral-dark-200)", + "palette-neutral-dark-300": "var(--color-palette-neutral-dark-300)", + "palette-neutral-dark-400": "var(--color-palette-neutral-dark-400)", + "palette-neutral-dark-500": "var(--color-palette-neutral-dark-500)", + "palette-neutral-dark-600": "var(--color-palette-neutral-dark-600)", + "palette-neutral-dark-700": "var(--color-palette-neutral-dark-700)", + "palette-neutral-dark-800": "var(--color-palette-neutral-dark-800)", + "palette-neutral-dark-900": "var(--color-palette-neutral-dark-900)", + "palette-neutral-light-100": "var(--color-palette-neutral-light-100)", + "palette-neutral-light-1000": "var(--color-palette-neutral-light-1000)", + "palette-neutral-light-1100": "var(--color-palette-neutral-light-1100)", + "palette-neutral-light-200": "var(--color-palette-neutral-light-200)", + "palette-neutral-light-300": "var(--color-palette-neutral-light-300)", + "palette-neutral-light-400": "var(--color-palette-neutral-light-400)", + "palette-neutral-light-500": "var(--color-palette-neutral-light-500)", + "palette-neutral-light-600": "var(--color-palette-neutral-light-600)", + "palette-neutral-light-700": "var(--color-palette-neutral-light-700)", + "palette-neutral-light-800": "var(--color-palette-neutral-light-800)", + "palette-neutral-light-900": "var(--color-palette-neutral-light-900)", + "palette-primary-100": "var(--color-palette-primary-100)", + "palette-primary-1000": "var(--color-palette-primary-1000)", + "palette-primary-1100": "var(--color-palette-primary-1100)", + "palette-primary-200": "var(--color-palette-primary-200)", + "palette-primary-300": "var(--color-palette-primary-300)", + "palette-primary-400": "var(--color-palette-primary-400)", + "palette-primary-500": "var(--color-palette-primary-500)", + "palette-primary-600": "var(--color-palette-primary-600)", + "palette-primary-600-a6": "var(--color-palette-primary-600-a6)", + "palette-primary-600-a8": "var(--color-palette-primary-600-a8)", + "palette-primary-600-a9": "var(--color-palette-primary-600-a9)", + "palette-primary-700": "var(--color-palette-primary-700)", + "palette-primary-800": "var(--color-palette-primary-800)", + "palette-primary-900": "var(--color-palette-primary-900)", + "palette-success-100": "var(--color-palette-success-100)", + "palette-success-1000": "var(--color-palette-success-1000)", + "palette-success-1100": "var(--color-palette-success-1100)", + "palette-success-200": "var(--color-palette-success-200)", + "palette-success-300": "var(--color-palette-success-300)", + "palette-success-400": "var(--color-palette-success-400)", + "palette-success-500": "var(--color-palette-success-500)", + "palette-success-600": "var(--color-palette-success-600)", + "palette-success-700": "var(--color-palette-success-700)", + "palette-success-800": "var(--color-palette-success-800)", + "palette-success-900": "var(--color-palette-success-900)", + "palette-warning-100": "var(--color-palette-warning-100)", + "palette-warning-1000": "var(--color-palette-warning-1000)", + "palette-warning-1100": "var(--color-palette-warning-1100)", + "palette-warning-200": "var(--color-palette-warning-200)", + "palette-warning-300": "var(--color-palette-warning-300)", + "palette-warning-400": "var(--color-palette-warning-400)", + "palette-warning-500": "var(--color-palette-warning-500)", + "palette-warning-600": "var(--color-palette-warning-600)", + "palette-warning-700": "var(--color-palette-warning-700)", + "palette-warning-800": "var(--color-palette-warning-800)", + "palette-warning-900": "var(--color-palette-warning-900)", + "shadow-ambient": "var(--color-shadow-ambient)", + "shadow-key": "var(--color-shadow-key)", + "shadow-scrim": "var(--color-shadow-scrim)", + "state-hover": "var(--color-state-hover)", + "state-pressed": "var(--color-state-pressed)", + "state-selected": "var(--color-state-selected)", + "surface-brand": "var(--color-surface-brand)", + "surface-brand-subtle": "var(--color-surface-brand-subtle)", + "surface-default": "var(--color-surface-default)", + "surface-error": "var(--color-surface-error)", + "surface-raised": "var(--color-surface-raised)", + "surface-success": "var(--color-surface-success)", + "surface-sunken": "var(--color-surface-sunken)", + "surface-warning": "var(--color-surface-warning)", + "text-default": "var(--color-text-default)", + "text-error": "var(--color-text-error)", + "text-inverse": "var(--color-text-inverse)", + "text-subtle": "var(--color-text-subtle)", + "text-success": "var(--color-text-success)", + "text-warning": "var(--color-text-warning)", + "viz-1": "var(--color-viz-1)", + "viz-2": "var(--color-viz-2)", + "viz-3": "var(--color-viz-3)", + "viz-4": "var(--color-viz-4)", + "viz-5": "var(--color-viz-5)", + "viz-6": "var(--color-viz-6)", + "viz-7": "var(--color-viz-7)", + "viz-8": "var(--color-viz-8)", + "viz-seq-1": "var(--color-viz-seq-1)", + "viz-seq-2": "var(--color-viz-seq-2)", + "viz-seq-3": "var(--color-viz-seq-3)", + "viz-seq-4": "var(--color-viz-seq-4)", + "white": "var(--color-white)", }, "contentModes": { "black": "dark", @@ -1965,11 +1965,11 @@ exports[`themes lxStudio - theme shape 1`] = ` "headerZ": "var(--elements-headerZ)", }, "elevation": { - "hover-shadow": "0 2px 6px 0 var(--colors-shadow-key), 0 6px 16px 0 var(--colors-shadow-ambient)", + "hover-shadow": "0 2px 6px 0 var(--color-shadow-key), 0 6px 16px 0 var(--color-shadow-ambient)", "hover-transform": "none", - "hoverMirrored-shadow": "0 2px 6px 0 var(--colors-shadow-key), 0 6px 16px 0 var(--colors-shadow-ambient)", + "hoverMirrored-shadow": "0 2px 6px 0 var(--color-shadow-key), 0 6px 16px 0 var(--color-shadow-ambient)", "hoverMirrored-transform": "none", - "rest-shadow": "0 1px 4px 0 var(--colors-shadow-key), 0 2px 7px 0 var(--colors-shadow-ambient)", + "rest-shadow": "0 1px 4px 0 var(--color-shadow-key), 0 2px 7px 0 var(--color-shadow-ambient)", "rest-transform": "none", }, "fontFamily": { @@ -2126,210 +2126,210 @@ monospace", @layer tokens { :root, [data-brand="lxStudio"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9876 0.0017 247.84); - --colors-palette-neutral-light-200: oklch(0.9364 0.0025 247.80); - --colors-palette-neutral-light-300: oklch(0.8497 0.0086 247.80); - --colors-palette-neutral-light-400: oklch(0.7628 0.0178 247.80); - --colors-palette-neutral-light-500: oklch(0.6707 0.0316 247.80); - --colors-palette-neutral-light-600: oklch(0.5835 0.0312 247.80); - --colors-palette-neutral-light-700: oklch(0.4972 0.0253 247.80); - --colors-palette-neutral-light-800: oklch(0.4115 0.0198 247.80); - --colors-palette-neutral-light-900: oklch(0.3346 0.0157 247.80); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0112 247.80); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0082 247.80); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); - --colors-palette-primary-100: oklch(0.9862 0.0064 262.40); - --colors-palette-primary-200: oklch(0.9364 0.0121 262.40); - --colors-palette-primary-300: oklch(0.8497 0.0407 262.40); - --colors-palette-primary-400: oklch(0.7628 0.0846 262.40); - --colors-palette-primary-500: oklch(0.6707 0.1531 262.40); - --colors-palette-primary-600: oklch(0.5835 0.2274 262.40); - --colors-palette-primary-700: oklch(0.4972 0.2254 262.40); - --colors-palette-primary-800: oklch(0.4115 0.1767 262.40); - --colors-palette-primary-900: oklch(0.3346 0.1405 262.40); - --colors-palette-primary-1000: oklch(0.2499 0.1001 262.40); - --colors-palette-primary-1100: oklch(0.1925 0.0734 262.40); - --colors-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0205 93.60); - --colors-palette-accent-200: oklch(0.9364 0.0378 93.60); - --colors-palette-accent-300: oklch(0.8497 0.0957 93.60); - --colors-palette-accent-400: oklch(0.7628 0.1094 93.60); - --colors-palette-accent-500: oklch(0.6707 0.1209 93.60); - --colors-palette-accent-600: oklch(0.5835 0.1195 93.60); - --colors-palette-accent-700: oklch(0.4972 0.0967 93.60); - --colors-palette-accent-800: oklch(0.4115 0.0758 93.60); - --colors-palette-accent-900: oklch(0.3346 0.0603 93.60); - --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60); - --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 29.40); - --colors-palette-danger-200: oklch(0.9364 0.0128 29.40); - --colors-palette-danger-300: oklch(0.8497 0.0452 29.40); - --colors-palette-danger-400: oklch(0.7628 0.0990 29.40); - --colors-palette-danger-500: oklch(0.6707 0.1910 29.40); - --colors-palette-danger-600: oklch(0.5835 0.2382 29.40); - --colors-palette-danger-700: oklch(0.4972 0.1928 29.40); - --colors-palette-danger-800: oklch(0.4115 0.1512 29.40); - --colors-palette-danger-900: oklch(0.3346 0.1202 29.40); - --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40); - --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40); - --colors-palette-warning-100: oklch(0.9862 0.0082 58.30); - --colors-palette-warning-200: oklch(0.9364 0.0156 58.30); - --colors-palette-warning-300: oklch(0.8497 0.0545 58.30); - --colors-palette-warning-400: oklch(0.7628 0.1179 58.30); - --colors-palette-warning-500: oklch(0.6707 0.1408 58.30); - --colors-palette-warning-600: oklch(0.5835 0.1392 58.30); - --colors-palette-warning-700: oklch(0.4972 0.1127 58.30); - --colors-palette-warning-800: oklch(0.4115 0.0883 58.30); - --colors-palette-warning-900: oklch(0.3346 0.0702 58.30); - --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30); - --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30); - --colors-palette-success-100: oklch(0.9862 0.0204 156.70); - --colors-palette-success-200: oklch(0.9364 0.0405 156.70); - --colors-palette-success-300: oklch(0.8497 0.1118 156.70); - --colors-palette-success-400: oklch(0.7628 0.1278 156.70); - --colors-palette-success-500: oklch(0.6707 0.1413 156.70); - --colors-palette-success-600: oklch(0.5835 0.1396 156.70); - --colors-palette-success-700: oklch(0.4972 0.1130 156.70); - --colors-palette-success-800: oklch(0.4115 0.0886 156.70); - --colors-palette-success-900: oklch(0.3346 0.0704 156.70); - --colors-palette-success-1000: oklch(0.2499 0.0502 156.70); - --colors-palette-success-1100: oklch(0.1925 0.0368 156.70); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9876 0.0017 247.84); + --color-palette-neutral-light-200: oklch(0.9364 0.0025 247.80); + --color-palette-neutral-light-300: oklch(0.8497 0.0086 247.80); + --color-palette-neutral-light-400: oklch(0.7628 0.0178 247.80); + --color-palette-neutral-light-500: oklch(0.6707 0.0316 247.80); + --color-palette-neutral-light-600: oklch(0.5835 0.0312 247.80); + --color-palette-neutral-light-700: oklch(0.4972 0.0253 247.80); + --color-palette-neutral-light-800: oklch(0.4115 0.0198 247.80); + --color-palette-neutral-light-900: oklch(0.3346 0.0157 247.80); + --color-palette-neutral-light-1000: oklch(0.2499 0.0112 247.80); + --color-palette-neutral-light-1100: oklch(0.1925 0.0082 247.80); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); + --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); + --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); + --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); + --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); + --color-palette-primary-100: oklch(0.9862 0.0064 262.40); + --color-palette-primary-200: oklch(0.9364 0.0121 262.40); + --color-palette-primary-300: oklch(0.8497 0.0407 262.40); + --color-palette-primary-400: oklch(0.7628 0.0846 262.40); + --color-palette-primary-500: oklch(0.6707 0.1531 262.40); + --color-palette-primary-600: oklch(0.5835 0.2274 262.40); + --color-palette-primary-700: oklch(0.4972 0.2254 262.40); + --color-palette-primary-800: oklch(0.4115 0.1767 262.40); + --color-palette-primary-900: oklch(0.3346 0.1405 262.40); + --color-palette-primary-1000: oklch(0.2499 0.1001 262.40); + --color-palette-primary-1100: oklch(0.1925 0.0734 262.40); + --color-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0205 93.60); + --color-palette-accent-200: oklch(0.9364 0.0378 93.60); + --color-palette-accent-300: oklch(0.8497 0.0957 93.60); + --color-palette-accent-400: oklch(0.7628 0.1094 93.60); + --color-palette-accent-500: oklch(0.6707 0.1209 93.60); + --color-palette-accent-600: oklch(0.5835 0.1195 93.60); + --color-palette-accent-700: oklch(0.4972 0.0967 93.60); + --color-palette-accent-800: oklch(0.4115 0.0758 93.60); + --color-palette-accent-900: oklch(0.3346 0.0603 93.60); + --color-palette-accent-1000: oklch(0.2499 0.0430 93.60); + --color-palette-accent-1100: oklch(0.1925 0.0315 93.60); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 29.40); + --color-palette-danger-200: oklch(0.9364 0.0128 29.40); + --color-palette-danger-300: oklch(0.8497 0.0452 29.40); + --color-palette-danger-400: oklch(0.7628 0.0990 29.40); + --color-palette-danger-500: oklch(0.6707 0.1910 29.40); + --color-palette-danger-600: oklch(0.5835 0.2382 29.40); + --color-palette-danger-700: oklch(0.4972 0.1928 29.40); + --color-palette-danger-800: oklch(0.4115 0.1512 29.40); + --color-palette-danger-900: oklch(0.3346 0.1202 29.40); + --color-palette-danger-1000: oklch(0.2499 0.0857 29.40); + --color-palette-danger-1100: oklch(0.1925 0.0628 29.40); + --color-palette-warning-100: oklch(0.9862 0.0082 58.30); + --color-palette-warning-200: oklch(0.9364 0.0156 58.30); + --color-palette-warning-300: oklch(0.8497 0.0545 58.30); + --color-palette-warning-400: oklch(0.7628 0.1179 58.30); + --color-palette-warning-500: oklch(0.6707 0.1408 58.30); + --color-palette-warning-600: oklch(0.5835 0.1392 58.30); + --color-palette-warning-700: oklch(0.4972 0.1127 58.30); + --color-palette-warning-800: oklch(0.4115 0.0883 58.30); + --color-palette-warning-900: oklch(0.3346 0.0702 58.30); + --color-palette-warning-1000: oklch(0.2499 0.0500 58.30); + --color-palette-warning-1100: oklch(0.1925 0.0367 58.30); + --color-palette-success-100: oklch(0.9862 0.0204 156.70); + --color-palette-success-200: oklch(0.9364 0.0405 156.70); + --color-palette-success-300: oklch(0.8497 0.1118 156.70); + --color-palette-success-400: oklch(0.7628 0.1278 156.70); + --color-palette-success-500: oklch(0.6707 0.1413 156.70); + --color-palette-success-600: oklch(0.5835 0.1396 156.70); + --color-palette-success-700: oklch(0.4972 0.1130 156.70); + --color-palette-success-800: oklch(0.4115 0.0886 156.70); + --color-palette-success-900: oklch(0.3346 0.0704 156.70); + --color-palette-success-1000: oklch(0.2499 0.0502 156.70); + --color-palette-success-1100: oklch(0.1925 0.0368 156.70); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); } :root, [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-300); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-200); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-300); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-200); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } } ", @@ -2548,52 +2548,52 @@ exports[`themes platform - theme shape 1`] = ` }, "_variables": { "mode": { - "--colors-action-danger": "var(--colors-palette-danger-400)", - "--colors-action-danger-hover": "var(--colors-palette-danger-300)", - "--colors-action-danger-pressed": "var(--colors-palette-danger-200)", - "--colors-action-disabled": "var(--colors-palette-neutral-dark-800)", - "--colors-action-neutral": "var(--colors-palette-neutral-light-200)", - "--colors-action-neutral-hover": "var(--colors-palette-neutral-light-100)", - "--colors-action-neutral-pressed": "var(--colors-white)", - "--colors-action-primary": "var(--colors-palette-accent-300)", - "--colors-action-primary-hover": "var(--colors-palette-accent-400)", - "--colors-action-primary-pressed": "var(--colors-palette-accent-500)", - "--colors-background-current": "var(--colors-palette-neutral-dark-1100)", - "--colors-border-default": "var(--colors-palette-neutral-light-600)", - "--colors-border-strong": "var(--colors-palette-neutral-light-100)", - "--colors-border-subtle": "var(--colors-palette-neutral-light-900)", - "--colors-shadow-ambient": "var(--colors-black-a24)", - "--colors-shadow-key": "var(--colors-black-a32)", - "--colors-shadow-scrim": "var(--colors-black-a60)", - "--colors-state-hover": "var(--colors-palette-primary-600-a6)", - "--colors-state-pressed": "var(--colors-palette-primary-600-a9)", - "--colors-state-selected": "var(--colors-palette-primary-600-a8)", - "--colors-surface-brand": "var(--colors-palette-neutral-dark-1100)", - "--colors-surface-brand-subtle": "var(--colors-palette-neutral-dark-1100)", - "--colors-surface-default": "var(--colors-palette-neutral-dark-1100)", - "--colors-surface-error": "var(--colors-palette-danger-1000)", - "--colors-surface-raised": "var(--colors-palette-neutral-dark-1000)", - "--colors-surface-success": "var(--colors-palette-success-1000)", - "--colors-surface-sunken": "var(--colors-black)", - "--colors-surface-warning": "var(--colors-palette-warning-1000)", - "--colors-text-default": "var(--colors-palette-neutral-light-200)", - "--colors-text-error": "var(--colors-palette-danger-300)", - "--colors-text-inverse": "var(--colors-palette-neutral-dark-1000)", - "--colors-text-subtle": "var(--colors-palette-neutral-light-400)", - "--colors-text-success": "var(--colors-palette-success-300)", - "--colors-text-warning": "var(--colors-palette-warning-300)", - "--colors-viz-1": "var(--colors-palette-primary-500)", - "--colors-viz-2": "var(--colors-palette-accent-500)", - "--colors-viz-3": "var(--colors-palette-warning-400)", - "--colors-viz-4": "var(--colors-palette-accent-alt-600)", - "--colors-viz-5": "var(--colors-palette-success-300)", - "--colors-viz-6": "var(--colors-palette-danger-600)", - "--colors-viz-7": "var(--colors-palette-neutral-dark-500)", - "--colors-viz-8": "var(--colors-palette-neutral-light-600)", - "--colors-viz-seq-1": "var(--colors-palette-primary-600)", - "--colors-viz-seq-2": "var(--colors-palette-primary-500)", - "--colors-viz-seq-3": "var(--colors-palette-primary-400)", - "--colors-viz-seq-4": "var(--colors-palette-primary-300)", + "--color-action-danger": "var(--color-palette-danger-400)", + "--color-action-danger-hover": "var(--color-palette-danger-300)", + "--color-action-danger-pressed": "var(--color-palette-danger-200)", + "--color-action-disabled": "var(--color-palette-neutral-dark-800)", + "--color-action-neutral": "var(--color-palette-neutral-light-200)", + "--color-action-neutral-hover": "var(--color-palette-neutral-light-100)", + "--color-action-neutral-pressed": "var(--color-white)", + "--color-action-primary": "var(--color-palette-accent-300)", + "--color-action-primary-hover": "var(--color-palette-accent-400)", + "--color-action-primary-pressed": "var(--color-palette-accent-500)", + "--color-background-current": "var(--color-palette-neutral-dark-1100)", + "--color-border-default": "var(--color-palette-neutral-light-600)", + "--color-border-strong": "var(--color-palette-neutral-light-100)", + "--color-border-subtle": "var(--color-palette-neutral-light-900)", + "--color-shadow-ambient": "var(--color-black-a24)", + "--color-shadow-key": "var(--color-black-a32)", + "--color-shadow-scrim": "var(--color-black-a60)", + "--color-state-hover": "var(--color-palette-primary-600-a6)", + "--color-state-pressed": "var(--color-palette-primary-600-a9)", + "--color-state-selected": "var(--color-palette-primary-600-a8)", + "--color-surface-brand": "var(--color-palette-neutral-dark-1100)", + "--color-surface-brand-subtle": "var(--color-palette-neutral-dark-1100)", + "--color-surface-default": "var(--color-palette-neutral-dark-1100)", + "--color-surface-error": "var(--color-palette-danger-1000)", + "--color-surface-raised": "var(--color-palette-neutral-dark-1000)", + "--color-surface-success": "var(--color-palette-success-1000)", + "--color-surface-sunken": "var(--color-black)", + "--color-surface-warning": "var(--color-palette-warning-1000)", + "--color-text-default": "var(--color-palette-neutral-light-200)", + "--color-text-error": "var(--color-palette-danger-300)", + "--color-text-inverse": "var(--color-palette-neutral-dark-1000)", + "--color-text-subtle": "var(--color-palette-neutral-light-400)", + "--color-text-success": "var(--color-palette-success-300)", + "--color-text-warning": "var(--color-palette-warning-300)", + "--color-viz-1": "var(--color-palette-primary-500)", + "--color-viz-2": "var(--color-palette-accent-500)", + "--color-viz-3": "var(--color-palette-warning-400)", + "--color-viz-4": "var(--color-palette-accent-alt-600)", + "--color-viz-5": "var(--color-palette-success-300)", + "--color-viz-6": "var(--color-palette-danger-600)", + "--color-viz-7": "var(--color-palette-neutral-dark-500)", + "--color-viz-8": "var(--color-palette-neutral-light-600)", + "--color-viz-seq-1": "var(--color-palette-primary-600)", + "--color-viz-seq-2": "var(--color-palette-primary-500)", + "--color-viz-seq-3": "var(--color-palette-primary-400)", + "--color-viz-seq-4": "var(--color-palette-primary-300)", }, "root": { "--elements-headerHeight": "4rem", @@ -2612,8 +2612,8 @@ exports[`themes platform - theme shape 1`] = ` "xl": "16px", }, "borders": { - "1": "1px solid var(--colors-border-strong)", - "2": "2px solid var(--colors-border-strong)", + "1": "1px solid var(--color-border-strong)", + "2": "2px solid var(--color-border-strong)", }, "brand": "platform", "breakpoints": { @@ -2630,176 +2630,176 @@ exports[`themes platform - theme shape 1`] = ` "xs": "@media only screen and (min-width: 480px)", }, "colors": { - "action-danger": "var(--colors-action-danger)", - "action-danger-hover": "var(--colors-action-danger-hover)", - "action-danger-pressed": "var(--colors-action-danger-pressed)", - "action-disabled": "var(--colors-action-disabled)", - "action-neutral": "var(--colors-action-neutral)", - "action-neutral-hover": "var(--colors-action-neutral-hover)", - "action-neutral-pressed": "var(--colors-action-neutral-pressed)", - "action-primary": "var(--colors-action-primary)", - "action-primary-hover": "var(--colors-action-primary-hover)", - "action-primary-pressed": "var(--colors-action-primary-pressed)", - "background-current": "var(--colors-background-current)", - "black": "var(--colors-black)", - "black-a24": "var(--colors-black-a24)", - "black-a32": "var(--colors-black-a32)", - "black-a60": "var(--colors-black-a60)", - "border-default": "var(--colors-border-default)", - "border-strong": "var(--colors-border-strong)", - "border-subtle": "var(--colors-border-subtle)", - "editor-annotation": "var(--colors-editor-annotation)", - "editor-atom": "var(--colors-editor-atom)", - "editor-attribute": "var(--colors-editor-attribute)", - "editor-basic": "var(--colors-editor-basic)", - "editor-comment": "var(--colors-editor-comment)", - "editor-constant": "var(--colors-editor-constant)", - "editor-decoration": "var(--colors-editor-decoration)", - "editor-invalid": "var(--colors-editor-invalid)", - "editor-key": "var(--colors-editor-key)", - "editor-keyword": "var(--colors-editor-keyword)", - "editor-number": "var(--colors-editor-number)", - "editor-operator": "var(--colors-editor-operator)", - "editor-predefined": "var(--colors-editor-predefined)", - "editor-property": "var(--colors-editor-property)", - "editor-regexp": "var(--colors-editor-regexp)", - "editor-string": "var(--colors-editor-string)", - "editor-tag": "var(--colors-editor-tag)", - "editor-text": "var(--colors-editor-text)", - "editor-ui-background": "var(--colors-editor-ui-background)", - "editor-ui-indent-active": "var(--colors-editor-ui-indent-active)", - "editor-ui-indent-inactive": "var(--colors-editor-ui-indent-inactive)", - "editor-ui-line-number-active": "var(--colors-editor-ui-line-number-active)", - "editor-ui-line-number-inactive": "var(--colors-editor-ui-line-number-inactive)", - "editor-ui-text": "var(--colors-editor-ui-text)", - "editor-value": "var(--colors-editor-value)", - "editor-variable": "var(--colors-editor-variable)", - "palette-accent-100": "var(--colors-palette-accent-100)", - "palette-accent-1000": "var(--colors-palette-accent-1000)", - "palette-accent-1100": "var(--colors-palette-accent-1100)", - "palette-accent-200": "var(--colors-palette-accent-200)", - "palette-accent-300": "var(--colors-palette-accent-300)", - "palette-accent-400": "var(--colors-palette-accent-400)", - "palette-accent-500": "var(--colors-palette-accent-500)", - "palette-accent-600": "var(--colors-palette-accent-600)", - "palette-accent-700": "var(--colors-palette-accent-700)", - "palette-accent-800": "var(--colors-palette-accent-800)", - "palette-accent-900": "var(--colors-palette-accent-900)", - "palette-accent-alt-100": "var(--colors-palette-accent-alt-100)", - "palette-accent-alt-1000": "var(--colors-palette-accent-alt-1000)", - "palette-accent-alt-1100": "var(--colors-palette-accent-alt-1100)", - "palette-accent-alt-200": "var(--colors-palette-accent-alt-200)", - "palette-accent-alt-300": "var(--colors-palette-accent-alt-300)", - "palette-accent-alt-400": "var(--colors-palette-accent-alt-400)", - "palette-accent-alt-500": "var(--colors-palette-accent-alt-500)", - "palette-accent-alt-600": "var(--colors-palette-accent-alt-600)", - "palette-accent-alt-700": "var(--colors-palette-accent-alt-700)", - "palette-accent-alt-800": "var(--colors-palette-accent-alt-800)", - "palette-accent-alt-900": "var(--colors-palette-accent-alt-900)", - "palette-danger-100": "var(--colors-palette-danger-100)", - "palette-danger-1000": "var(--colors-palette-danger-1000)", - "palette-danger-1100": "var(--colors-palette-danger-1100)", - "palette-danger-200": "var(--colors-palette-danger-200)", - "palette-danger-300": "var(--colors-palette-danger-300)", - "palette-danger-400": "var(--colors-palette-danger-400)", - "palette-danger-500": "var(--colors-palette-danger-500)", - "palette-danger-600": "var(--colors-palette-danger-600)", - "palette-danger-700": "var(--colors-palette-danger-700)", - "palette-danger-800": "var(--colors-palette-danger-800)", - "palette-danger-900": "var(--colors-palette-danger-900)", - "palette-neutral-dark-100": "var(--colors-palette-neutral-dark-100)", - "palette-neutral-dark-1000": "var(--colors-palette-neutral-dark-1000)", - "palette-neutral-dark-1100": "var(--colors-palette-neutral-dark-1100)", - "palette-neutral-dark-1100-a12": "var(--colors-palette-neutral-dark-1100-a12)", - "palette-neutral-dark-1100-a16": "var(--colors-palette-neutral-dark-1100-a16)", - "palette-neutral-dark-200": "var(--colors-palette-neutral-dark-200)", - "palette-neutral-dark-300": "var(--colors-palette-neutral-dark-300)", - "palette-neutral-dark-400": "var(--colors-palette-neutral-dark-400)", - "palette-neutral-dark-500": "var(--colors-palette-neutral-dark-500)", - "palette-neutral-dark-600": "var(--colors-palette-neutral-dark-600)", - "palette-neutral-dark-700": "var(--colors-palette-neutral-dark-700)", - "palette-neutral-dark-800": "var(--colors-palette-neutral-dark-800)", - "palette-neutral-dark-900": "var(--colors-palette-neutral-dark-900)", - "palette-neutral-light-100": "var(--colors-palette-neutral-light-100)", - "palette-neutral-light-1000": "var(--colors-palette-neutral-light-1000)", - "palette-neutral-light-1100": "var(--colors-palette-neutral-light-1100)", - "palette-neutral-light-200": "var(--colors-palette-neutral-light-200)", - "palette-neutral-light-300": "var(--colors-palette-neutral-light-300)", - "palette-neutral-light-400": "var(--colors-palette-neutral-light-400)", - "palette-neutral-light-500": "var(--colors-palette-neutral-light-500)", - "palette-neutral-light-600": "var(--colors-palette-neutral-light-600)", - "palette-neutral-light-700": "var(--colors-palette-neutral-light-700)", - "palette-neutral-light-800": "var(--colors-palette-neutral-light-800)", - "palette-neutral-light-900": "var(--colors-palette-neutral-light-900)", - "palette-primary-100": "var(--colors-palette-primary-100)", - "palette-primary-1000": "var(--colors-palette-primary-1000)", - "palette-primary-1100": "var(--colors-palette-primary-1100)", - "palette-primary-200": "var(--colors-palette-primary-200)", - "palette-primary-300": "var(--colors-palette-primary-300)", - "palette-primary-400": "var(--colors-palette-primary-400)", - "palette-primary-500": "var(--colors-palette-primary-500)", - "palette-primary-600": "var(--colors-palette-primary-600)", - "palette-primary-600-a6": "var(--colors-palette-primary-600-a6)", - "palette-primary-600-a8": "var(--colors-palette-primary-600-a8)", - "palette-primary-600-a9": "var(--colors-palette-primary-600-a9)", - "palette-primary-700": "var(--colors-palette-primary-700)", - "palette-primary-800": "var(--colors-palette-primary-800)", - "palette-primary-900": "var(--colors-palette-primary-900)", - "palette-success-100": "var(--colors-palette-success-100)", - "palette-success-1000": "var(--colors-palette-success-1000)", - "palette-success-1100": "var(--colors-palette-success-1100)", - "palette-success-200": "var(--colors-palette-success-200)", - "palette-success-300": "var(--colors-palette-success-300)", - "palette-success-400": "var(--colors-palette-success-400)", - "palette-success-500": "var(--colors-palette-success-500)", - "palette-success-600": "var(--colors-palette-success-600)", - "palette-success-700": "var(--colors-palette-success-700)", - "palette-success-800": "var(--colors-palette-success-800)", - "palette-success-900": "var(--colors-palette-success-900)", - "palette-warning-100": "var(--colors-palette-warning-100)", - "palette-warning-1000": "var(--colors-palette-warning-1000)", - "palette-warning-1100": "var(--colors-palette-warning-1100)", - "palette-warning-200": "var(--colors-palette-warning-200)", - "palette-warning-300": "var(--colors-palette-warning-300)", - "palette-warning-400": "var(--colors-palette-warning-400)", - "palette-warning-500": "var(--colors-palette-warning-500)", - "palette-warning-600": "var(--colors-palette-warning-600)", - "palette-warning-700": "var(--colors-palette-warning-700)", - "palette-warning-800": "var(--colors-palette-warning-800)", - "palette-warning-900": "var(--colors-palette-warning-900)", - "shadow-ambient": "var(--colors-shadow-ambient)", - "shadow-key": "var(--colors-shadow-key)", - "shadow-scrim": "var(--colors-shadow-scrim)", - "state-hover": "var(--colors-state-hover)", - "state-pressed": "var(--colors-state-pressed)", - "state-selected": "var(--colors-state-selected)", - "surface-brand": "var(--colors-surface-brand)", - "surface-brand-subtle": "var(--colors-surface-brand-subtle)", - "surface-default": "var(--colors-surface-default)", - "surface-error": "var(--colors-surface-error)", - "surface-raised": "var(--colors-surface-raised)", - "surface-success": "var(--colors-surface-success)", - "surface-sunken": "var(--colors-surface-sunken)", - "surface-warning": "var(--colors-surface-warning)", - "text-default": "var(--colors-text-default)", - "text-error": "var(--colors-text-error)", - "text-inverse": "var(--colors-text-inverse)", - "text-subtle": "var(--colors-text-subtle)", - "text-success": "var(--colors-text-success)", - "text-warning": "var(--colors-text-warning)", - "viz-1": "var(--colors-viz-1)", - "viz-2": "var(--colors-viz-2)", - "viz-3": "var(--colors-viz-3)", - "viz-4": "var(--colors-viz-4)", - "viz-5": "var(--colors-viz-5)", - "viz-6": "var(--colors-viz-6)", - "viz-7": "var(--colors-viz-7)", - "viz-8": "var(--colors-viz-8)", - "viz-seq-1": "var(--colors-viz-seq-1)", - "viz-seq-2": "var(--colors-viz-seq-2)", - "viz-seq-3": "var(--colors-viz-seq-3)", - "viz-seq-4": "var(--colors-viz-seq-4)", - "white": "var(--colors-white)", + "action-danger": "var(--color-action-danger)", + "action-danger-hover": "var(--color-action-danger-hover)", + "action-danger-pressed": "var(--color-action-danger-pressed)", + "action-disabled": "var(--color-action-disabled)", + "action-neutral": "var(--color-action-neutral)", + "action-neutral-hover": "var(--color-action-neutral-hover)", + "action-neutral-pressed": "var(--color-action-neutral-pressed)", + "action-primary": "var(--color-action-primary)", + "action-primary-hover": "var(--color-action-primary-hover)", + "action-primary-pressed": "var(--color-action-primary-pressed)", + "background-current": "var(--color-background-current)", + "black": "var(--color-black)", + "black-a24": "var(--color-black-a24)", + "black-a32": "var(--color-black-a32)", + "black-a60": "var(--color-black-a60)", + "border-default": "var(--color-border-default)", + "border-strong": "var(--color-border-strong)", + "border-subtle": "var(--color-border-subtle)", + "editor-annotation": "var(--color-editor-annotation)", + "editor-atom": "var(--color-editor-atom)", + "editor-attribute": "var(--color-editor-attribute)", + "editor-basic": "var(--color-editor-basic)", + "editor-comment": "var(--color-editor-comment)", + "editor-constant": "var(--color-editor-constant)", + "editor-decoration": "var(--color-editor-decoration)", + "editor-invalid": "var(--color-editor-invalid)", + "editor-key": "var(--color-editor-key)", + "editor-keyword": "var(--color-editor-keyword)", + "editor-number": "var(--color-editor-number)", + "editor-operator": "var(--color-editor-operator)", + "editor-predefined": "var(--color-editor-predefined)", + "editor-property": "var(--color-editor-property)", + "editor-regexp": "var(--color-editor-regexp)", + "editor-string": "var(--color-editor-string)", + "editor-tag": "var(--color-editor-tag)", + "editor-text": "var(--color-editor-text)", + "editor-ui-background": "var(--color-editor-ui-background)", + "editor-ui-indent-active": "var(--color-editor-ui-indent-active)", + "editor-ui-indent-inactive": "var(--color-editor-ui-indent-inactive)", + "editor-ui-line-number-active": "var(--color-editor-ui-line-number-active)", + "editor-ui-line-number-inactive": "var(--color-editor-ui-line-number-inactive)", + "editor-ui-text": "var(--color-editor-ui-text)", + "editor-value": "var(--color-editor-value)", + "editor-variable": "var(--color-editor-variable)", + "palette-accent-100": "var(--color-palette-accent-100)", + "palette-accent-1000": "var(--color-palette-accent-1000)", + "palette-accent-1100": "var(--color-palette-accent-1100)", + "palette-accent-200": "var(--color-palette-accent-200)", + "palette-accent-300": "var(--color-palette-accent-300)", + "palette-accent-400": "var(--color-palette-accent-400)", + "palette-accent-500": "var(--color-palette-accent-500)", + "palette-accent-600": "var(--color-palette-accent-600)", + "palette-accent-700": "var(--color-palette-accent-700)", + "palette-accent-800": "var(--color-palette-accent-800)", + "palette-accent-900": "var(--color-palette-accent-900)", + "palette-accent-alt-100": "var(--color-palette-accent-alt-100)", + "palette-accent-alt-1000": "var(--color-palette-accent-alt-1000)", + "palette-accent-alt-1100": "var(--color-palette-accent-alt-1100)", + "palette-accent-alt-200": "var(--color-palette-accent-alt-200)", + "palette-accent-alt-300": "var(--color-palette-accent-alt-300)", + "palette-accent-alt-400": "var(--color-palette-accent-alt-400)", + "palette-accent-alt-500": "var(--color-palette-accent-alt-500)", + "palette-accent-alt-600": "var(--color-palette-accent-alt-600)", + "palette-accent-alt-700": "var(--color-palette-accent-alt-700)", + "palette-accent-alt-800": "var(--color-palette-accent-alt-800)", + "palette-accent-alt-900": "var(--color-palette-accent-alt-900)", + "palette-danger-100": "var(--color-palette-danger-100)", + "palette-danger-1000": "var(--color-palette-danger-1000)", + "palette-danger-1100": "var(--color-palette-danger-1100)", + "palette-danger-200": "var(--color-palette-danger-200)", + "palette-danger-300": "var(--color-palette-danger-300)", + "palette-danger-400": "var(--color-palette-danger-400)", + "palette-danger-500": "var(--color-palette-danger-500)", + "palette-danger-600": "var(--color-palette-danger-600)", + "palette-danger-700": "var(--color-palette-danger-700)", + "palette-danger-800": "var(--color-palette-danger-800)", + "palette-danger-900": "var(--color-palette-danger-900)", + "palette-neutral-dark-100": "var(--color-palette-neutral-dark-100)", + "palette-neutral-dark-1000": "var(--color-palette-neutral-dark-1000)", + "palette-neutral-dark-1100": "var(--color-palette-neutral-dark-1100)", + "palette-neutral-dark-1100-a12": "var(--color-palette-neutral-dark-1100-a12)", + "palette-neutral-dark-1100-a16": "var(--color-palette-neutral-dark-1100-a16)", + "palette-neutral-dark-200": "var(--color-palette-neutral-dark-200)", + "palette-neutral-dark-300": "var(--color-palette-neutral-dark-300)", + "palette-neutral-dark-400": "var(--color-palette-neutral-dark-400)", + "palette-neutral-dark-500": "var(--color-palette-neutral-dark-500)", + "palette-neutral-dark-600": "var(--color-palette-neutral-dark-600)", + "palette-neutral-dark-700": "var(--color-palette-neutral-dark-700)", + "palette-neutral-dark-800": "var(--color-palette-neutral-dark-800)", + "palette-neutral-dark-900": "var(--color-palette-neutral-dark-900)", + "palette-neutral-light-100": "var(--color-palette-neutral-light-100)", + "palette-neutral-light-1000": "var(--color-palette-neutral-light-1000)", + "palette-neutral-light-1100": "var(--color-palette-neutral-light-1100)", + "palette-neutral-light-200": "var(--color-palette-neutral-light-200)", + "palette-neutral-light-300": "var(--color-palette-neutral-light-300)", + "palette-neutral-light-400": "var(--color-palette-neutral-light-400)", + "palette-neutral-light-500": "var(--color-palette-neutral-light-500)", + "palette-neutral-light-600": "var(--color-palette-neutral-light-600)", + "palette-neutral-light-700": "var(--color-palette-neutral-light-700)", + "palette-neutral-light-800": "var(--color-palette-neutral-light-800)", + "palette-neutral-light-900": "var(--color-palette-neutral-light-900)", + "palette-primary-100": "var(--color-palette-primary-100)", + "palette-primary-1000": "var(--color-palette-primary-1000)", + "palette-primary-1100": "var(--color-palette-primary-1100)", + "palette-primary-200": "var(--color-palette-primary-200)", + "palette-primary-300": "var(--color-palette-primary-300)", + "palette-primary-400": "var(--color-palette-primary-400)", + "palette-primary-500": "var(--color-palette-primary-500)", + "palette-primary-600": "var(--color-palette-primary-600)", + "palette-primary-600-a6": "var(--color-palette-primary-600-a6)", + "palette-primary-600-a8": "var(--color-palette-primary-600-a8)", + "palette-primary-600-a9": "var(--color-palette-primary-600-a9)", + "palette-primary-700": "var(--color-palette-primary-700)", + "palette-primary-800": "var(--color-palette-primary-800)", + "palette-primary-900": "var(--color-palette-primary-900)", + "palette-success-100": "var(--color-palette-success-100)", + "palette-success-1000": "var(--color-palette-success-1000)", + "palette-success-1100": "var(--color-palette-success-1100)", + "palette-success-200": "var(--color-palette-success-200)", + "palette-success-300": "var(--color-palette-success-300)", + "palette-success-400": "var(--color-palette-success-400)", + "palette-success-500": "var(--color-palette-success-500)", + "palette-success-600": "var(--color-palette-success-600)", + "palette-success-700": "var(--color-palette-success-700)", + "palette-success-800": "var(--color-palette-success-800)", + "palette-success-900": "var(--color-palette-success-900)", + "palette-warning-100": "var(--color-palette-warning-100)", + "palette-warning-1000": "var(--color-palette-warning-1000)", + "palette-warning-1100": "var(--color-palette-warning-1100)", + "palette-warning-200": "var(--color-palette-warning-200)", + "palette-warning-300": "var(--color-palette-warning-300)", + "palette-warning-400": "var(--color-palette-warning-400)", + "palette-warning-500": "var(--color-palette-warning-500)", + "palette-warning-600": "var(--color-palette-warning-600)", + "palette-warning-700": "var(--color-palette-warning-700)", + "palette-warning-800": "var(--color-palette-warning-800)", + "palette-warning-900": "var(--color-palette-warning-900)", + "shadow-ambient": "var(--color-shadow-ambient)", + "shadow-key": "var(--color-shadow-key)", + "shadow-scrim": "var(--color-shadow-scrim)", + "state-hover": "var(--color-state-hover)", + "state-pressed": "var(--color-state-pressed)", + "state-selected": "var(--color-state-selected)", + "surface-brand": "var(--color-surface-brand)", + "surface-brand-subtle": "var(--color-surface-brand-subtle)", + "surface-default": "var(--color-surface-default)", + "surface-error": "var(--color-surface-error)", + "surface-raised": "var(--color-surface-raised)", + "surface-success": "var(--color-surface-success)", + "surface-sunken": "var(--color-surface-sunken)", + "surface-warning": "var(--color-surface-warning)", + "text-default": "var(--color-text-default)", + "text-error": "var(--color-text-error)", + "text-inverse": "var(--color-text-inverse)", + "text-subtle": "var(--color-text-subtle)", + "text-success": "var(--color-text-success)", + "text-warning": "var(--color-text-warning)", + "viz-1": "var(--color-viz-1)", + "viz-2": "var(--color-viz-2)", + "viz-3": "var(--color-viz-3)", + "viz-4": "var(--color-viz-4)", + "viz-5": "var(--color-viz-5)", + "viz-6": "var(--color-viz-6)", + "viz-7": "var(--color-viz-7)", + "viz-8": "var(--color-viz-8)", + "viz-seq-1": "var(--color-viz-seq-1)", + "viz-seq-2": "var(--color-viz-seq-2)", + "viz-seq-3": "var(--color-viz-seq-3)", + "viz-seq-4": "var(--color-viz-seq-4)", + "white": "var(--color-white)", }, "contentModes": { "black": "dark", @@ -2898,11 +2898,11 @@ exports[`themes platform - theme shape 1`] = ` "headerZ": "var(--elements-headerZ)", }, "elevation": { - "hover-shadow": "0 2px 6px 0 var(--colors-shadow-key), 0 6px 16px 0 var(--colors-shadow-ambient)", + "hover-shadow": "0 2px 6px 0 var(--color-shadow-key), 0 6px 16px 0 var(--color-shadow-ambient)", "hover-transform": "none", - "hoverMirrored-shadow": "0 2px 6px 0 var(--colors-shadow-key), 0 6px 16px 0 var(--colors-shadow-ambient)", + "hoverMirrored-shadow": "0 2px 6px 0 var(--color-shadow-key), 0 6px 16px 0 var(--color-shadow-ambient)", "hoverMirrored-transform": "none", - "rest-shadow": "0 1px 4px 0 var(--colors-shadow-key), 0 2px 7px 0 var(--colors-shadow-ambient)", + "rest-shadow": "0 1px 4px 0 var(--color-shadow-key), 0 2px 7px 0 var(--color-shadow-ambient)", "rest-transform": "none", }, "fontFamily": { @@ -3057,213 +3057,213 @@ monospace", @layer tokens { :root, [data-brand="platform"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9867 0.0084 225.08); - --colors-palette-neutral-light-200: oklch(0.9364 0.0032 225.10); - --colors-palette-neutral-light-300: oklch(0.8497 0.0109 225.10); - --colors-palette-neutral-light-400: oklch(0.7628 0.0202 225.10); - --colors-palette-neutral-light-500: oklch(0.6707 0.0223 225.10); - --colors-palette-neutral-light-600: oklch(0.5835 0.0221 225.10); - --colors-palette-neutral-light-700: oklch(0.4972 0.0179 225.10); - --colors-palette-neutral-light-800: oklch(0.4115 0.0140 225.10); - --colors-palette-neutral-light-900: oklch(0.3346 0.0111 225.10); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0079 225.10); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0058 225.10); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); - --colors-palette-primary-100: oklch(0.9862 0.0064 274.10); - --colors-palette-primary-200: oklch(0.9364 0.0121 274.10); - --colors-palette-primary-300: oklch(0.8497 0.0408 274.10); - --colors-palette-primary-400: oklch(0.7628 0.0849 274.10); - --colors-palette-primary-500: oklch(0.6707 0.1537 274.10); - --colors-palette-primary-600: oklch(0.5835 0.2285 274.10); - --colors-palette-primary-700: oklch(0.4972 0.2707 274.10); - --colors-palette-primary-800: oklch(0.4115 0.2344 274.10); - --colors-palette-primary-900: oklch(0.3346 0.1863 274.10); - --colors-palette-primary-1000: oklch(0.2499 0.1328 274.10); - --colors-palette-primary-1100: oklch(0.1925 0.0974 274.10); - --colors-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0205 93.60); - --colors-palette-accent-200: oklch(0.9364 0.0378 93.60); - --colors-palette-accent-300: oklch(0.8789 0.1801 93.58); - --colors-palette-accent-400: oklch(0.7442 0.1526 93.94); - --colors-palette-accent-500: oklch(0.6707 0.1209 93.60); - --colors-palette-accent-600: oklch(0.5835 0.1195 93.60); - --colors-palette-accent-700: oklch(0.4972 0.0967 93.60); - --colors-palette-accent-800: oklch(0.4115 0.0758 93.60); - --colors-palette-accent-900: oklch(0.3346 0.0603 93.60); - --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60); - --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 29.40); - --colors-palette-danger-200: oklch(0.9364 0.0128 29.40); - --colors-palette-danger-300: oklch(0.8497 0.0452 29.40); - --colors-palette-danger-400: oklch(0.7628 0.0990 29.40); - --colors-palette-danger-500: oklch(0.6707 0.1910 29.40); - --colors-palette-danger-600: oklch(0.5835 0.2382 29.40); - --colors-palette-danger-700: oklch(0.4972 0.1928 29.40); - --colors-palette-danger-800: oklch(0.4115 0.1512 29.40); - --colors-palette-danger-900: oklch(0.3346 0.1202 29.40); - --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40); - --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40); - --colors-palette-warning-100: oklch(0.9862 0.0082 58.30); - --colors-palette-warning-200: oklch(0.9364 0.0156 58.30); - --colors-palette-warning-300: oklch(0.8497 0.0545 58.30); - --colors-palette-warning-400: oklch(0.7628 0.1179 58.30); - --colors-palette-warning-500: oklch(0.6707 0.1408 58.30); - --colors-palette-warning-600: oklch(0.5835 0.1392 58.30); - --colors-palette-warning-700: oklch(0.4972 0.1127 58.30); - --colors-palette-warning-800: oklch(0.4115 0.0883 58.30); - --colors-palette-warning-900: oklch(0.3346 0.0702 58.30); - --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30); - --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30); - --colors-palette-success-100: oklch(0.9862 0.0228 145.50); - --colors-palette-success-200: oklch(0.9364 0.0458 145.50); - --colors-palette-success-300: oklch(0.8497 0.1448 145.50); - --colors-palette-success-400: oklch(0.7628 0.1654 145.50); - --colors-palette-success-500: oklch(0.6707 0.1829 145.50); - --colors-palette-success-600: oklch(0.5835 0.1808 145.50); - --colors-palette-success-700: oklch(0.4972 0.1464 145.50); - --colors-palette-success-800: oklch(0.4115 0.1147 145.50); - --colors-palette-success-900: oklch(0.3346 0.0912 145.50); - --colors-palette-success-1000: oklch(0.2499 0.0650 145.50); - --colors-palette-success-1100: oklch(0.1925 0.0477 145.50); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9867 0.0084 225.08); + --color-palette-neutral-light-200: oklch(0.9364 0.0032 225.10); + --color-palette-neutral-light-300: oklch(0.8497 0.0109 225.10); + --color-palette-neutral-light-400: oklch(0.7628 0.0202 225.10); + --color-palette-neutral-light-500: oklch(0.6707 0.0223 225.10); + --color-palette-neutral-light-600: oklch(0.5835 0.0221 225.10); + --color-palette-neutral-light-700: oklch(0.4972 0.0179 225.10); + --color-palette-neutral-light-800: oklch(0.4115 0.0140 225.10); + --color-palette-neutral-light-900: oklch(0.3346 0.0111 225.10); + --color-palette-neutral-light-1000: oklch(0.2499 0.0079 225.10); + --color-palette-neutral-light-1100: oklch(0.1925 0.0058 225.10); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); + --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); + --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); + --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); + --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); + --color-palette-primary-100: oklch(0.9862 0.0064 274.10); + --color-palette-primary-200: oklch(0.9364 0.0121 274.10); + --color-palette-primary-300: oklch(0.8497 0.0408 274.10); + --color-palette-primary-400: oklch(0.7628 0.0849 274.10); + --color-palette-primary-500: oklch(0.6707 0.1537 274.10); + --color-palette-primary-600: oklch(0.5835 0.2285 274.10); + --color-palette-primary-700: oklch(0.4972 0.2707 274.10); + --color-palette-primary-800: oklch(0.4115 0.2344 274.10); + --color-palette-primary-900: oklch(0.3346 0.1863 274.10); + --color-palette-primary-1000: oklch(0.2499 0.1328 274.10); + --color-palette-primary-1100: oklch(0.1925 0.0974 274.10); + --color-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0205 93.60); + --color-palette-accent-200: oklch(0.9364 0.0378 93.60); + --color-palette-accent-300: oklch(0.8789 0.1801 93.58); + --color-palette-accent-400: oklch(0.7442 0.1526 93.94); + --color-palette-accent-500: oklch(0.6707 0.1209 93.60); + --color-palette-accent-600: oklch(0.5835 0.1195 93.60); + --color-palette-accent-700: oklch(0.4972 0.0967 93.60); + --color-palette-accent-800: oklch(0.4115 0.0758 93.60); + --color-palette-accent-900: oklch(0.3346 0.0603 93.60); + --color-palette-accent-1000: oklch(0.2499 0.0430 93.60); + --color-palette-accent-1100: oklch(0.1925 0.0315 93.60); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 29.40); + --color-palette-danger-200: oklch(0.9364 0.0128 29.40); + --color-palette-danger-300: oklch(0.8497 0.0452 29.40); + --color-palette-danger-400: oklch(0.7628 0.0990 29.40); + --color-palette-danger-500: oklch(0.6707 0.1910 29.40); + --color-palette-danger-600: oklch(0.5835 0.2382 29.40); + --color-palette-danger-700: oklch(0.4972 0.1928 29.40); + --color-palette-danger-800: oklch(0.4115 0.1512 29.40); + --color-palette-danger-900: oklch(0.3346 0.1202 29.40); + --color-palette-danger-1000: oklch(0.2499 0.0857 29.40); + --color-palette-danger-1100: oklch(0.1925 0.0628 29.40); + --color-palette-warning-100: oklch(0.9862 0.0082 58.30); + --color-palette-warning-200: oklch(0.9364 0.0156 58.30); + --color-palette-warning-300: oklch(0.8497 0.0545 58.30); + --color-palette-warning-400: oklch(0.7628 0.1179 58.30); + --color-palette-warning-500: oklch(0.6707 0.1408 58.30); + --color-palette-warning-600: oklch(0.5835 0.1392 58.30); + --color-palette-warning-700: oklch(0.4972 0.1127 58.30); + --color-palette-warning-800: oklch(0.4115 0.0883 58.30); + --color-palette-warning-900: oklch(0.3346 0.0702 58.30); + --color-palette-warning-1000: oklch(0.2499 0.0500 58.30); + --color-palette-warning-1100: oklch(0.1925 0.0367 58.30); + --color-palette-success-100: oklch(0.9862 0.0228 145.50); + --color-palette-success-200: oklch(0.9364 0.0458 145.50); + --color-palette-success-300: oklch(0.8497 0.1448 145.50); + --color-palette-success-400: oklch(0.7628 0.1654 145.50); + --color-palette-success-500: oklch(0.6707 0.1829 145.50); + --color-palette-success-600: oklch(0.5835 0.1808 145.50); + --color-palette-success-700: oklch(0.4972 0.1464 145.50); + --color-palette-success-800: oklch(0.4115 0.1147 145.50); + --color-palette-success-900: oklch(0.3346 0.0912 145.50); + --color-palette-success-1000: oklch(0.2499 0.0650 145.50); + --color-palette-success-1100: oklch(0.1925 0.0477 145.50); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); } :root, [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } } -@layer tokens{:root,[data-color-mode="dark"]{--colors-editor-attribute:#AEE938;--colors-editor-annotation:#E85D7F;--colors-editor-atom:#F966FF;--colors-editor-basic:#ffffff;--colors-editor-comment:#84868D;--colors-editor-constant:#FF8C00;--colors-editor-decoration:#E85D7F;--colors-editor-invalid:#E85D7F;--colors-editor-key:#66C4FF;--colors-editor-keyword:#B3CCFF;--colors-editor-number:#E85D7F;--colors-editor-operator:#E85D7F;--colors-editor-predefined:#ffffff;--colors-editor-property:#E85D7F;--colors-editor-regexp:#AEE938;--colors-editor-string:#FFD300;--colors-editor-tag:#E85D7F;--colors-editor-text:#FF8C00;--colors-editor-value:#FFD300;--colors-editor-variable:#AEE938;--colors-editor-ui-background:#0A0D1C;--colors-editor-ui-text:#ffffff;--colors-editor-ui-indent-active:#3B3D49;--colors-editor-ui-indent-inactive:#5F616B;--colors-editor-ui-line-number-active:#CECFD2;--colors-editor-ui-line-number-inactive:#84868D;}[data-color-mode="light"]{--colors-editor-attribute:#008A27;--colors-editor-annotation:#E91C11;--colors-editor-atom:#CA00D1;--colors-editor-basic:#10162F;--colors-editor-comment:#686C7B;--colors-editor-constant:#D14900;--colors-editor-decoration:#E91C11;--colors-editor-invalid:#E91C11;--colors-editor-key:#006D82;--colors-editor-keyword:#1557FF;--colors-editor-number:#E91C11;--colors-editor-operator:#E91C11;--colors-editor-predefined:#10162F;--colors-editor-property:#E91C11;--colors-editor-regexp:#008A27;--colors-editor-string:#8A7300;--colors-editor-tag:#E91C11;--colors-editor-text:#D14900;--colors-editor-value:#8A7300;--colors-editor-variable:#008A27;--colors-editor-ui-background:#ffffff;--colors-editor-ui-text:#10162F;--colors-editor-ui-indent-active:#BCBDC4;--colors-editor-ui-indent-inactive:#8E919D;--colors-editor-ui-line-number-active:#31374C;--colors-editor-ui-line-number-inactive:#686C7B;}}", +@layer tokens{:root,[data-color-mode="dark"]{--color-editor-attribute:#AEE938;--color-editor-annotation:#E85D7F;--color-editor-atom:#F966FF;--color-editor-basic:#ffffff;--color-editor-comment:#84868D;--color-editor-constant:#FF8C00;--color-editor-decoration:#E85D7F;--color-editor-invalid:#E85D7F;--color-editor-key:#66C4FF;--color-editor-keyword:#B3CCFF;--color-editor-number:#E85D7F;--color-editor-operator:#E85D7F;--color-editor-predefined:#ffffff;--color-editor-property:#E85D7F;--color-editor-regexp:#AEE938;--color-editor-string:#FFD300;--color-editor-tag:#E85D7F;--color-editor-text:#FF8C00;--color-editor-value:#FFD300;--color-editor-variable:#AEE938;--color-editor-ui-background:#0A0D1C;--color-editor-ui-text:#ffffff;--color-editor-ui-indent-active:#3B3D49;--color-editor-ui-indent-inactive:#5F616B;--color-editor-ui-line-number-active:#CECFD2;--color-editor-ui-line-number-inactive:#84868D;}[data-color-mode="light"]{--color-editor-attribute:#008A27;--color-editor-annotation:#E91C11;--color-editor-atom:#CA00D1;--color-editor-basic:#10162F;--color-editor-comment:#686C7B;--color-editor-constant:#D14900;--color-editor-decoration:#E91C11;--color-editor-invalid:#E91C11;--color-editor-key:#006D82;--color-editor-keyword:#1557FF;--color-editor-number:#E91C11;--color-editor-operator:#E91C11;--color-editor-predefined:#10162F;--color-editor-property:#E91C11;--color-editor-regexp:#008A27;--color-editor-string:#8A7300;--color-editor-tag:#E91C11;--color-editor-text:#D14900;--color-editor-value:#8A7300;--color-editor-variable:#008A27;--color-editor-ui-background:#ffffff;--color-editor-ui-text:#10162F;--color-editor-ui-indent-active:#BCBDC4;--color-editor-ui-indent-inactive:#8E919D;--color-editor-ui-line-number-active:#31374C;--color-editor-ui-line-number-inactive:#686C7B;}}", } `; diff --git a/packages/gamut-styles/src/themes/__tests__/brandElevation.test.ts b/packages/gamut-styles/src/themes/__tests__/brandElevation.test.ts index b05c68eb88..271f07cd06 100644 --- a/packages/gamut-styles/src/themes/__tests__/brandElevation.test.ts +++ b/packages/gamut-styles/src/themes/__tests__/brandElevation.test.ts @@ -23,8 +23,8 @@ describe('brand elevation', () => { for (const state of STATES) { const shadow = elevation[`${state}-shadow`]; expect(shadow).not.toContain('undefined'); - expect(shadow).toContain('var(--colors-shadow-key)'); - expect(shadow).toContain('var(--colors-shadow-ambient)'); + expect(shadow).toContain('var(--color-shadow-key)'); + expect(shadow).toContain('var(--color-shadow-ambient)'); } }); @@ -36,18 +36,18 @@ describe('brand elevation', () => { ])('gives %s the soft raised shadow', (_, theme) => { expect(theme.elevation).toMatchObject({ 'rest-shadow': - '0 1px 4px 0 var(--colors-shadow-key), 0 2px 7px 0 var(--colors-shadow-ambient)', + '0 1px 4px 0 var(--color-shadow-key), 0 2px 7px 0 var(--color-shadow-ambient)', 'hover-shadow': - '0 2px 6px 0 var(--colors-shadow-key), 0 6px 16px 0 var(--colors-shadow-ambient)', + '0 2px 6px 0 var(--color-shadow-key), 0 6px 16px 0 var(--color-shadow-ambient)', }); }); it("gives Original Codecademy old core's hard offset", () => { expect(originalCodecademyTheme.elevation).toMatchObject({ 'rest-shadow': - '-4px 4px 0 0 var(--colors-shadow-key), 0 0 0 0 var(--colors-shadow-ambient)', + '-4px 4px 0 0 var(--color-shadow-key), 0 0 0 0 var(--color-shadow-ambient)', 'hover-shadow': - '-8px 8px 0 0 var(--colors-shadow-key), 0 0 0 0 var(--colors-shadow-ambient)', + '-8px 8px 0 0 var(--color-shadow-key), 0 0 0 0 var(--color-shadow-ambient)', 'hover-transform': 'translate(4px, -4px)', }); }); @@ -62,7 +62,7 @@ describe('brand elevation', () => { lxStudio: lxStudioTheme, }) .filter(([, theme]) => - /--colors-shadow-ambient: var\(--colors-[\w-]+-a0\);/.test( + /--color-shadow-ambient: var\(--color-[\w-]+-a0\);/.test( theme.tokensCss ) ) diff --git a/packages/gamut-styles/src/themes/__tests__/theme.test.ts b/packages/gamut-styles/src/themes/__tests__/theme.test.ts index 172cd74c39..17d575a1dd 100644 --- a/packages/gamut-styles/src/themes/__tests__/theme.test.ts +++ b/packages/gamut-styles/src/themes/__tests__/theme.test.ts @@ -23,16 +23,16 @@ describe('platformTheme', () => { it("keeps the code editor's colors, declared in both modes", () => { expect(platformTheme.colors['editor-keyword']).toBe( - 'var(--colors-editor-keyword)' + 'var(--color-editor-keyword)' ); expect(platformTheme.tokensCss).toContain( - '[data-color-mode="light"]{--colors-editor-attribute:#008A27;' + '[data-color-mode="light"]{--color-editor-attribute:#008A27;' ); expect(platformTheme.tokensCss).toContain( - ':root,[data-color-mode="dark"]{--colors-editor-attribute:' + ':root,[data-color-mode="dark"]{--color-editor-attribute:' ); expect(platformTheme.tokensCss).toContain( - '--colors-editor-keyword:#B3CCFF;' + '--color-editor-keyword:#B3CCFF;' ); }); }); diff --git a/packages/gamut-styles/src/themes/createBrandTheme.ts b/packages/gamut-styles/src/themes/createBrandTheme.ts index d5e7b003fa..4ca9d22aaf 100644 --- a/packages/gamut-styles/src/themes/createBrandTheme.ts +++ b/packages/gamut-styles/src/themes/createBrandTheme.ts @@ -122,7 +122,7 @@ export const createBrandTheme = ( * as `tokensCss` for GamutProvider to inject: this brand's palette and * roles, no other brand's. The theme doesn't also inject the palette as variables, so * the OKLCH in tokens.css is what renders. The theme keeps names - * (`var(--colors-*)`), `brand` (ColorMode sets it as `data-brand`), and + * (`var(--color-*)`), `brand` (ColorMode sets it as `data-brand`), and * `contentModes`, which Background reads instead of measuring contrast. * `_getColorValue` still returns sRGB for the components that run polished * on it (BarChart). @@ -136,7 +136,7 @@ export const createBrandTheme = ( ...built._variables, root: pickBy( built._variables.root, - (_, key) => !key.startsWith('--colors-') + (_, key) => !key.startsWith('--color-') ), }, }; diff --git a/packages/gamut-styles/src/themes/platform.ts b/packages/gamut-styles/src/themes/platform.ts index 186ee454c6..afc7d3f306 100644 --- a/packages/gamut-styles/src/themes/platform.ts +++ b/packages/gamut-styles/src/themes/platform.ts @@ -21,7 +21,7 @@ import { createBrandTheme } from './createBrandTheme'; * system: no role covers them, and they aren't generated or checked. They * keep old platform's names and exact values, resolved from the same * palettes as before, and only this theme's GamutProvider declares them, - * as `--colors-editor-*` in tokens.css's layer and mode selectors, the + * as `--color-editor-*` in tokens.css's layer and mode selectors, the * brand's initial mode on :root. */ const OLD_PALETTE: Record = { @@ -104,7 +104,7 @@ const editorValues = (mode: 'light' | 'dark') => const editorBlock = (selector: string, mode: 'light' | 'dark') => `${selector}{${Object.entries(editorValues(mode)) - .map(([alias, value]) => `--colors-${alias}:${value};`) + .map(([alias, value]) => `--color-${alias}:${value};`) .join('')}}`; export const platformTheme = { @@ -113,7 +113,7 @@ export const platformTheme = { ...base.colors, ...(mapValues( editor.light, - (_, alias) => `var(--colors-${alias})` + (_, alias) => `var(--color-${alias})` ) as Record), }, tokensCss: `${base.tokensCss}\n@layer tokens{${editorBlock( diff --git a/packages/gamut-styles/src/tokens/generated/admin/dark.tokens.json b/packages/gamut-styles/src/tokens/generated/admin/dark.tokens.json index 50fcfd8e67..53ae6377ed 100644 --- a/packages/gamut-styles/src/tokens/generated/admin/dark.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/admin/dark.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.3346 0.1696 287.1 / 0.45) 0%, oklch(0.3346 0.1696 287.1 / 0.43) 16%, oklch(0.3346 0.1696 287.1 / 0.24) 36%, oklch(0.3346 0.1696 287.1 / 0.11) 56%, oklch(0.3346 0.1696 287.1 / 0.04) 76%, oklch(0.3346 0.1696 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.3346 0.1591 263.6 / 0.45) 0%, oklch(0.3346 0.1591 263.6 / 0.43) 16%, oklch(0.3346 0.1591 263.6 / 0.24) 36%, oklch(0.3346 0.1591 263.6 / 0.11) 56%, oklch(0.3346 0.1591 263.6 / 0.04) 76%, oklch(0.3346 0.1591 263.6 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.3346 0.1591 263.6 / 0.45) 0%, oklch(0.3346 0.1591 263.6 / 0.43) 16%, oklch(0.3346 0.1591 263.6 / 0.24) 36%, oklch(0.3346 0.1591 263.6 / 0.11) 56%, oklch(0.3346 0.1591 263.6 / 0.04) 76%, oklch(0.3346 0.1591 263.6 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/admin/light.tokens.json b/packages/gamut-styles/src/tokens/generated/admin/light.tokens.json index cf5ae65704..e42321eb08 100644 --- a/packages/gamut-styles/src/tokens/generated/admin/light.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/admin/light.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.8497 0.043 287.1 / 0.45) 0%, oklch(0.8497 0.043 287.1 / 0.43) 16%, oklch(0.8497 0.043 287.1 / 0.24) 36%, oklch(0.8497 0.043 287.1 / 0.11) 56%, oklch(0.8497 0.043 287.1 / 0.04) 76%, oklch(0.8497 0.043 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.8497 0.0406 263.6 / 0.45) 0%, oklch(0.8497 0.0406 263.6 / 0.43) 16%, oklch(0.8497 0.0406 263.6 / 0.24) 36%, oklch(0.8497 0.0406 263.6 / 0.11) 56%, oklch(0.8497 0.0406 263.6 / 0.04) 76%, oklch(0.8497 0.0406 263.6 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.8497 0.0406 263.6 / 0.45) 0%, oklch(0.8497 0.0406 263.6 / 0.43) 16%, oklch(0.8497 0.0406 263.6 / 0.24) 36%, oklch(0.8497 0.0406 263.6 / 0.11) 56%, oklch(0.8497 0.0406 263.6 / 0.04) 76%, oklch(0.8497 0.0406 263.6 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/admin/tokens.css b/packages/gamut-styles/src/tokens/generated/admin/tokens.css index 221b6ca38b..6e2eeb2f5e 100644 --- a/packages/gamut-styles/src/tokens/generated/admin/tokens.css +++ b/packages/gamut-styles/src/tokens/generated/admin/tokens.css @@ -3,209 +3,209 @@ @layer tokens { :root, [data-brand="admin"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9862 0.0016 58.80); - --colors-palette-neutral-light-200: oklch(0.9364 0.0031 58.80); - --colors-palette-neutral-light-300: oklch(0.8497 0.0109 58.80); - --colors-palette-neutral-light-400: oklch(0.7628 0.0237 58.80); - --colors-palette-neutral-light-500: oklch(0.6707 0.0280 58.80); - --colors-palette-neutral-light-600: oklch(0.5835 0.0277 58.80); - --colors-palette-neutral-light-700: oklch(0.4972 0.0224 58.80); - --colors-palette-neutral-light-800: oklch(0.4115 0.0175 58.80); - --colors-palette-neutral-light-900: oklch(0.3346 0.0139 58.80); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); - --colors-palette-primary-100: oklch(0.9862 0.0064 263.60); - --colors-palette-primary-200: oklch(0.9364 0.0120 263.60); - --colors-palette-primary-300: oklch(0.8497 0.0406 263.60); - --colors-palette-primary-400: oklch(0.7628 0.0845 263.60); - --colors-palette-primary-500: oklch(0.6707 0.1528 263.60); - --colors-palette-primary-600: oklch(0.5835 0.2271 263.60); - --colors-palette-primary-700: oklch(0.4972 0.2553 263.60); - --colors-palette-primary-800: oklch(0.4115 0.2002 263.60); - --colors-palette-primary-900: oklch(0.3346 0.1591 263.60); - --colors-palette-primary-1000: oklch(0.2499 0.1134 263.60); - --colors-palette-primary-1100: oklch(0.1925 0.0832 263.60); - --colors-palette-primary-600-a6: oklch(0.5835 0.2271 263.60 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2271 263.60 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2271 263.60 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0205 93.60); - --colors-palette-accent-200: oklch(0.9364 0.0378 93.60); - --colors-palette-accent-300: oklch(0.8789 0.1801 93.58); - --colors-palette-accent-400: oklch(0.7442 0.1526 93.94); - --colors-palette-accent-500: oklch(0.6707 0.1209 93.60); - --colors-palette-accent-600: oklch(0.5835 0.1195 93.60); - --colors-palette-accent-700: oklch(0.4972 0.0967 93.60); - --colors-palette-accent-800: oklch(0.4115 0.0758 93.60); - --colors-palette-accent-900: oklch(0.3346 0.0603 93.60); - --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60); - --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 29.40); - --colors-palette-danger-200: oklch(0.9364 0.0128 29.40); - --colors-palette-danger-300: oklch(0.8497 0.0452 29.40); - --colors-palette-danger-400: oklch(0.7628 0.0990 29.40); - --colors-palette-danger-500: oklch(0.6707 0.1910 29.40); - --colors-palette-danger-600: oklch(0.5835 0.2382 29.40); - --colors-palette-danger-700: oklch(0.4972 0.1928 29.40); - --colors-palette-danger-800: oklch(0.4115 0.1512 29.40); - --colors-palette-danger-900: oklch(0.3346 0.1202 29.40); - --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40); - --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40); - --colors-palette-warning-100: oklch(0.9862 0.0082 58.30); - --colors-palette-warning-200: oklch(0.9364 0.0156 58.30); - --colors-palette-warning-300: oklch(0.8497 0.0545 58.30); - --colors-palette-warning-400: oklch(0.7628 0.1179 58.30); - --colors-palette-warning-500: oklch(0.6707 0.1408 58.30); - --colors-palette-warning-600: oklch(0.5835 0.1392 58.30); - --colors-palette-warning-700: oklch(0.4972 0.1127 58.30); - --colors-palette-warning-800: oklch(0.4115 0.0883 58.30); - --colors-palette-warning-900: oklch(0.3346 0.0702 58.30); - --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30); - --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30); - --colors-palette-success-100: oklch(0.9862 0.0228 145.50); - --colors-palette-success-200: oklch(0.9364 0.0458 145.50); - --colors-palette-success-300: oklch(0.8497 0.1448 145.50); - --colors-palette-success-400: oklch(0.7628 0.1654 145.50); - --colors-palette-success-500: oklch(0.6707 0.1829 145.50); - --colors-palette-success-600: oklch(0.5835 0.1808 145.50); - --colors-palette-success-700: oklch(0.4972 0.1464 145.50); - --colors-palette-success-800: oklch(0.4115 0.1147 145.50); - --colors-palette-success-900: oklch(0.3346 0.0912 145.50); - --colors-palette-success-1000: oklch(0.2499 0.0650 145.50); - --colors-palette-success-1100: oklch(0.1925 0.0477 145.50); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9862 0.0016 58.80); + --color-palette-neutral-light-200: oklch(0.9364 0.0031 58.80); + --color-palette-neutral-light-300: oklch(0.8497 0.0109 58.80); + --color-palette-neutral-light-400: oklch(0.7628 0.0237 58.80); + --color-palette-neutral-light-500: oklch(0.6707 0.0280 58.80); + --color-palette-neutral-light-600: oklch(0.5835 0.0277 58.80); + --color-palette-neutral-light-700: oklch(0.4972 0.0224 58.80); + --color-palette-neutral-light-800: oklch(0.4115 0.0175 58.80); + --color-palette-neutral-light-900: oklch(0.3346 0.0139 58.80); + --color-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80); + --color-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); + --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); + --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); + --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); + --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); + --color-palette-primary-100: oklch(0.9862 0.0064 263.60); + --color-palette-primary-200: oklch(0.9364 0.0120 263.60); + --color-palette-primary-300: oklch(0.8497 0.0406 263.60); + --color-palette-primary-400: oklch(0.7628 0.0845 263.60); + --color-palette-primary-500: oklch(0.6707 0.1528 263.60); + --color-palette-primary-600: oklch(0.5835 0.2271 263.60); + --color-palette-primary-700: oklch(0.4972 0.2553 263.60); + --color-palette-primary-800: oklch(0.4115 0.2002 263.60); + --color-palette-primary-900: oklch(0.3346 0.1591 263.60); + --color-palette-primary-1000: oklch(0.2499 0.1134 263.60); + --color-palette-primary-1100: oklch(0.1925 0.0832 263.60); + --color-palette-primary-600-a6: oklch(0.5835 0.2271 263.60 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2271 263.60 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2271 263.60 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0205 93.60); + --color-palette-accent-200: oklch(0.9364 0.0378 93.60); + --color-palette-accent-300: oklch(0.8789 0.1801 93.58); + --color-palette-accent-400: oklch(0.7442 0.1526 93.94); + --color-palette-accent-500: oklch(0.6707 0.1209 93.60); + --color-palette-accent-600: oklch(0.5835 0.1195 93.60); + --color-palette-accent-700: oklch(0.4972 0.0967 93.60); + --color-palette-accent-800: oklch(0.4115 0.0758 93.60); + --color-palette-accent-900: oklch(0.3346 0.0603 93.60); + --color-palette-accent-1000: oklch(0.2499 0.0430 93.60); + --color-palette-accent-1100: oklch(0.1925 0.0315 93.60); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 29.40); + --color-palette-danger-200: oklch(0.9364 0.0128 29.40); + --color-palette-danger-300: oklch(0.8497 0.0452 29.40); + --color-palette-danger-400: oklch(0.7628 0.0990 29.40); + --color-palette-danger-500: oklch(0.6707 0.1910 29.40); + --color-palette-danger-600: oklch(0.5835 0.2382 29.40); + --color-palette-danger-700: oklch(0.4972 0.1928 29.40); + --color-palette-danger-800: oklch(0.4115 0.1512 29.40); + --color-palette-danger-900: oklch(0.3346 0.1202 29.40); + --color-palette-danger-1000: oklch(0.2499 0.0857 29.40); + --color-palette-danger-1100: oklch(0.1925 0.0628 29.40); + --color-palette-warning-100: oklch(0.9862 0.0082 58.30); + --color-palette-warning-200: oklch(0.9364 0.0156 58.30); + --color-palette-warning-300: oklch(0.8497 0.0545 58.30); + --color-palette-warning-400: oklch(0.7628 0.1179 58.30); + --color-palette-warning-500: oklch(0.6707 0.1408 58.30); + --color-palette-warning-600: oklch(0.5835 0.1392 58.30); + --color-palette-warning-700: oklch(0.4972 0.1127 58.30); + --color-palette-warning-800: oklch(0.4115 0.0883 58.30); + --color-palette-warning-900: oklch(0.3346 0.0702 58.30); + --color-palette-warning-1000: oklch(0.2499 0.0500 58.30); + --color-palette-warning-1100: oklch(0.1925 0.0367 58.30); + --color-palette-success-100: oklch(0.9862 0.0228 145.50); + --color-palette-success-200: oklch(0.9364 0.0458 145.50); + --color-palette-success-300: oklch(0.8497 0.1448 145.50); + --color-palette-success-400: oklch(0.7628 0.1654 145.50); + --color-palette-success-500: oklch(0.6707 0.1829 145.50); + --color-palette-success-600: oklch(0.5835 0.1808 145.50); + --color-palette-success-700: oklch(0.4972 0.1464 145.50); + --color-palette-success-800: oklch(0.4115 0.1147 145.50); + --color-palette-success-900: oklch(0.3346 0.0912 145.50); + --color-palette-success-1000: oklch(0.2499 0.0650 145.50); + --color-palette-success-1100: oklch(0.1925 0.0477 145.50); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); } :root, [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } } diff --git a/packages/gamut-styles/src/tokens/generated/admin/values.ts b/packages/gamut-styles/src/tokens/generated/admin/values.ts index 583518c6d0..2593ab0041 100644 --- a/packages/gamut-styles/src/tokens/generated/admin/values.ts +++ b/packages/gamut-styles/src/tokens/generated/admin/values.ts @@ -1041,4 +1041,4 @@ export const contentModes = { } as const; /* This brand's tokens.css, for GamutProvider to inject. */ -export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"admin\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"admin\"] {\n --colors-white: oklch(1.0000 0.0000 0.00);\n --colors-black: oklch(0.0000 0.0000 0.00);\n --colors-palette-neutral-light-100: oklch(0.9862 0.0016 58.80);\n --colors-palette-neutral-light-200: oklch(0.9364 0.0031 58.80);\n --colors-palette-neutral-light-300: oklch(0.8497 0.0109 58.80);\n --colors-palette-neutral-light-400: oklch(0.7628 0.0237 58.80);\n --colors-palette-neutral-light-500: oklch(0.6707 0.0280 58.80);\n --colors-palette-neutral-light-600: oklch(0.5835 0.0277 58.80);\n --colors-palette-neutral-light-700: oklch(0.4972 0.0224 58.80);\n --colors-palette-neutral-light-800: oklch(0.4115 0.0175 58.80);\n --colors-palette-neutral-light-900: oklch(0.3346 0.0139 58.80);\n --colors-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80);\n --colors-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80);\n --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --colors-palette-primary-100: oklch(0.9862 0.0064 263.60);\n --colors-palette-primary-200: oklch(0.9364 0.0120 263.60);\n --colors-palette-primary-300: oklch(0.8497 0.0406 263.60);\n --colors-palette-primary-400: oklch(0.7628 0.0845 263.60);\n --colors-palette-primary-500: oklch(0.6707 0.1528 263.60);\n --colors-palette-primary-600: oklch(0.5835 0.2271 263.60);\n --colors-palette-primary-700: oklch(0.4972 0.2553 263.60);\n --colors-palette-primary-800: oklch(0.4115 0.2002 263.60);\n --colors-palette-primary-900: oklch(0.3346 0.1591 263.60);\n --colors-palette-primary-1000: oklch(0.2499 0.1134 263.60);\n --colors-palette-primary-1100: oklch(0.1925 0.0832 263.60);\n --colors-palette-primary-600-a6: oklch(0.5835 0.2271 263.60 / 0.06);\n --colors-palette-primary-600-a9: oklch(0.5835 0.2271 263.60 / 0.09);\n --colors-palette-primary-600-a8: oklch(0.5835 0.2271 263.60 / 0.08);\n --colors-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --colors-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --colors-palette-accent-300: oklch(0.8789 0.1801 93.58);\n --colors-palette-accent-400: oklch(0.7442 0.1526 93.94);\n --colors-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --colors-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --colors-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --colors-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --colors-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --colors-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --colors-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --colors-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --colors-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --colors-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --colors-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --colors-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --colors-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --colors-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --colors-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --colors-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --colors-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --colors-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --colors-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --colors-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --colors-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --colors-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --colors-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --colors-palette-success-100: oklch(0.9862 0.0228 145.50);\n --colors-palette-success-200: oklch(0.9364 0.0458 145.50);\n --colors-palette-success-300: oklch(0.8497 0.1448 145.50);\n --colors-palette-success-400: oklch(0.7628 0.1654 145.50);\n --colors-palette-success-500: oklch(0.6707 0.1829 145.50);\n --colors-palette-success-600: oklch(0.5835 0.1808 145.50);\n --colors-palette-success-700: oklch(0.4972 0.1464 145.50);\n --colors-palette-success-800: oklch(0.4115 0.1147 145.50);\n --colors-palette-success-900: oklch(0.3346 0.0912 145.50);\n --colors-palette-success-1000: oklch(0.2499 0.0650 145.50);\n --colors-palette-success-1100: oklch(0.1925 0.0477 145.50);\n --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; +export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"admin\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"admin\"] {\n --color-white: oklch(1.0000 0.0000 0.00);\n --color-black: oklch(0.0000 0.0000 0.00);\n --color-palette-neutral-light-100: oklch(0.9862 0.0016 58.80);\n --color-palette-neutral-light-200: oklch(0.9364 0.0031 58.80);\n --color-palette-neutral-light-300: oklch(0.8497 0.0109 58.80);\n --color-palette-neutral-light-400: oklch(0.7628 0.0237 58.80);\n --color-palette-neutral-light-500: oklch(0.6707 0.0280 58.80);\n --color-palette-neutral-light-600: oklch(0.5835 0.0277 58.80);\n --color-palette-neutral-light-700: oklch(0.4972 0.0224 58.80);\n --color-palette-neutral-light-800: oklch(0.4115 0.0175 58.80);\n --color-palette-neutral-light-900: oklch(0.3346 0.0139 58.80);\n --color-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80);\n --color-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80);\n --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --color-palette-primary-100: oklch(0.9862 0.0064 263.60);\n --color-palette-primary-200: oklch(0.9364 0.0120 263.60);\n --color-palette-primary-300: oklch(0.8497 0.0406 263.60);\n --color-palette-primary-400: oklch(0.7628 0.0845 263.60);\n --color-palette-primary-500: oklch(0.6707 0.1528 263.60);\n --color-palette-primary-600: oklch(0.5835 0.2271 263.60);\n --color-palette-primary-700: oklch(0.4972 0.2553 263.60);\n --color-palette-primary-800: oklch(0.4115 0.2002 263.60);\n --color-palette-primary-900: oklch(0.3346 0.1591 263.60);\n --color-palette-primary-1000: oklch(0.2499 0.1134 263.60);\n --color-palette-primary-1100: oklch(0.1925 0.0832 263.60);\n --color-palette-primary-600-a6: oklch(0.5835 0.2271 263.60 / 0.06);\n --color-palette-primary-600-a9: oklch(0.5835 0.2271 263.60 / 0.09);\n --color-palette-primary-600-a8: oklch(0.5835 0.2271 263.60 / 0.08);\n --color-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --color-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --color-palette-accent-300: oklch(0.8789 0.1801 93.58);\n --color-palette-accent-400: oklch(0.7442 0.1526 93.94);\n --color-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --color-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --color-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --color-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --color-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --color-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --color-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --color-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --color-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --color-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --color-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --color-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --color-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --color-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --color-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --color-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --color-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --color-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --color-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --color-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --color-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --color-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --color-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --color-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --color-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --color-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --color-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --color-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --color-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --color-palette-success-100: oklch(0.9862 0.0228 145.50);\n --color-palette-success-200: oklch(0.9364 0.0458 145.50);\n --color-palette-success-300: oklch(0.8497 0.1448 145.50);\n --color-palette-success-400: oklch(0.7628 0.1654 145.50);\n --color-palette-success-500: oklch(0.6707 0.1829 145.50);\n --color-palette-success-600: oklch(0.5835 0.1808 145.50);\n --color-palette-success-700: oklch(0.4972 0.1464 145.50);\n --color-palette-success-800: oklch(0.4115 0.1147 145.50);\n --color-palette-success-900: oklch(0.3346 0.0912 145.50);\n --color-palette-success-1000: oklch(0.2499 0.0650 145.50);\n --color-palette-success-1100: oklch(0.1925 0.0477 145.50);\n --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-900); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-300); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; diff --git a/packages/gamut-styles/src/tokens/generated/lxStudio/dark.tokens.json b/packages/gamut-styles/src/tokens/generated/lxStudio/dark.tokens.json index 3b3790409e..19f966422e 100644 --- a/packages/gamut-styles/src/tokens/generated/lxStudio/dark.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/lxStudio/dark.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.3346 0.1696 287.1 / 0.45) 0%, oklch(0.3346 0.1696 287.1 / 0.43) 16%, oklch(0.3346 0.1696 287.1 / 0.24) 36%, oklch(0.3346 0.1696 287.1 / 0.11) 56%, oklch(0.3346 0.1696 287.1 / 0.04) 76%, oklch(0.3346 0.1696 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.3346 0.1405 262.4 / 0.45) 0%, oklch(0.3346 0.1405 262.4 / 0.43) 16%, oklch(0.3346 0.1405 262.4 / 0.24) 36%, oklch(0.3346 0.1405 262.4 / 0.11) 56%, oklch(0.3346 0.1405 262.4 / 0.04) 76%, oklch(0.3346 0.1405 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.3346 0.1405 262.4 / 0.45) 0%, oklch(0.3346 0.1405 262.4 / 0.43) 16%, oklch(0.3346 0.1405 262.4 / 0.24) 36%, oklch(0.3346 0.1405 262.4 / 0.11) 56%, oklch(0.3346 0.1405 262.4 / 0.04) 76%, oklch(0.3346 0.1405 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/lxStudio/light.tokens.json b/packages/gamut-styles/src/tokens/generated/lxStudio/light.tokens.json index dcced4e7e0..8a1dbb1303 100644 --- a/packages/gamut-styles/src/tokens/generated/lxStudio/light.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/lxStudio/light.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.8497 0.043 287.1 / 0.45) 0%, oklch(0.8497 0.043 287.1 / 0.43) 16%, oklch(0.8497 0.043 287.1 / 0.24) 36%, oklch(0.8497 0.043 287.1 / 0.11) 56%, oklch(0.8497 0.043 287.1 / 0.04) 76%, oklch(0.8497 0.043 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.8497 0.0407 262.4 / 0.45) 0%, oklch(0.8497 0.0407 262.4 / 0.43) 16%, oklch(0.8497 0.0407 262.4 / 0.24) 36%, oklch(0.8497 0.0407 262.4 / 0.11) 56%, oklch(0.8497 0.0407 262.4 / 0.04) 76%, oklch(0.8497 0.0407 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.8497 0.0407 262.4 / 0.45) 0%, oklch(0.8497 0.0407 262.4 / 0.43) 16%, oklch(0.8497 0.0407 262.4 / 0.24) 36%, oklch(0.8497 0.0407 262.4 / 0.11) 56%, oklch(0.8497 0.0407 262.4 / 0.04) 76%, oklch(0.8497 0.0407 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/lxStudio/tokens.css b/packages/gamut-styles/src/tokens/generated/lxStudio/tokens.css index 907e5d9928..1fc403dcc4 100644 --- a/packages/gamut-styles/src/tokens/generated/lxStudio/tokens.css +++ b/packages/gamut-styles/src/tokens/generated/lxStudio/tokens.css @@ -3,209 +3,209 @@ @layer tokens { :root, [data-brand="lxStudio"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9876 0.0017 247.84); - --colors-palette-neutral-light-200: oklch(0.9364 0.0025 247.80); - --colors-palette-neutral-light-300: oklch(0.8497 0.0086 247.80); - --colors-palette-neutral-light-400: oklch(0.7628 0.0178 247.80); - --colors-palette-neutral-light-500: oklch(0.6707 0.0316 247.80); - --colors-palette-neutral-light-600: oklch(0.5835 0.0312 247.80); - --colors-palette-neutral-light-700: oklch(0.4972 0.0253 247.80); - --colors-palette-neutral-light-800: oklch(0.4115 0.0198 247.80); - --colors-palette-neutral-light-900: oklch(0.3346 0.0157 247.80); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0112 247.80); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0082 247.80); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); - --colors-palette-primary-100: oklch(0.9862 0.0064 262.40); - --colors-palette-primary-200: oklch(0.9364 0.0121 262.40); - --colors-palette-primary-300: oklch(0.8497 0.0407 262.40); - --colors-palette-primary-400: oklch(0.7628 0.0846 262.40); - --colors-palette-primary-500: oklch(0.6707 0.1531 262.40); - --colors-palette-primary-600: oklch(0.5835 0.2274 262.40); - --colors-palette-primary-700: oklch(0.4972 0.2254 262.40); - --colors-palette-primary-800: oklch(0.4115 0.1767 262.40); - --colors-palette-primary-900: oklch(0.3346 0.1405 262.40); - --colors-palette-primary-1000: oklch(0.2499 0.1001 262.40); - --colors-palette-primary-1100: oklch(0.1925 0.0734 262.40); - --colors-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0205 93.60); - --colors-palette-accent-200: oklch(0.9364 0.0378 93.60); - --colors-palette-accent-300: oklch(0.8497 0.0957 93.60); - --colors-palette-accent-400: oklch(0.7628 0.1094 93.60); - --colors-palette-accent-500: oklch(0.6707 0.1209 93.60); - --colors-palette-accent-600: oklch(0.5835 0.1195 93.60); - --colors-palette-accent-700: oklch(0.4972 0.0967 93.60); - --colors-palette-accent-800: oklch(0.4115 0.0758 93.60); - --colors-palette-accent-900: oklch(0.3346 0.0603 93.60); - --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60); - --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 29.40); - --colors-palette-danger-200: oklch(0.9364 0.0128 29.40); - --colors-palette-danger-300: oklch(0.8497 0.0452 29.40); - --colors-palette-danger-400: oklch(0.7628 0.0990 29.40); - --colors-palette-danger-500: oklch(0.6707 0.1910 29.40); - --colors-palette-danger-600: oklch(0.5835 0.2382 29.40); - --colors-palette-danger-700: oklch(0.4972 0.1928 29.40); - --colors-palette-danger-800: oklch(0.4115 0.1512 29.40); - --colors-palette-danger-900: oklch(0.3346 0.1202 29.40); - --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40); - --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40); - --colors-palette-warning-100: oklch(0.9862 0.0082 58.30); - --colors-palette-warning-200: oklch(0.9364 0.0156 58.30); - --colors-palette-warning-300: oklch(0.8497 0.0545 58.30); - --colors-palette-warning-400: oklch(0.7628 0.1179 58.30); - --colors-palette-warning-500: oklch(0.6707 0.1408 58.30); - --colors-palette-warning-600: oklch(0.5835 0.1392 58.30); - --colors-palette-warning-700: oklch(0.4972 0.1127 58.30); - --colors-palette-warning-800: oklch(0.4115 0.0883 58.30); - --colors-palette-warning-900: oklch(0.3346 0.0702 58.30); - --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30); - --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30); - --colors-palette-success-100: oklch(0.9862 0.0204 156.70); - --colors-palette-success-200: oklch(0.9364 0.0405 156.70); - --colors-palette-success-300: oklch(0.8497 0.1118 156.70); - --colors-palette-success-400: oklch(0.7628 0.1278 156.70); - --colors-palette-success-500: oklch(0.6707 0.1413 156.70); - --colors-palette-success-600: oklch(0.5835 0.1396 156.70); - --colors-palette-success-700: oklch(0.4972 0.1130 156.70); - --colors-palette-success-800: oklch(0.4115 0.0886 156.70); - --colors-palette-success-900: oklch(0.3346 0.0704 156.70); - --colors-palette-success-1000: oklch(0.2499 0.0502 156.70); - --colors-palette-success-1100: oklch(0.1925 0.0368 156.70); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9876 0.0017 247.84); + --color-palette-neutral-light-200: oklch(0.9364 0.0025 247.80); + --color-palette-neutral-light-300: oklch(0.8497 0.0086 247.80); + --color-palette-neutral-light-400: oklch(0.7628 0.0178 247.80); + --color-palette-neutral-light-500: oklch(0.6707 0.0316 247.80); + --color-palette-neutral-light-600: oklch(0.5835 0.0312 247.80); + --color-palette-neutral-light-700: oklch(0.4972 0.0253 247.80); + --color-palette-neutral-light-800: oklch(0.4115 0.0198 247.80); + --color-palette-neutral-light-900: oklch(0.3346 0.0157 247.80); + --color-palette-neutral-light-1000: oklch(0.2499 0.0112 247.80); + --color-palette-neutral-light-1100: oklch(0.1925 0.0082 247.80); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); + --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); + --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); + --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); + --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); + --color-palette-primary-100: oklch(0.9862 0.0064 262.40); + --color-palette-primary-200: oklch(0.9364 0.0121 262.40); + --color-palette-primary-300: oklch(0.8497 0.0407 262.40); + --color-palette-primary-400: oklch(0.7628 0.0846 262.40); + --color-palette-primary-500: oklch(0.6707 0.1531 262.40); + --color-palette-primary-600: oklch(0.5835 0.2274 262.40); + --color-palette-primary-700: oklch(0.4972 0.2254 262.40); + --color-palette-primary-800: oklch(0.4115 0.1767 262.40); + --color-palette-primary-900: oklch(0.3346 0.1405 262.40); + --color-palette-primary-1000: oklch(0.2499 0.1001 262.40); + --color-palette-primary-1100: oklch(0.1925 0.0734 262.40); + --color-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0205 93.60); + --color-palette-accent-200: oklch(0.9364 0.0378 93.60); + --color-palette-accent-300: oklch(0.8497 0.0957 93.60); + --color-palette-accent-400: oklch(0.7628 0.1094 93.60); + --color-palette-accent-500: oklch(0.6707 0.1209 93.60); + --color-palette-accent-600: oklch(0.5835 0.1195 93.60); + --color-palette-accent-700: oklch(0.4972 0.0967 93.60); + --color-palette-accent-800: oklch(0.4115 0.0758 93.60); + --color-palette-accent-900: oklch(0.3346 0.0603 93.60); + --color-palette-accent-1000: oklch(0.2499 0.0430 93.60); + --color-palette-accent-1100: oklch(0.1925 0.0315 93.60); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 29.40); + --color-palette-danger-200: oklch(0.9364 0.0128 29.40); + --color-palette-danger-300: oklch(0.8497 0.0452 29.40); + --color-palette-danger-400: oklch(0.7628 0.0990 29.40); + --color-palette-danger-500: oklch(0.6707 0.1910 29.40); + --color-palette-danger-600: oklch(0.5835 0.2382 29.40); + --color-palette-danger-700: oklch(0.4972 0.1928 29.40); + --color-palette-danger-800: oklch(0.4115 0.1512 29.40); + --color-palette-danger-900: oklch(0.3346 0.1202 29.40); + --color-palette-danger-1000: oklch(0.2499 0.0857 29.40); + --color-palette-danger-1100: oklch(0.1925 0.0628 29.40); + --color-palette-warning-100: oklch(0.9862 0.0082 58.30); + --color-palette-warning-200: oklch(0.9364 0.0156 58.30); + --color-palette-warning-300: oklch(0.8497 0.0545 58.30); + --color-palette-warning-400: oklch(0.7628 0.1179 58.30); + --color-palette-warning-500: oklch(0.6707 0.1408 58.30); + --color-palette-warning-600: oklch(0.5835 0.1392 58.30); + --color-palette-warning-700: oklch(0.4972 0.1127 58.30); + --color-palette-warning-800: oklch(0.4115 0.0883 58.30); + --color-palette-warning-900: oklch(0.3346 0.0702 58.30); + --color-palette-warning-1000: oklch(0.2499 0.0500 58.30); + --color-palette-warning-1100: oklch(0.1925 0.0367 58.30); + --color-palette-success-100: oklch(0.9862 0.0204 156.70); + --color-palette-success-200: oklch(0.9364 0.0405 156.70); + --color-palette-success-300: oklch(0.8497 0.1118 156.70); + --color-palette-success-400: oklch(0.7628 0.1278 156.70); + --color-palette-success-500: oklch(0.6707 0.1413 156.70); + --color-palette-success-600: oklch(0.5835 0.1396 156.70); + --color-palette-success-700: oklch(0.4972 0.1130 156.70); + --color-palette-success-800: oklch(0.4115 0.0886 156.70); + --color-palette-success-900: oklch(0.3346 0.0704 156.70); + --color-palette-success-1000: oklch(0.2499 0.0502 156.70); + --color-palette-success-1100: oklch(0.1925 0.0368 156.70); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); } :root, [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-300); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-200); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-300); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-200); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } } diff --git a/packages/gamut-styles/src/tokens/generated/lxStudio/values.ts b/packages/gamut-styles/src/tokens/generated/lxStudio/values.ts index 50e4725dd9..df709b3381 100644 --- a/packages/gamut-styles/src/tokens/generated/lxStudio/values.ts +++ b/packages/gamut-styles/src/tokens/generated/lxStudio/values.ts @@ -1024,4 +1024,4 @@ export const contentModes = { } as const; /* This brand's tokens.css, for GamutProvider to inject. */ -export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"lxStudio\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"lxStudio\"] {\n --colors-white: oklch(1.0000 0.0000 0.00);\n --colors-black: oklch(0.0000 0.0000 0.00);\n --colors-palette-neutral-light-100: oklch(0.9876 0.0017 247.84);\n --colors-palette-neutral-light-200: oklch(0.9364 0.0025 247.80);\n --colors-palette-neutral-light-300: oklch(0.8497 0.0086 247.80);\n --colors-palette-neutral-light-400: oklch(0.7628 0.0178 247.80);\n --colors-palette-neutral-light-500: oklch(0.6707 0.0316 247.80);\n --colors-palette-neutral-light-600: oklch(0.5835 0.0312 247.80);\n --colors-palette-neutral-light-700: oklch(0.4972 0.0253 247.80);\n --colors-palette-neutral-light-800: oklch(0.4115 0.0198 247.80);\n --colors-palette-neutral-light-900: oklch(0.3346 0.0157 247.80);\n --colors-palette-neutral-light-1000: oklch(0.2499 0.0112 247.80);\n --colors-palette-neutral-light-1100: oklch(0.1925 0.0082 247.80);\n --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --colors-palette-primary-100: oklch(0.9862 0.0064 262.40);\n --colors-palette-primary-200: oklch(0.9364 0.0121 262.40);\n --colors-palette-primary-300: oklch(0.8497 0.0407 262.40);\n --colors-palette-primary-400: oklch(0.7628 0.0846 262.40);\n --colors-palette-primary-500: oklch(0.6707 0.1531 262.40);\n --colors-palette-primary-600: oklch(0.5835 0.2274 262.40);\n --colors-palette-primary-700: oklch(0.4972 0.2254 262.40);\n --colors-palette-primary-800: oklch(0.4115 0.1767 262.40);\n --colors-palette-primary-900: oklch(0.3346 0.1405 262.40);\n --colors-palette-primary-1000: oklch(0.2499 0.1001 262.40);\n --colors-palette-primary-1100: oklch(0.1925 0.0734 262.40);\n --colors-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06);\n --colors-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09);\n --colors-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08);\n --colors-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --colors-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --colors-palette-accent-300: oklch(0.8497 0.0957 93.60);\n --colors-palette-accent-400: oklch(0.7628 0.1094 93.60);\n --colors-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --colors-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --colors-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --colors-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --colors-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --colors-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --colors-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --colors-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --colors-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --colors-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --colors-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --colors-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --colors-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --colors-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --colors-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --colors-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --colors-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --colors-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --colors-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --colors-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --colors-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --colors-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --colors-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --colors-palette-success-100: oklch(0.9862 0.0204 156.70);\n --colors-palette-success-200: oklch(0.9364 0.0405 156.70);\n --colors-palette-success-300: oklch(0.8497 0.1118 156.70);\n --colors-palette-success-400: oklch(0.7628 0.1278 156.70);\n --colors-palette-success-500: oklch(0.6707 0.1413 156.70);\n --colors-palette-success-600: oklch(0.5835 0.1396 156.70);\n --colors-palette-success-700: oklch(0.4972 0.1130 156.70);\n --colors-palette-success-800: oklch(0.4115 0.0886 156.70);\n --colors-palette-success-900: oklch(0.3346 0.0704 156.70);\n --colors-palette-success-1000: oklch(0.2499 0.0502 156.70);\n --colors-palette-success-1100: oklch(0.1925 0.0368 156.70);\n --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-primary-300); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-primary-200); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; +export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"lxStudio\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"lxStudio\"] {\n --color-white: oklch(1.0000 0.0000 0.00);\n --color-black: oklch(0.0000 0.0000 0.00);\n --color-palette-neutral-light-100: oklch(0.9876 0.0017 247.84);\n --color-palette-neutral-light-200: oklch(0.9364 0.0025 247.80);\n --color-palette-neutral-light-300: oklch(0.8497 0.0086 247.80);\n --color-palette-neutral-light-400: oklch(0.7628 0.0178 247.80);\n --color-palette-neutral-light-500: oklch(0.6707 0.0316 247.80);\n --color-palette-neutral-light-600: oklch(0.5835 0.0312 247.80);\n --color-palette-neutral-light-700: oklch(0.4972 0.0253 247.80);\n --color-palette-neutral-light-800: oklch(0.4115 0.0198 247.80);\n --color-palette-neutral-light-900: oklch(0.3346 0.0157 247.80);\n --color-palette-neutral-light-1000: oklch(0.2499 0.0112 247.80);\n --color-palette-neutral-light-1100: oklch(0.1925 0.0082 247.80);\n --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --color-palette-primary-100: oklch(0.9862 0.0064 262.40);\n --color-palette-primary-200: oklch(0.9364 0.0121 262.40);\n --color-palette-primary-300: oklch(0.8497 0.0407 262.40);\n --color-palette-primary-400: oklch(0.7628 0.0846 262.40);\n --color-palette-primary-500: oklch(0.6707 0.1531 262.40);\n --color-palette-primary-600: oklch(0.5835 0.2274 262.40);\n --color-palette-primary-700: oklch(0.4972 0.2254 262.40);\n --color-palette-primary-800: oklch(0.4115 0.1767 262.40);\n --color-palette-primary-900: oklch(0.3346 0.1405 262.40);\n --color-palette-primary-1000: oklch(0.2499 0.1001 262.40);\n --color-palette-primary-1100: oklch(0.1925 0.0734 262.40);\n --color-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06);\n --color-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09);\n --color-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08);\n --color-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --color-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --color-palette-accent-300: oklch(0.8497 0.0957 93.60);\n --color-palette-accent-400: oklch(0.7628 0.1094 93.60);\n --color-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --color-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --color-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --color-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --color-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --color-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --color-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --color-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --color-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --color-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --color-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --color-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --color-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --color-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --color-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --color-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --color-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --color-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --color-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --color-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --color-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --color-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --color-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --color-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --color-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --color-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --color-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --color-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --color-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --color-palette-success-100: oklch(0.9862 0.0204 156.70);\n --color-palette-success-200: oklch(0.9364 0.0405 156.70);\n --color-palette-success-300: oklch(0.8497 0.1118 156.70);\n --color-palette-success-400: oklch(0.7628 0.1278 156.70);\n --color-palette-success-500: oklch(0.6707 0.1413 156.70);\n --color-palette-success-600: oklch(0.5835 0.1396 156.70);\n --color-palette-success-700: oklch(0.4972 0.1130 156.70);\n --color-palette-success-800: oklch(0.4115 0.0886 156.70);\n --color-palette-success-900: oklch(0.3346 0.0704 156.70);\n --color-palette-success-1000: oklch(0.2499 0.0502 156.70);\n --color-palette-success-1100: oklch(0.1925 0.0368 156.70);\n --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-900); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-300); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-primary-300); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-primary-200); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; diff --git a/packages/gamut-styles/src/tokens/generated/originalCodecademy/dark.tokens.json b/packages/gamut-styles/src/tokens/generated/originalCodecademy/dark.tokens.json index 835559c4d8..63d48ae42a 100644 --- a/packages/gamut-styles/src/tokens/generated/originalCodecademy/dark.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/originalCodecademy/dark.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.3346 0.1696 287.1 / 0.45) 0%, oklch(0.3346 0.1696 287.1 / 0.43) 16%, oklch(0.3346 0.1696 287.1 / 0.24) 36%, oklch(0.3346 0.1696 287.1 / 0.11) 56%, oklch(0.3346 0.1696 287.1 / 0.04) 76%, oklch(0.3346 0.1696 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.3346 0.1863 274.1 / 0.45) 0%, oklch(0.3346 0.1863 274.1 / 0.43) 16%, oklch(0.3346 0.1863 274.1 / 0.24) 36%, oklch(0.3346 0.1863 274.1 / 0.11) 56%, oklch(0.3346 0.1863 274.1 / 0.04) 76%, oklch(0.3346 0.1863 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.3346 0.1863 274.1 / 0.45) 0%, oklch(0.3346 0.1863 274.1 / 0.43) 16%, oklch(0.3346 0.1863 274.1 / 0.24) 36%, oklch(0.3346 0.1863 274.1 / 0.11) 56%, oklch(0.3346 0.1863 274.1 / 0.04) 76%, oklch(0.3346 0.1863 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/originalCodecademy/light.tokens.json b/packages/gamut-styles/src/tokens/generated/originalCodecademy/light.tokens.json index 633dd1435d..004073019f 100644 --- a/packages/gamut-styles/src/tokens/generated/originalCodecademy/light.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/originalCodecademy/light.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.8497 0.043 287.1 / 0.45) 0%, oklch(0.8497 0.043 287.1 / 0.43) 16%, oklch(0.8497 0.043 287.1 / 0.24) 36%, oklch(0.8497 0.043 287.1 / 0.11) 56%, oklch(0.8497 0.043 287.1 / 0.04) 76%, oklch(0.8497 0.043 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.8497 0.0408 274.1 / 0.45) 0%, oklch(0.8497 0.0408 274.1 / 0.43) 16%, oklch(0.8497 0.0408 274.1 / 0.24) 36%, oklch(0.8497 0.0408 274.1 / 0.11) 56%, oklch(0.8497 0.0408 274.1 / 0.04) 76%, oklch(0.8497 0.0408 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.8497 0.0408 274.1 / 0.45) 0%, oklch(0.8497 0.0408 274.1 / 0.43) 16%, oklch(0.8497 0.0408 274.1 / 0.24) 36%, oklch(0.8497 0.0408 274.1 / 0.11) 56%, oklch(0.8497 0.0408 274.1 / 0.04) 76%, oklch(0.8497 0.0408 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/originalCodecademy/tokens.css b/packages/gamut-styles/src/tokens/generated/originalCodecademy/tokens.css index 852792e606..4785e3e52b 100644 --- a/packages/gamut-styles/src/tokens/generated/originalCodecademy/tokens.css +++ b/packages/gamut-styles/src/tokens/generated/originalCodecademy/tokens.css @@ -3,211 +3,211 @@ @layer tokens { :root, [data-brand="originalCodecademy"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9862 0.0016 58.80); - --colors-palette-neutral-light-200: oklch(0.9364 0.0031 58.80); - --colors-palette-neutral-light-300: oklch(0.8497 0.0109 58.80); - --colors-palette-neutral-light-400: oklch(0.7628 0.0237 58.80); - --colors-palette-neutral-light-500: oklch(0.6707 0.0280 58.80); - --colors-palette-neutral-light-600: oklch(0.5835 0.0277 58.80); - --colors-palette-neutral-light-700: oklch(0.4972 0.0224 58.80); - --colors-palette-neutral-light-800: oklch(0.4115 0.0175 58.80); - --colors-palette-neutral-light-900: oklch(0.3346 0.0139 58.80); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); - --colors-palette-neutral-dark-1100-a0: oklch(0.1925 0.0199 271.30 / 0); - --colors-palette-primary-100: oklch(0.9862 0.0064 274.10); - --colors-palette-primary-200: oklch(0.9364 0.0121 274.10); - --colors-palette-primary-300: oklch(0.8497 0.0408 274.10); - --colors-palette-primary-400: oklch(0.7628 0.0849 274.10); - --colors-palette-primary-500: oklch(0.6707 0.1537 274.10); - --colors-palette-primary-600: oklch(0.5835 0.2285 274.10); - --colors-palette-primary-700: oklch(0.4972 0.2707 274.10); - --colors-palette-primary-800: oklch(0.4115 0.2344 274.10); - --colors-palette-primary-900: oklch(0.3346 0.1863 274.10); - --colors-palette-primary-1000: oklch(0.2499 0.1328 274.10); - --colors-palette-primary-1100: oklch(0.1925 0.0974 274.10); - --colors-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0205 93.60); - --colors-palette-accent-200: oklch(0.9364 0.0378 93.60); - --colors-palette-accent-300: oklch(0.8789 0.1801 93.58); - --colors-palette-accent-400: oklch(0.7442 0.1526 93.94); - --colors-palette-accent-500: oklch(0.6707 0.1209 93.60); - --colors-palette-accent-600: oklch(0.5835 0.1195 93.60); - --colors-palette-accent-700: oklch(0.4972 0.0967 93.60); - --colors-palette-accent-800: oklch(0.4115 0.0758 93.60); - --colors-palette-accent-900: oklch(0.3346 0.0603 93.60); - --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60); - --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 29.40); - --colors-palette-danger-200: oklch(0.9364 0.0128 29.40); - --colors-palette-danger-300: oklch(0.8497 0.0452 29.40); - --colors-palette-danger-400: oklch(0.7628 0.0990 29.40); - --colors-palette-danger-500: oklch(0.6707 0.1910 29.40); - --colors-palette-danger-600: oklch(0.5835 0.2382 29.40); - --colors-palette-danger-700: oklch(0.4972 0.1928 29.40); - --colors-palette-danger-800: oklch(0.4115 0.1512 29.40); - --colors-palette-danger-900: oklch(0.3346 0.1202 29.40); - --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40); - --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40); - --colors-palette-warning-100: oklch(0.9862 0.0082 58.30); - --colors-palette-warning-200: oklch(0.9364 0.0156 58.30); - --colors-palette-warning-300: oklch(0.8497 0.0545 58.30); - --colors-palette-warning-400: oklch(0.7628 0.1179 58.30); - --colors-palette-warning-500: oklch(0.6707 0.1408 58.30); - --colors-palette-warning-600: oklch(0.5835 0.1392 58.30); - --colors-palette-warning-700: oklch(0.4972 0.1127 58.30); - --colors-palette-warning-800: oklch(0.4115 0.0883 58.30); - --colors-palette-warning-900: oklch(0.3346 0.0702 58.30); - --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30); - --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30); - --colors-palette-success-100: oklch(0.9862 0.0228 145.50); - --colors-palette-success-200: oklch(0.9364 0.0458 145.50); - --colors-palette-success-300: oklch(0.8497 0.1448 145.50); - --colors-palette-success-400: oklch(0.7628 0.1654 145.50); - --colors-palette-success-500: oklch(0.6707 0.1829 145.50); - --colors-palette-success-600: oklch(0.5835 0.1808 145.50); - --colors-palette-success-700: oklch(0.4972 0.1464 145.50); - --colors-palette-success-800: oklch(0.4115 0.1147 145.50); - --colors-palette-success-900: oklch(0.3346 0.0912 145.50); - --colors-palette-success-1000: oklch(0.2499 0.0650 145.50); - --colors-palette-success-1100: oklch(0.1925 0.0477 145.50); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); - --colors-black-a0: oklch(0.0000 0.0000 0.00 / 0); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9862 0.0016 58.80); + --color-palette-neutral-light-200: oklch(0.9364 0.0031 58.80); + --color-palette-neutral-light-300: oklch(0.8497 0.0109 58.80); + --color-palette-neutral-light-400: oklch(0.7628 0.0237 58.80); + --color-palette-neutral-light-500: oklch(0.6707 0.0280 58.80); + --color-palette-neutral-light-600: oklch(0.5835 0.0277 58.80); + --color-palette-neutral-light-700: oklch(0.4972 0.0224 58.80); + --color-palette-neutral-light-800: oklch(0.4115 0.0175 58.80); + --color-palette-neutral-light-900: oklch(0.3346 0.0139 58.80); + --color-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80); + --color-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); + --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); + --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); + --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); + --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); + --color-palette-neutral-dark-1100-a0: oklch(0.1925 0.0199 271.30 / 0); + --color-palette-primary-100: oklch(0.9862 0.0064 274.10); + --color-palette-primary-200: oklch(0.9364 0.0121 274.10); + --color-palette-primary-300: oklch(0.8497 0.0408 274.10); + --color-palette-primary-400: oklch(0.7628 0.0849 274.10); + --color-palette-primary-500: oklch(0.6707 0.1537 274.10); + --color-palette-primary-600: oklch(0.5835 0.2285 274.10); + --color-palette-primary-700: oklch(0.4972 0.2707 274.10); + --color-palette-primary-800: oklch(0.4115 0.2344 274.10); + --color-palette-primary-900: oklch(0.3346 0.1863 274.10); + --color-palette-primary-1000: oklch(0.2499 0.1328 274.10); + --color-palette-primary-1100: oklch(0.1925 0.0974 274.10); + --color-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0205 93.60); + --color-palette-accent-200: oklch(0.9364 0.0378 93.60); + --color-palette-accent-300: oklch(0.8789 0.1801 93.58); + --color-palette-accent-400: oklch(0.7442 0.1526 93.94); + --color-palette-accent-500: oklch(0.6707 0.1209 93.60); + --color-palette-accent-600: oklch(0.5835 0.1195 93.60); + --color-palette-accent-700: oklch(0.4972 0.0967 93.60); + --color-palette-accent-800: oklch(0.4115 0.0758 93.60); + --color-palette-accent-900: oklch(0.3346 0.0603 93.60); + --color-palette-accent-1000: oklch(0.2499 0.0430 93.60); + --color-palette-accent-1100: oklch(0.1925 0.0315 93.60); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 29.40); + --color-palette-danger-200: oklch(0.9364 0.0128 29.40); + --color-palette-danger-300: oklch(0.8497 0.0452 29.40); + --color-palette-danger-400: oklch(0.7628 0.0990 29.40); + --color-palette-danger-500: oklch(0.6707 0.1910 29.40); + --color-palette-danger-600: oklch(0.5835 0.2382 29.40); + --color-palette-danger-700: oklch(0.4972 0.1928 29.40); + --color-palette-danger-800: oklch(0.4115 0.1512 29.40); + --color-palette-danger-900: oklch(0.3346 0.1202 29.40); + --color-palette-danger-1000: oklch(0.2499 0.0857 29.40); + --color-palette-danger-1100: oklch(0.1925 0.0628 29.40); + --color-palette-warning-100: oklch(0.9862 0.0082 58.30); + --color-palette-warning-200: oklch(0.9364 0.0156 58.30); + --color-palette-warning-300: oklch(0.8497 0.0545 58.30); + --color-palette-warning-400: oklch(0.7628 0.1179 58.30); + --color-palette-warning-500: oklch(0.6707 0.1408 58.30); + --color-palette-warning-600: oklch(0.5835 0.1392 58.30); + --color-palette-warning-700: oklch(0.4972 0.1127 58.30); + --color-palette-warning-800: oklch(0.4115 0.0883 58.30); + --color-palette-warning-900: oklch(0.3346 0.0702 58.30); + --color-palette-warning-1000: oklch(0.2499 0.0500 58.30); + --color-palette-warning-1100: oklch(0.1925 0.0367 58.30); + --color-palette-success-100: oklch(0.9862 0.0228 145.50); + --color-palette-success-200: oklch(0.9364 0.0458 145.50); + --color-palette-success-300: oklch(0.8497 0.1448 145.50); + --color-palette-success-400: oklch(0.7628 0.1654 145.50); + --color-palette-success-500: oklch(0.6707 0.1829 145.50); + --color-palette-success-600: oklch(0.5835 0.1808 145.50); + --color-palette-success-700: oklch(0.4972 0.1464 145.50); + --color-palette-success-800: oklch(0.4115 0.1147 145.50); + --color-palette-success-900: oklch(0.3346 0.0912 145.50); + --color-palette-success-1000: oklch(0.2499 0.0650 145.50); + --color-palette-success-1100: oklch(0.1925 0.0477 145.50); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-black-a0: oklch(0.0000 0.0000 0.00 / 0); } :root, [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } } diff --git a/packages/gamut-styles/src/tokens/generated/originalCodecademy/values.ts b/packages/gamut-styles/src/tokens/generated/originalCodecademy/values.ts index 1360810874..1941a4b36e 100644 --- a/packages/gamut-styles/src/tokens/generated/originalCodecademy/values.ts +++ b/packages/gamut-styles/src/tokens/generated/originalCodecademy/values.ts @@ -1062,4 +1062,4 @@ export const contentModes = { } as const; /* This brand's tokens.css, for GamutProvider to inject. */ -export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"originalCodecademy\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"originalCodecademy\"] {\n --colors-white: oklch(1.0000 0.0000 0.00);\n --colors-black: oklch(0.0000 0.0000 0.00);\n --colors-palette-neutral-light-100: oklch(0.9862 0.0016 58.80);\n --colors-palette-neutral-light-200: oklch(0.9364 0.0031 58.80);\n --colors-palette-neutral-light-300: oklch(0.8497 0.0109 58.80);\n --colors-palette-neutral-light-400: oklch(0.7628 0.0237 58.80);\n --colors-palette-neutral-light-500: oklch(0.6707 0.0280 58.80);\n --colors-palette-neutral-light-600: oklch(0.5835 0.0277 58.80);\n --colors-palette-neutral-light-700: oklch(0.4972 0.0224 58.80);\n --colors-palette-neutral-light-800: oklch(0.4115 0.0175 58.80);\n --colors-palette-neutral-light-900: oklch(0.3346 0.0139 58.80);\n --colors-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80);\n --colors-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80);\n --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --colors-palette-neutral-dark-1100-a0: oklch(0.1925 0.0199 271.30 / 0);\n --colors-palette-primary-100: oklch(0.9862 0.0064 274.10);\n --colors-palette-primary-200: oklch(0.9364 0.0121 274.10);\n --colors-palette-primary-300: oklch(0.8497 0.0408 274.10);\n --colors-palette-primary-400: oklch(0.7628 0.0849 274.10);\n --colors-palette-primary-500: oklch(0.6707 0.1537 274.10);\n --colors-palette-primary-600: oklch(0.5835 0.2285 274.10);\n --colors-palette-primary-700: oklch(0.4972 0.2707 274.10);\n --colors-palette-primary-800: oklch(0.4115 0.2344 274.10);\n --colors-palette-primary-900: oklch(0.3346 0.1863 274.10);\n --colors-palette-primary-1000: oklch(0.2499 0.1328 274.10);\n --colors-palette-primary-1100: oklch(0.1925 0.0974 274.10);\n --colors-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06);\n --colors-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09);\n --colors-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08);\n --colors-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --colors-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --colors-palette-accent-300: oklch(0.8789 0.1801 93.58);\n --colors-palette-accent-400: oklch(0.7442 0.1526 93.94);\n --colors-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --colors-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --colors-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --colors-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --colors-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --colors-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --colors-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --colors-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --colors-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --colors-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --colors-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --colors-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --colors-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --colors-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --colors-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --colors-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --colors-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --colors-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --colors-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --colors-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --colors-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --colors-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --colors-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --colors-palette-success-100: oklch(0.9862 0.0228 145.50);\n --colors-palette-success-200: oklch(0.9364 0.0458 145.50);\n --colors-palette-success-300: oklch(0.8497 0.1448 145.50);\n --colors-palette-success-400: oklch(0.7628 0.1654 145.50);\n --colors-palette-success-500: oklch(0.6707 0.1829 145.50);\n --colors-palette-success-600: oklch(0.5835 0.1808 145.50);\n --colors-palette-success-700: oklch(0.4972 0.1464 145.50);\n --colors-palette-success-800: oklch(0.4115 0.1147 145.50);\n --colors-palette-success-900: oklch(0.3346 0.0912 145.50);\n --colors-palette-success-1000: oklch(0.2499 0.0650 145.50);\n --colors-palette-success-1100: oklch(0.1925 0.0477 145.50);\n --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n --colors-black-a0: oklch(0.0000 0.0000 0.00 / 0);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-black-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; +export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"originalCodecademy\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"originalCodecademy\"] {\n --color-white: oklch(1.0000 0.0000 0.00);\n --color-black: oklch(0.0000 0.0000 0.00);\n --color-palette-neutral-light-100: oklch(0.9862 0.0016 58.80);\n --color-palette-neutral-light-200: oklch(0.9364 0.0031 58.80);\n --color-palette-neutral-light-300: oklch(0.8497 0.0109 58.80);\n --color-palette-neutral-light-400: oklch(0.7628 0.0237 58.80);\n --color-palette-neutral-light-500: oklch(0.6707 0.0280 58.80);\n --color-palette-neutral-light-600: oklch(0.5835 0.0277 58.80);\n --color-palette-neutral-light-700: oklch(0.4972 0.0224 58.80);\n --color-palette-neutral-light-800: oklch(0.4115 0.0175 58.80);\n --color-palette-neutral-light-900: oklch(0.3346 0.0139 58.80);\n --color-palette-neutral-light-1000: oklch(0.2499 0.0099 58.80);\n --color-palette-neutral-light-1100: oklch(0.1925 0.0073 58.80);\n --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --color-palette-neutral-dark-1100-a0: oklch(0.1925 0.0199 271.30 / 0);\n --color-palette-primary-100: oklch(0.9862 0.0064 274.10);\n --color-palette-primary-200: oklch(0.9364 0.0121 274.10);\n --color-palette-primary-300: oklch(0.8497 0.0408 274.10);\n --color-palette-primary-400: oklch(0.7628 0.0849 274.10);\n --color-palette-primary-500: oklch(0.6707 0.1537 274.10);\n --color-palette-primary-600: oklch(0.5835 0.2285 274.10);\n --color-palette-primary-700: oklch(0.4972 0.2707 274.10);\n --color-palette-primary-800: oklch(0.4115 0.2344 274.10);\n --color-palette-primary-900: oklch(0.3346 0.1863 274.10);\n --color-palette-primary-1000: oklch(0.2499 0.1328 274.10);\n --color-palette-primary-1100: oklch(0.1925 0.0974 274.10);\n --color-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06);\n --color-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09);\n --color-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08);\n --color-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --color-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --color-palette-accent-300: oklch(0.8789 0.1801 93.58);\n --color-palette-accent-400: oklch(0.7442 0.1526 93.94);\n --color-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --color-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --color-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --color-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --color-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --color-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --color-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --color-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --color-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --color-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --color-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --color-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --color-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --color-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --color-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --color-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --color-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --color-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --color-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --color-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --color-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --color-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --color-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --color-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --color-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --color-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --color-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --color-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --color-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --color-palette-success-100: oklch(0.9862 0.0228 145.50);\n --color-palette-success-200: oklch(0.9364 0.0458 145.50);\n --color-palette-success-300: oklch(0.8497 0.1448 145.50);\n --color-palette-success-400: oklch(0.7628 0.1654 145.50);\n --color-palette-success-500: oklch(0.6707 0.1829 145.50);\n --color-palette-success-600: oklch(0.5835 0.1808 145.50);\n --color-palette-success-700: oklch(0.4972 0.1464 145.50);\n --color-palette-success-800: oklch(0.4115 0.1147 145.50);\n --color-palette-success-900: oklch(0.3346 0.0912 145.50);\n --color-palette-success-1000: oklch(0.2499 0.0650 145.50);\n --color-palette-success-1100: oklch(0.1925 0.0477 145.50);\n --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n --color-black-a0: oklch(0.0000 0.0000 0.00 / 0);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-900); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-300); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-black-a0); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; diff --git a/packages/gamut-styles/src/tokens/generated/platform/dark.tokens.json b/packages/gamut-styles/src/tokens/generated/platform/dark.tokens.json index 88ca95a096..849ec9d72c 100644 --- a/packages/gamut-styles/src/tokens/generated/platform/dark.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/platform/dark.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.3346 0.1696 287.1 / 0.45) 0%, oklch(0.3346 0.1696 287.1 / 0.43) 16%, oklch(0.3346 0.1696 287.1 / 0.24) 36%, oklch(0.3346 0.1696 287.1 / 0.11) 56%, oklch(0.3346 0.1696 287.1 / 0.04) 76%, oklch(0.3346 0.1696 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.3346 0.1863 274.1 / 0.45) 0%, oklch(0.3346 0.1863 274.1 / 0.43) 16%, oklch(0.3346 0.1863 274.1 / 0.24) 36%, oklch(0.3346 0.1863 274.1 / 0.11) 56%, oklch(0.3346 0.1863 274.1 / 0.04) 76%, oklch(0.3346 0.1863 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.3346 0.1863 274.1 / 0.45) 0%, oklch(0.3346 0.1863 274.1 / 0.43) 16%, oklch(0.3346 0.1863 274.1 / 0.24) 36%, oklch(0.3346 0.1863 274.1 / 0.11) 56%, oklch(0.3346 0.1863 274.1 / 0.04) 76%, oklch(0.3346 0.1863 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/platform/light.tokens.json b/packages/gamut-styles/src/tokens/generated/platform/light.tokens.json index 52aef19ba4..785502d77b 100644 --- a/packages/gamut-styles/src/tokens/generated/platform/light.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/platform/light.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.8497 0.043 287.1 / 0.45) 0%, oklch(0.8497 0.043 287.1 / 0.43) 16%, oklch(0.8497 0.043 287.1 / 0.24) 36%, oklch(0.8497 0.043 287.1 / 0.11) 56%, oklch(0.8497 0.043 287.1 / 0.04) 76%, oklch(0.8497 0.043 287.1 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.8497 0.0408 274.1 / 0.45) 0%, oklch(0.8497 0.0408 274.1 / 0.43) 16%, oklch(0.8497 0.0408 274.1 / 0.24) 36%, oklch(0.8497 0.0408 274.1 / 0.11) 56%, oklch(0.8497 0.0408 274.1 / 0.04) 76%, oklch(0.8497 0.0408 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.8497 0.0408 274.1 / 0.45) 0%, oklch(0.8497 0.0408 274.1 / 0.43) 16%, oklch(0.8497 0.0408 274.1 / 0.24) 36%, oklch(0.8497 0.0408 274.1 / 0.11) 56%, oklch(0.8497 0.0408 274.1 / 0.04) 76%, oklch(0.8497 0.0408 274.1 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/platform/tokens.css b/packages/gamut-styles/src/tokens/generated/platform/tokens.css index 2fe70dc346..012f9f5aa8 100644 --- a/packages/gamut-styles/src/tokens/generated/platform/tokens.css +++ b/packages/gamut-styles/src/tokens/generated/platform/tokens.css @@ -3,209 +3,209 @@ @layer tokens { :root, [data-brand="platform"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9867 0.0084 225.08); - --colors-palette-neutral-light-200: oklch(0.9364 0.0032 225.10); - --colors-palette-neutral-light-300: oklch(0.8497 0.0109 225.10); - --colors-palette-neutral-light-400: oklch(0.7628 0.0202 225.10); - --colors-palette-neutral-light-500: oklch(0.6707 0.0223 225.10); - --colors-palette-neutral-light-600: oklch(0.5835 0.0221 225.10); - --colors-palette-neutral-light-700: oklch(0.4972 0.0179 225.10); - --colors-palette-neutral-light-800: oklch(0.4115 0.0140 225.10); - --colors-palette-neutral-light-900: oklch(0.3346 0.0111 225.10); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0079 225.10); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0058 225.10); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); - --colors-palette-primary-100: oklch(0.9862 0.0064 274.10); - --colors-palette-primary-200: oklch(0.9364 0.0121 274.10); - --colors-palette-primary-300: oklch(0.8497 0.0408 274.10); - --colors-palette-primary-400: oklch(0.7628 0.0849 274.10); - --colors-palette-primary-500: oklch(0.6707 0.1537 274.10); - --colors-palette-primary-600: oklch(0.5835 0.2285 274.10); - --colors-palette-primary-700: oklch(0.4972 0.2707 274.10); - --colors-palette-primary-800: oklch(0.4115 0.2344 274.10); - --colors-palette-primary-900: oklch(0.3346 0.1863 274.10); - --colors-palette-primary-1000: oklch(0.2499 0.1328 274.10); - --colors-palette-primary-1100: oklch(0.1925 0.0974 274.10); - --colors-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0205 93.60); - --colors-palette-accent-200: oklch(0.9364 0.0378 93.60); - --colors-palette-accent-300: oklch(0.8789 0.1801 93.58); - --colors-palette-accent-400: oklch(0.7442 0.1526 93.94); - --colors-palette-accent-500: oklch(0.6707 0.1209 93.60); - --colors-palette-accent-600: oklch(0.5835 0.1195 93.60); - --colors-palette-accent-700: oklch(0.4972 0.0967 93.60); - --colors-palette-accent-800: oklch(0.4115 0.0758 93.60); - --colors-palette-accent-900: oklch(0.3346 0.0603 93.60); - --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60); - --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 29.40); - --colors-palette-danger-200: oklch(0.9364 0.0128 29.40); - --colors-palette-danger-300: oklch(0.8497 0.0452 29.40); - --colors-palette-danger-400: oklch(0.7628 0.0990 29.40); - --colors-palette-danger-500: oklch(0.6707 0.1910 29.40); - --colors-palette-danger-600: oklch(0.5835 0.2382 29.40); - --colors-palette-danger-700: oklch(0.4972 0.1928 29.40); - --colors-palette-danger-800: oklch(0.4115 0.1512 29.40); - --colors-palette-danger-900: oklch(0.3346 0.1202 29.40); - --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40); - --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40); - --colors-palette-warning-100: oklch(0.9862 0.0082 58.30); - --colors-palette-warning-200: oklch(0.9364 0.0156 58.30); - --colors-palette-warning-300: oklch(0.8497 0.0545 58.30); - --colors-palette-warning-400: oklch(0.7628 0.1179 58.30); - --colors-palette-warning-500: oklch(0.6707 0.1408 58.30); - --colors-palette-warning-600: oklch(0.5835 0.1392 58.30); - --colors-palette-warning-700: oklch(0.4972 0.1127 58.30); - --colors-palette-warning-800: oklch(0.4115 0.0883 58.30); - --colors-palette-warning-900: oklch(0.3346 0.0702 58.30); - --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30); - --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30); - --colors-palette-success-100: oklch(0.9862 0.0228 145.50); - --colors-palette-success-200: oklch(0.9364 0.0458 145.50); - --colors-palette-success-300: oklch(0.8497 0.1448 145.50); - --colors-palette-success-400: oklch(0.7628 0.1654 145.50); - --colors-palette-success-500: oklch(0.6707 0.1829 145.50); - --colors-palette-success-600: oklch(0.5835 0.1808 145.50); - --colors-palette-success-700: oklch(0.4972 0.1464 145.50); - --colors-palette-success-800: oklch(0.4115 0.1147 145.50); - --colors-palette-success-900: oklch(0.3346 0.0912 145.50); - --colors-palette-success-1000: oklch(0.2499 0.0650 145.50); - --colors-palette-success-1100: oklch(0.1925 0.0477 145.50); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9867 0.0084 225.08); + --color-palette-neutral-light-200: oklch(0.9364 0.0032 225.10); + --color-palette-neutral-light-300: oklch(0.8497 0.0109 225.10); + --color-palette-neutral-light-400: oklch(0.7628 0.0202 225.10); + --color-palette-neutral-light-500: oklch(0.6707 0.0223 225.10); + --color-palette-neutral-light-600: oklch(0.5835 0.0221 225.10); + --color-palette-neutral-light-700: oklch(0.4972 0.0179 225.10); + --color-palette-neutral-light-800: oklch(0.4115 0.0140 225.10); + --color-palette-neutral-light-900: oklch(0.3346 0.0111 225.10); + --color-palette-neutral-light-1000: oklch(0.2499 0.0079 225.10); + --color-palette-neutral-light-1100: oklch(0.1925 0.0058 225.10); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30); + --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30); + --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30); + --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30); + --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12); + --color-palette-primary-100: oklch(0.9862 0.0064 274.10); + --color-palette-primary-200: oklch(0.9364 0.0121 274.10); + --color-palette-primary-300: oklch(0.8497 0.0408 274.10); + --color-palette-primary-400: oklch(0.7628 0.0849 274.10); + --color-palette-primary-500: oklch(0.6707 0.1537 274.10); + --color-palette-primary-600: oklch(0.5835 0.2285 274.10); + --color-palette-primary-700: oklch(0.4972 0.2707 274.10); + --color-palette-primary-800: oklch(0.4115 0.2344 274.10); + --color-palette-primary-900: oklch(0.3346 0.1863 274.10); + --color-palette-primary-1000: oklch(0.2499 0.1328 274.10); + --color-palette-primary-1100: oklch(0.1925 0.0974 274.10); + --color-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0205 93.60); + --color-palette-accent-200: oklch(0.9364 0.0378 93.60); + --color-palette-accent-300: oklch(0.8789 0.1801 93.58); + --color-palette-accent-400: oklch(0.7442 0.1526 93.94); + --color-palette-accent-500: oklch(0.6707 0.1209 93.60); + --color-palette-accent-600: oklch(0.5835 0.1195 93.60); + --color-palette-accent-700: oklch(0.4972 0.0967 93.60); + --color-palette-accent-800: oklch(0.4115 0.0758 93.60); + --color-palette-accent-900: oklch(0.3346 0.0603 93.60); + --color-palette-accent-1000: oklch(0.2499 0.0430 93.60); + --color-palette-accent-1100: oklch(0.1925 0.0315 93.60); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 29.40); + --color-palette-danger-200: oklch(0.9364 0.0128 29.40); + --color-palette-danger-300: oklch(0.8497 0.0452 29.40); + --color-palette-danger-400: oklch(0.7628 0.0990 29.40); + --color-palette-danger-500: oklch(0.6707 0.1910 29.40); + --color-palette-danger-600: oklch(0.5835 0.2382 29.40); + --color-palette-danger-700: oklch(0.4972 0.1928 29.40); + --color-palette-danger-800: oklch(0.4115 0.1512 29.40); + --color-palette-danger-900: oklch(0.3346 0.1202 29.40); + --color-palette-danger-1000: oklch(0.2499 0.0857 29.40); + --color-palette-danger-1100: oklch(0.1925 0.0628 29.40); + --color-palette-warning-100: oklch(0.9862 0.0082 58.30); + --color-palette-warning-200: oklch(0.9364 0.0156 58.30); + --color-palette-warning-300: oklch(0.8497 0.0545 58.30); + --color-palette-warning-400: oklch(0.7628 0.1179 58.30); + --color-palette-warning-500: oklch(0.6707 0.1408 58.30); + --color-palette-warning-600: oklch(0.5835 0.1392 58.30); + --color-palette-warning-700: oklch(0.4972 0.1127 58.30); + --color-palette-warning-800: oklch(0.4115 0.0883 58.30); + --color-palette-warning-900: oklch(0.3346 0.0702 58.30); + --color-palette-warning-1000: oklch(0.2499 0.0500 58.30); + --color-palette-warning-1100: oklch(0.1925 0.0367 58.30); + --color-palette-success-100: oklch(0.9862 0.0228 145.50); + --color-palette-success-200: oklch(0.9364 0.0458 145.50); + --color-palette-success-300: oklch(0.8497 0.1448 145.50); + --color-palette-success-400: oklch(0.7628 0.1654 145.50); + --color-palette-success-500: oklch(0.6707 0.1829 145.50); + --color-palette-success-600: oklch(0.5835 0.1808 145.50); + --color-palette-success-700: oklch(0.4972 0.1464 145.50); + --color-palette-success-800: oklch(0.4115 0.1147 145.50); + --color-palette-success-900: oklch(0.3346 0.0912 145.50); + --color-palette-success-1000: oklch(0.2499 0.0650 145.50); + --color-palette-success-1100: oklch(0.1925 0.0477 145.50); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); } :root, [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } } diff --git a/packages/gamut-styles/src/tokens/generated/platform/values.ts b/packages/gamut-styles/src/tokens/generated/platform/values.ts index 262cd844de..2760de5631 100644 --- a/packages/gamut-styles/src/tokens/generated/platform/values.ts +++ b/packages/gamut-styles/src/tokens/generated/platform/values.ts @@ -1042,4 +1042,4 @@ export const contentModes = { } as const; /* This brand's tokens.css, for GamutProvider to inject. */ -export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"platform\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"platform\"] {\n --colors-white: oklch(1.0000 0.0000 0.00);\n --colors-black: oklch(0.0000 0.0000 0.00);\n --colors-palette-neutral-light-100: oklch(0.9867 0.0084 225.08);\n --colors-palette-neutral-light-200: oklch(0.9364 0.0032 225.10);\n --colors-palette-neutral-light-300: oklch(0.8497 0.0109 225.10);\n --colors-palette-neutral-light-400: oklch(0.7628 0.0202 225.10);\n --colors-palette-neutral-light-500: oklch(0.6707 0.0223 225.10);\n --colors-palette-neutral-light-600: oklch(0.5835 0.0221 225.10);\n --colors-palette-neutral-light-700: oklch(0.4972 0.0179 225.10);\n --colors-palette-neutral-light-800: oklch(0.4115 0.0140 225.10);\n --colors-palette-neutral-light-900: oklch(0.3346 0.0111 225.10);\n --colors-palette-neutral-light-1000: oklch(0.2499 0.0079 225.10);\n --colors-palette-neutral-light-1100: oklch(0.1925 0.0058 225.10);\n --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --colors-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --colors-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --colors-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --colors-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --colors-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --colors-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --colors-palette-primary-100: oklch(0.9862 0.0064 274.10);\n --colors-palette-primary-200: oklch(0.9364 0.0121 274.10);\n --colors-palette-primary-300: oklch(0.8497 0.0408 274.10);\n --colors-palette-primary-400: oklch(0.7628 0.0849 274.10);\n --colors-palette-primary-500: oklch(0.6707 0.1537 274.10);\n --colors-palette-primary-600: oklch(0.5835 0.2285 274.10);\n --colors-palette-primary-700: oklch(0.4972 0.2707 274.10);\n --colors-palette-primary-800: oklch(0.4115 0.2344 274.10);\n --colors-palette-primary-900: oklch(0.3346 0.1863 274.10);\n --colors-palette-primary-1000: oklch(0.2499 0.1328 274.10);\n --colors-palette-primary-1100: oklch(0.1925 0.0974 274.10);\n --colors-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06);\n --colors-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09);\n --colors-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08);\n --colors-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --colors-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --colors-palette-accent-300: oklch(0.8789 0.1801 93.58);\n --colors-palette-accent-400: oklch(0.7442 0.1526 93.94);\n --colors-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --colors-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --colors-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --colors-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --colors-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --colors-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --colors-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --colors-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --colors-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --colors-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --colors-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --colors-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --colors-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --colors-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --colors-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --colors-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --colors-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --colors-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --colors-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --colors-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --colors-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --colors-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --colors-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --colors-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --colors-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --colors-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --colors-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --colors-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --colors-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --colors-palette-success-100: oklch(0.9862 0.0228 145.50);\n --colors-palette-success-200: oklch(0.9364 0.0458 145.50);\n --colors-palette-success-300: oklch(0.8497 0.1448 145.50);\n --colors-palette-success-400: oklch(0.7628 0.1654 145.50);\n --colors-palette-success-500: oklch(0.6707 0.1829 145.50);\n --colors-palette-success-600: oklch(0.5835 0.1808 145.50);\n --colors-palette-success-700: oklch(0.4972 0.1464 145.50);\n --colors-palette-success-800: oklch(0.4115 0.1147 145.50);\n --colors-palette-success-900: oklch(0.3346 0.0912 145.50);\n --colors-palette-success-1000: oklch(0.2499 0.0650 145.50);\n --colors-palette-success-1100: oklch(0.1925 0.0477 145.50);\n --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-accent-400); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-accent-500); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n }\n}\n"; +export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"platform\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"platform\"] {\n --color-white: oklch(1.0000 0.0000 0.00);\n --color-black: oklch(0.0000 0.0000 0.00);\n --color-palette-neutral-light-100: oklch(0.9867 0.0084 225.08);\n --color-palette-neutral-light-200: oklch(0.9364 0.0032 225.10);\n --color-palette-neutral-light-300: oklch(0.8497 0.0109 225.10);\n --color-palette-neutral-light-400: oklch(0.7628 0.0202 225.10);\n --color-palette-neutral-light-500: oklch(0.6707 0.0223 225.10);\n --color-palette-neutral-light-600: oklch(0.5835 0.0221 225.10);\n --color-palette-neutral-light-700: oklch(0.4972 0.0179 225.10);\n --color-palette-neutral-light-800: oklch(0.4115 0.0140 225.10);\n --color-palette-neutral-light-900: oklch(0.3346 0.0111 225.10);\n --color-palette-neutral-light-1000: oklch(0.2499 0.0079 225.10);\n --color-palette-neutral-light-1100: oklch(0.1925 0.0058 225.10);\n --color-palette-neutral-dark-100: oklch(0.9862 0.0012 271.30);\n --color-palette-neutral-dark-200: oklch(0.9364 0.0024 271.30);\n --color-palette-neutral-dark-300: oklch(0.8497 0.0081 271.30);\n --color-palette-neutral-dark-400: oklch(0.7628 0.0169 271.30);\n --color-palette-neutral-dark-500: oklch(0.6707 0.0306 271.30);\n --color-palette-neutral-dark-600: oklch(0.5835 0.0454 271.30);\n --color-palette-neutral-dark-700: oklch(0.4972 0.0538 271.30);\n --color-palette-neutral-dark-800: oklch(0.4115 0.0479 271.30);\n --color-palette-neutral-dark-900: oklch(0.3346 0.0381 271.30);\n --color-palette-neutral-dark-1000: oklch(0.2499 0.0272 271.30);\n --color-palette-neutral-dark-1100: oklch(0.1925 0.0199 271.30);\n --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0199 271.30 / 0.16);\n --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0199 271.30 / 0.12);\n --color-palette-primary-100: oklch(0.9862 0.0064 274.10);\n --color-palette-primary-200: oklch(0.9364 0.0121 274.10);\n --color-palette-primary-300: oklch(0.8497 0.0408 274.10);\n --color-palette-primary-400: oklch(0.7628 0.0849 274.10);\n --color-palette-primary-500: oklch(0.6707 0.1537 274.10);\n --color-palette-primary-600: oklch(0.5835 0.2285 274.10);\n --color-palette-primary-700: oklch(0.4972 0.2707 274.10);\n --color-palette-primary-800: oklch(0.4115 0.2344 274.10);\n --color-palette-primary-900: oklch(0.3346 0.1863 274.10);\n --color-palette-primary-1000: oklch(0.2499 0.1328 274.10);\n --color-palette-primary-1100: oklch(0.1925 0.0974 274.10);\n --color-palette-primary-600-a6: oklch(0.5835 0.2285 274.10 / 0.06);\n --color-palette-primary-600-a9: oklch(0.5835 0.2285 274.10 / 0.09);\n --color-palette-primary-600-a8: oklch(0.5835 0.2285 274.10 / 0.08);\n --color-palette-accent-100: oklch(0.9862 0.0205 93.60);\n --color-palette-accent-200: oklch(0.9364 0.0378 93.60);\n --color-palette-accent-300: oklch(0.8789 0.1801 93.58);\n --color-palette-accent-400: oklch(0.7442 0.1526 93.94);\n --color-palette-accent-500: oklch(0.6707 0.1209 93.60);\n --color-palette-accent-600: oklch(0.5835 0.1195 93.60);\n --color-palette-accent-700: oklch(0.4972 0.0967 93.60);\n --color-palette-accent-800: oklch(0.4115 0.0758 93.60);\n --color-palette-accent-900: oklch(0.3346 0.0603 93.60);\n --color-palette-accent-1000: oklch(0.2499 0.0430 93.60);\n --color-palette-accent-1100: oklch(0.1925 0.0315 93.60);\n --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --color-palette-danger-100: oklch(0.9862 0.0066 29.40);\n --color-palette-danger-200: oklch(0.9364 0.0128 29.40);\n --color-palette-danger-300: oklch(0.8497 0.0452 29.40);\n --color-palette-danger-400: oklch(0.7628 0.0990 29.40);\n --color-palette-danger-500: oklch(0.6707 0.1910 29.40);\n --color-palette-danger-600: oklch(0.5835 0.2382 29.40);\n --color-palette-danger-700: oklch(0.4972 0.1928 29.40);\n --color-palette-danger-800: oklch(0.4115 0.1512 29.40);\n --color-palette-danger-900: oklch(0.3346 0.1202 29.40);\n --color-palette-danger-1000: oklch(0.2499 0.0857 29.40);\n --color-palette-danger-1100: oklch(0.1925 0.0628 29.40);\n --color-palette-warning-100: oklch(0.9862 0.0082 58.30);\n --color-palette-warning-200: oklch(0.9364 0.0156 58.30);\n --color-palette-warning-300: oklch(0.8497 0.0545 58.30);\n --color-palette-warning-400: oklch(0.7628 0.1179 58.30);\n --color-palette-warning-500: oklch(0.6707 0.1408 58.30);\n --color-palette-warning-600: oklch(0.5835 0.1392 58.30);\n --color-palette-warning-700: oklch(0.4972 0.1127 58.30);\n --color-palette-warning-800: oklch(0.4115 0.0883 58.30);\n --color-palette-warning-900: oklch(0.3346 0.0702 58.30);\n --color-palette-warning-1000: oklch(0.2499 0.0500 58.30);\n --color-palette-warning-1100: oklch(0.1925 0.0367 58.30);\n --color-palette-success-100: oklch(0.9862 0.0228 145.50);\n --color-palette-success-200: oklch(0.9364 0.0458 145.50);\n --color-palette-success-300: oklch(0.8497 0.1448 145.50);\n --color-palette-success-400: oklch(0.7628 0.1654 145.50);\n --color-palette-success-500: oklch(0.6707 0.1829 145.50);\n --color-palette-success-600: oklch(0.5835 0.1808 145.50);\n --color-palette-success-700: oklch(0.4972 0.1464 145.50);\n --color-palette-success-800: oklch(0.4115 0.1147 145.50);\n --color-palette-success-900: oklch(0.3346 0.0912 145.50);\n --color-palette-success-1000: oklch(0.2499 0.0650 145.50);\n --color-palette-success-1100: oklch(0.1925 0.0477 145.50);\n --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-300); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-accent-300); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-accent-400); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-accent-500); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-900); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-alt-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-alt-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-alt-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-alt-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-alt-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-alt-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n }\n}\n"; diff --git a/packages/gamut-styles/src/tokens/generated/skillsoft/dark.tokens.json b/packages/gamut-styles/src/tokens/generated/skillsoft/dark.tokens.json index 7ecfd089c2..79264f3fd5 100644 --- a/packages/gamut-styles/src/tokens/generated/skillsoft/dark.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/skillsoft/dark.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.3346 0.1201 357.3 / 0.45) 0%, oklch(0.3346 0.1201 357.3 / 0.43) 16%, oklch(0.3346 0.1201 357.3 / 0.24) 36%, oklch(0.3346 0.1201 357.3 / 0.11) 56%, oklch(0.3346 0.1201 357.3 / 0.04) 76%, oklch(0.3346 0.1201 357.3 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.3346 0.1405 262.4 / 0.45) 0%, oklch(0.3346 0.1405 262.4 / 0.43) 16%, oklch(0.3346 0.1405 262.4 / 0.24) 36%, oklch(0.3346 0.1405 262.4 / 0.11) 56%, oklch(0.3346 0.1405 262.4 / 0.04) 76%, oklch(0.3346 0.1405 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.3346 0.1405 262.4 / 0.45) 0%, oklch(0.3346 0.1405 262.4 / 0.43) 16%, oklch(0.3346 0.1405 262.4 / 0.24) 36%, oklch(0.3346 0.1405 262.4 / 0.11) 56%, oklch(0.3346 0.1405 262.4 / 0.04) 76%, oklch(0.3346 0.1405 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/skillsoft/light.tokens.json b/packages/gamut-styles/src/tokens/generated/skillsoft/light.tokens.json index 8a85b5d624..d930273da2 100644 --- a/packages/gamut-styles/src/tokens/generated/skillsoft/light.tokens.json +++ b/packages/gamut-styles/src/tokens/generated/skillsoft/light.tokens.json @@ -76,7 +76,7 @@ ] ], "css": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, oklch(0.8497 0.0499 357.3 / 0.45) 0%, oklch(0.8497 0.0499 357.3 / 0.43) 16%, oklch(0.8497 0.0499 357.3 / 0.24) 36%, oklch(0.8497 0.0499 357.3 / 0.11) 56%, oklch(0.8497 0.0499 357.3 / 0.04) 76%, oklch(0.8497 0.0499 357.3 / 0) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, oklch(0.8497 0.0407 262.4 / 0.45) 0%, oklch(0.8497 0.0407 262.4 / 0.43) 16%, oklch(0.8497 0.0407 262.4 / 0.24) 36%, oklch(0.8497 0.0407 262.4 / 0.11) 56%, oklch(0.8497 0.0407 262.4 / 0.04) 76%, oklch(0.8497 0.0407 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } @@ -122,7 +122,7 @@ ] ], "css": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, oklch(0.8497 0.0407 262.4 / 0.45) 0%, oklch(0.8497 0.0407 262.4 / 0.43) 16%, oklch(0.8497 0.0407 262.4 / 0.24) 36%, oklch(0.8497 0.0407 262.4 / 0.11) 56%, oklch(0.8497 0.0407 262.4 / 0.04) 76%, oklch(0.8497 0.0407 262.4 / 0) 100%)", - "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%)" + "cssVars": "radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%)" } } } diff --git a/packages/gamut-styles/src/tokens/generated/skillsoft/tokens.css b/packages/gamut-styles/src/tokens/generated/skillsoft/tokens.css index 97eed80f5c..3990c148f2 100644 --- a/packages/gamut-styles/src/tokens/generated/skillsoft/tokens.css +++ b/packages/gamut-styles/src/tokens/generated/skillsoft/tokens.css @@ -3,209 +3,209 @@ @layer tokens { :root, [data-brand="skillsoft"] { - --colors-white: oklch(1.0000 0.0000 0.00); - --colors-black: oklch(0.0000 0.0000 0.00); - --colors-palette-neutral-light-100: oklch(0.9862 0.0041 93.70); - --colors-palette-neutral-light-200: oklch(0.9364 0.0075 93.70); - --colors-palette-neutral-light-300: oklch(0.8497 0.0191 93.70); - --colors-palette-neutral-light-400: oklch(0.7628 0.0218 93.70); - --colors-palette-neutral-light-500: oklch(0.6707 0.0241 93.70); - --colors-palette-neutral-light-600: oklch(0.5835 0.0239 93.70); - --colors-palette-neutral-light-700: oklch(0.4972 0.0193 93.70); - --colors-palette-neutral-light-800: oklch(0.4115 0.0151 93.70); - --colors-palette-neutral-light-900: oklch(0.3346 0.0120 93.70); - --colors-palette-neutral-light-1000: oklch(0.2499 0.0086 93.70); - --colors-palette-neutral-light-1100: oklch(0.1925 0.0063 93.70); - --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 270.70); - --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 270.70); - --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 270.70); - --colors-palette-neutral-dark-400: oklch(0.7628 0.0168 270.70); - --colors-palette-neutral-dark-500: oklch(0.6707 0.0305 270.70); - --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 270.70); - --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 270.70); - --colors-palette-neutral-dark-800: oklch(0.4115 0.0482 270.70); - --colors-palette-neutral-dark-900: oklch(0.3346 0.0383 270.70); - --colors-palette-neutral-dark-1000: oklch(0.2499 0.0273 270.70); - --colors-palette-neutral-dark-1100: oklch(0.1925 0.0200 270.70); - --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0200 270.70 / 0.16); - --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0200 270.70 / 0.12); - --colors-palette-primary-100: oklch(0.9862 0.0064 262.40); - --colors-palette-primary-200: oklch(0.9364 0.0121 262.40); - --colors-palette-primary-300: oklch(0.8497 0.0407 262.40); - --colors-palette-primary-400: oklch(0.7628 0.0846 262.40); - --colors-palette-primary-500: oklch(0.6707 0.1531 262.40); - --colors-palette-primary-600: oklch(0.5835 0.2274 262.40); - --colors-palette-primary-700: oklch(0.4972 0.2254 262.40); - --colors-palette-primary-800: oklch(0.4115 0.1767 262.40); - --colors-palette-primary-900: oklch(0.3346 0.1405 262.40); - --colors-palette-primary-1000: oklch(0.2499 0.1001 262.40); - --colors-palette-primary-1100: oklch(0.1925 0.0734 262.40); - --colors-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06); - --colors-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09); - --colors-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08); - --colors-palette-accent-100: oklch(0.9862 0.0073 357.30); - --colors-palette-accent-200: oklch(0.9364 0.0141 357.30); - --colors-palette-accent-300: oklch(0.8497 0.0499 357.30); - --colors-palette-accent-400: oklch(0.7628 0.1100 357.30); - --colors-palette-accent-500: oklch(0.6707 0.2144 357.30); - --colors-palette-accent-600: oklch(0.5835 0.2380 357.30); - --colors-palette-accent-700: oklch(0.4972 0.1927 357.30); - --colors-palette-accent-800: oklch(0.4115 0.1511 357.30); - --colors-palette-accent-900: oklch(0.3346 0.1201 357.30); - --colors-palette-accent-1000: oklch(0.2499 0.0856 357.30); - --colors-palette-accent-1100: oklch(0.1925 0.0628 357.30); - --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); - --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); - --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); - --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); - --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); - --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); - --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); - --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); - --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); - --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); - --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); - --colors-palette-danger-100: oklch(0.9862 0.0066 17.30); - --colors-palette-danger-200: oklch(0.9364 0.0128 17.30); - --colors-palette-danger-300: oklch(0.8497 0.0452 17.30); - --colors-palette-danger-400: oklch(0.7628 0.0993 17.30); - --colors-palette-danger-500: oklch(0.6707 0.1924 17.30); - --colors-palette-danger-600: oklch(0.5835 0.2336 17.30); - --colors-palette-danger-700: oklch(0.4972 0.1891 17.30); - --colors-palette-danger-800: oklch(0.4115 0.1482 17.30); - --colors-palette-danger-900: oklch(0.3346 0.1178 17.30); - --colors-palette-danger-1000: oklch(0.2499 0.0840 17.30); - --colors-palette-danger-1100: oklch(0.1925 0.0616 17.30); - --colors-palette-warning-100: oklch(0.9862 0.0160 88.00); - --colors-palette-warning-200: oklch(0.9364 0.0300 88.00); - --colors-palette-warning-300: oklch(0.8497 0.0955 88.00); - --colors-palette-warning-400: oklch(0.7628 0.1091 88.00); - --colors-palette-warning-500: oklch(0.6707 0.1206 88.00); - --colors-palette-warning-600: oklch(0.5835 0.1192 88.00); - --colors-palette-warning-700: oklch(0.4972 0.0965 88.00); - --colors-palette-warning-800: oklch(0.4115 0.0757 88.00); - --colors-palette-warning-900: oklch(0.3346 0.0601 88.00); - --colors-palette-warning-1000: oklch(0.2499 0.0429 88.00); - --colors-palette-warning-1100: oklch(0.1925 0.0314 88.00); - --colors-palette-success-100: oklch(0.9862 0.0170 200.00); - --colors-palette-success-200: oklch(0.9364 0.0318 200.00); - --colors-palette-success-300: oklch(0.8497 0.0794 200.00); - --colors-palette-success-400: oklch(0.7628 0.0907 200.00); - --colors-palette-success-500: oklch(0.6707 0.1003 200.00); - --colors-palette-success-600: oklch(0.5835 0.0991 200.00); - --colors-palette-success-700: oklch(0.4972 0.0803 200.00); - --colors-palette-success-800: oklch(0.4115 0.0629 200.00); - --colors-palette-success-900: oklch(0.3346 0.0500 200.00); - --colors-palette-success-1000: oklch(0.2499 0.0356 200.00); - --colors-palette-success-1100: oklch(0.1925 0.0261 200.00); - --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); - --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); - --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); + --color-white: oklch(1.0000 0.0000 0.00); + --color-black: oklch(0.0000 0.0000 0.00); + --color-palette-neutral-light-100: oklch(0.9862 0.0041 93.70); + --color-palette-neutral-light-200: oklch(0.9364 0.0075 93.70); + --color-palette-neutral-light-300: oklch(0.8497 0.0191 93.70); + --color-palette-neutral-light-400: oklch(0.7628 0.0218 93.70); + --color-palette-neutral-light-500: oklch(0.6707 0.0241 93.70); + --color-palette-neutral-light-600: oklch(0.5835 0.0239 93.70); + --color-palette-neutral-light-700: oklch(0.4972 0.0193 93.70); + --color-palette-neutral-light-800: oklch(0.4115 0.0151 93.70); + --color-palette-neutral-light-900: oklch(0.3346 0.0120 93.70); + --color-palette-neutral-light-1000: oklch(0.2499 0.0086 93.70); + --color-palette-neutral-light-1100: oklch(0.1925 0.0063 93.70); + --color-palette-neutral-dark-100: oklch(0.9862 0.0012 270.70); + --color-palette-neutral-dark-200: oklch(0.9364 0.0024 270.70); + --color-palette-neutral-dark-300: oklch(0.8497 0.0081 270.70); + --color-palette-neutral-dark-400: oklch(0.7628 0.0168 270.70); + --color-palette-neutral-dark-500: oklch(0.6707 0.0305 270.70); + --color-palette-neutral-dark-600: oklch(0.5835 0.0454 270.70); + --color-palette-neutral-dark-700: oklch(0.4972 0.0538 270.70); + --color-palette-neutral-dark-800: oklch(0.4115 0.0482 270.70); + --color-palette-neutral-dark-900: oklch(0.3346 0.0383 270.70); + --color-palette-neutral-dark-1000: oklch(0.2499 0.0273 270.70); + --color-palette-neutral-dark-1100: oklch(0.1925 0.0200 270.70); + --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0200 270.70 / 0.16); + --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0200 270.70 / 0.12); + --color-palette-primary-100: oklch(0.9862 0.0064 262.40); + --color-palette-primary-200: oklch(0.9364 0.0121 262.40); + --color-palette-primary-300: oklch(0.8497 0.0407 262.40); + --color-palette-primary-400: oklch(0.7628 0.0846 262.40); + --color-palette-primary-500: oklch(0.6707 0.1531 262.40); + --color-palette-primary-600: oklch(0.5835 0.2274 262.40); + --color-palette-primary-700: oklch(0.4972 0.2254 262.40); + --color-palette-primary-800: oklch(0.4115 0.1767 262.40); + --color-palette-primary-900: oklch(0.3346 0.1405 262.40); + --color-palette-primary-1000: oklch(0.2499 0.1001 262.40); + --color-palette-primary-1100: oklch(0.1925 0.0734 262.40); + --color-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06); + --color-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09); + --color-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08); + --color-palette-accent-100: oklch(0.9862 0.0073 357.30); + --color-palette-accent-200: oklch(0.9364 0.0141 357.30); + --color-palette-accent-300: oklch(0.8497 0.0499 357.30); + --color-palette-accent-400: oklch(0.7628 0.1100 357.30); + --color-palette-accent-500: oklch(0.6707 0.2144 357.30); + --color-palette-accent-600: oklch(0.5835 0.2380 357.30); + --color-palette-accent-700: oklch(0.4972 0.1927 357.30); + --color-palette-accent-800: oklch(0.4115 0.1511 357.30); + --color-palette-accent-900: oklch(0.3346 0.1201 357.30); + --color-palette-accent-1000: oklch(0.2499 0.0856 357.30); + --color-palette-accent-1100: oklch(0.1925 0.0628 357.30); + --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10); + --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10); + --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10); + --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10); + --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10); + --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10); + --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10); + --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10); + --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10); + --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10); + --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10); + --color-palette-danger-100: oklch(0.9862 0.0066 17.30); + --color-palette-danger-200: oklch(0.9364 0.0128 17.30); + --color-palette-danger-300: oklch(0.8497 0.0452 17.30); + --color-palette-danger-400: oklch(0.7628 0.0993 17.30); + --color-palette-danger-500: oklch(0.6707 0.1924 17.30); + --color-palette-danger-600: oklch(0.5835 0.2336 17.30); + --color-palette-danger-700: oklch(0.4972 0.1891 17.30); + --color-palette-danger-800: oklch(0.4115 0.1482 17.30); + --color-palette-danger-900: oklch(0.3346 0.1178 17.30); + --color-palette-danger-1000: oklch(0.2499 0.0840 17.30); + --color-palette-danger-1100: oklch(0.1925 0.0616 17.30); + --color-palette-warning-100: oklch(0.9862 0.0160 88.00); + --color-palette-warning-200: oklch(0.9364 0.0300 88.00); + --color-palette-warning-300: oklch(0.8497 0.0955 88.00); + --color-palette-warning-400: oklch(0.7628 0.1091 88.00); + --color-palette-warning-500: oklch(0.6707 0.1206 88.00); + --color-palette-warning-600: oklch(0.5835 0.1192 88.00); + --color-palette-warning-700: oklch(0.4972 0.0965 88.00); + --color-palette-warning-800: oklch(0.4115 0.0757 88.00); + --color-palette-warning-900: oklch(0.3346 0.0601 88.00); + --color-palette-warning-1000: oklch(0.2499 0.0429 88.00); + --color-palette-warning-1100: oklch(0.1925 0.0314 88.00); + --color-palette-success-100: oklch(0.9862 0.0170 200.00); + --color-palette-success-200: oklch(0.9364 0.0318 200.00); + --color-palette-success-300: oklch(0.8497 0.0794 200.00); + --color-palette-success-400: oklch(0.7628 0.0907 200.00); + --color-palette-success-500: oklch(0.6707 0.1003 200.00); + --color-palette-success-600: oklch(0.5835 0.0991 200.00); + --color-palette-success-700: oklch(0.4972 0.0803 200.00); + --color-palette-success-800: oklch(0.4115 0.0629 200.00); + --color-palette-success-900: oklch(0.3346 0.0500 200.00); + --color-palette-success-1000: oklch(0.2499 0.0356 200.00); + --color-palette-success-1100: oklch(0.1925 0.0261 200.00); + --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32); + --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24); + --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6); } :root, [data-color-mode="light"] { color-scheme: light; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-900); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%); } [data-color-mode="dark"] { color-scheme: dark; - color: var(--colors-text-default); - --colors-background-current: var(--colors-surface-default); - --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */ - --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ - --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ - --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ - --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ - --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ - --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ - --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ - --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */ - --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ - --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ - --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */ - --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */ - --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */ - --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ - --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ - --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ - --colors-action-primary: var(--colors-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */ - --colors-action-primary-hover: var(--colors-palette-primary-300); /** Hover for action-primary. */ - --colors-action-primary-pressed: var(--colors-palette-primary-200); /** Pressed for action-primary. */ - --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ - --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */ - --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */ - --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ - --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */ - --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */ - --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ - --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ - --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */ - --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ - --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */ - --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */ - --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */ - --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */ - --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */ - --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */ - --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */ - --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */ - --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */ - --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */ - --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */ - --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */ - --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ - --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ - --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ - --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); - --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%); + color: var(--color-text-default); + --color-background-current: var(--color-surface-default); + --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */ + --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */ + --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */ + --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */ + --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */ + --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */ + --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */ + --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */ + --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */ + --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */ + --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */ + --color-text-success: var(--color-palette-success-300); /** Success text and icons. */ + --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */ + --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */ + --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */ + --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */ + --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */ + --color-action-primary: var(--color-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */ + --color-action-primary-hover: var(--color-palette-primary-300); /** Hover for action-primary. */ + --color-action-primary-pressed: var(--color-palette-primary-200); /** Pressed for action-primary. */ + --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */ + --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */ + --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */ + --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant="secondary" resolves here. */ + --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */ + --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */ + --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */ + --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */ + --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */ + --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent "this one is chosen" tint. */ + --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */ + --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */ + --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */ + --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */ + --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */ + --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */ + --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */ + --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */ + --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */ + --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */ + --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */ + --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */ + --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */ + --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */ + --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */ + --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); + --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%); } } diff --git a/packages/gamut-styles/src/tokens/generated/skillsoft/values.ts b/packages/gamut-styles/src/tokens/generated/skillsoft/values.ts index fb878bbe1c..1deaec1e75 100644 --- a/packages/gamut-styles/src/tokens/generated/skillsoft/values.ts +++ b/packages/gamut-styles/src/tokens/generated/skillsoft/values.ts @@ -975,4 +975,4 @@ export const contentModes = { } as const; /* This brand's tokens.css, for GamutProvider to inject. */ -export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"skillsoft\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"skillsoft\"] {\n --colors-white: oklch(1.0000 0.0000 0.00);\n --colors-black: oklch(0.0000 0.0000 0.00);\n --colors-palette-neutral-light-100: oklch(0.9862 0.0041 93.70);\n --colors-palette-neutral-light-200: oklch(0.9364 0.0075 93.70);\n --colors-palette-neutral-light-300: oklch(0.8497 0.0191 93.70);\n --colors-palette-neutral-light-400: oklch(0.7628 0.0218 93.70);\n --colors-palette-neutral-light-500: oklch(0.6707 0.0241 93.70);\n --colors-palette-neutral-light-600: oklch(0.5835 0.0239 93.70);\n --colors-palette-neutral-light-700: oklch(0.4972 0.0193 93.70);\n --colors-palette-neutral-light-800: oklch(0.4115 0.0151 93.70);\n --colors-palette-neutral-light-900: oklch(0.3346 0.0120 93.70);\n --colors-palette-neutral-light-1000: oklch(0.2499 0.0086 93.70);\n --colors-palette-neutral-light-1100: oklch(0.1925 0.0063 93.70);\n --colors-palette-neutral-dark-100: oklch(0.9862 0.0012 270.70);\n --colors-palette-neutral-dark-200: oklch(0.9364 0.0024 270.70);\n --colors-palette-neutral-dark-300: oklch(0.8497 0.0081 270.70);\n --colors-palette-neutral-dark-400: oklch(0.7628 0.0168 270.70);\n --colors-palette-neutral-dark-500: oklch(0.6707 0.0305 270.70);\n --colors-palette-neutral-dark-600: oklch(0.5835 0.0454 270.70);\n --colors-palette-neutral-dark-700: oklch(0.4972 0.0538 270.70);\n --colors-palette-neutral-dark-800: oklch(0.4115 0.0482 270.70);\n --colors-palette-neutral-dark-900: oklch(0.3346 0.0383 270.70);\n --colors-palette-neutral-dark-1000: oklch(0.2499 0.0273 270.70);\n --colors-palette-neutral-dark-1100: oklch(0.1925 0.0200 270.70);\n --colors-palette-neutral-dark-1100-a16: oklch(0.1925 0.0200 270.70 / 0.16);\n --colors-palette-neutral-dark-1100-a12: oklch(0.1925 0.0200 270.70 / 0.12);\n --colors-palette-primary-100: oklch(0.9862 0.0064 262.40);\n --colors-palette-primary-200: oklch(0.9364 0.0121 262.40);\n --colors-palette-primary-300: oklch(0.8497 0.0407 262.40);\n --colors-palette-primary-400: oklch(0.7628 0.0846 262.40);\n --colors-palette-primary-500: oklch(0.6707 0.1531 262.40);\n --colors-palette-primary-600: oklch(0.5835 0.2274 262.40);\n --colors-palette-primary-700: oklch(0.4972 0.2254 262.40);\n --colors-palette-primary-800: oklch(0.4115 0.1767 262.40);\n --colors-palette-primary-900: oklch(0.3346 0.1405 262.40);\n --colors-palette-primary-1000: oklch(0.2499 0.1001 262.40);\n --colors-palette-primary-1100: oklch(0.1925 0.0734 262.40);\n --colors-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06);\n --colors-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09);\n --colors-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08);\n --colors-palette-accent-100: oklch(0.9862 0.0073 357.30);\n --colors-palette-accent-200: oklch(0.9364 0.0141 357.30);\n --colors-palette-accent-300: oklch(0.8497 0.0499 357.30);\n --colors-palette-accent-400: oklch(0.7628 0.1100 357.30);\n --colors-palette-accent-500: oklch(0.6707 0.2144 357.30);\n --colors-palette-accent-600: oklch(0.5835 0.2380 357.30);\n --colors-palette-accent-700: oklch(0.4972 0.1927 357.30);\n --colors-palette-accent-800: oklch(0.4115 0.1511 357.30);\n --colors-palette-accent-900: oklch(0.3346 0.1201 357.30);\n --colors-palette-accent-1000: oklch(0.2499 0.0856 357.30);\n --colors-palette-accent-1100: oklch(0.1925 0.0628 357.30);\n --colors-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --colors-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --colors-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --colors-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --colors-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --colors-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --colors-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --colors-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --colors-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --colors-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --colors-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --colors-palette-danger-100: oklch(0.9862 0.0066 17.30);\n --colors-palette-danger-200: oklch(0.9364 0.0128 17.30);\n --colors-palette-danger-300: oklch(0.8497 0.0452 17.30);\n --colors-palette-danger-400: oklch(0.7628 0.0993 17.30);\n --colors-palette-danger-500: oklch(0.6707 0.1924 17.30);\n --colors-palette-danger-600: oklch(0.5835 0.2336 17.30);\n --colors-palette-danger-700: oklch(0.4972 0.1891 17.30);\n --colors-palette-danger-800: oklch(0.4115 0.1482 17.30);\n --colors-palette-danger-900: oklch(0.3346 0.1178 17.30);\n --colors-palette-danger-1000: oklch(0.2499 0.0840 17.30);\n --colors-palette-danger-1100: oklch(0.1925 0.0616 17.30);\n --colors-palette-warning-100: oklch(0.9862 0.0160 88.00);\n --colors-palette-warning-200: oklch(0.9364 0.0300 88.00);\n --colors-palette-warning-300: oklch(0.8497 0.0955 88.00);\n --colors-palette-warning-400: oklch(0.7628 0.1091 88.00);\n --colors-palette-warning-500: oklch(0.6707 0.1206 88.00);\n --colors-palette-warning-600: oklch(0.5835 0.1192 88.00);\n --colors-palette-warning-700: oklch(0.4972 0.0965 88.00);\n --colors-palette-warning-800: oklch(0.4115 0.0757 88.00);\n --colors-palette-warning-900: oklch(0.3346 0.0601 88.00);\n --colors-palette-warning-1000: oklch(0.2499 0.0429 88.00);\n --colors-palette-warning-1100: oklch(0.1925 0.0314 88.00);\n --colors-palette-success-100: oklch(0.9862 0.0170 200.00);\n --colors-palette-success-200: oklch(0.9364 0.0318 200.00);\n --colors-palette-success-300: oklch(0.8497 0.0794 200.00);\n --colors-palette-success-400: oklch(0.7628 0.0907 200.00);\n --colors-palette-success-500: oklch(0.6707 0.1003 200.00);\n --colors-palette-success-600: oklch(0.5835 0.0991 200.00);\n --colors-palette-success-700: oklch(0.4972 0.0803 200.00);\n --colors-palette-success-800: oklch(0.4115 0.0629 200.00);\n --colors-palette-success-900: oklch(0.3346 0.0500 200.00);\n --colors-palette-success-1000: oklch(0.2499 0.0356 200.00);\n --colors-palette-success-1100: oklch(0.1925 0.0261 200.00);\n --colors-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --colors-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --colors-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-dark-1000); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-900); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-900); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-primary-900); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-primary-1000); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-900); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-1000); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-black); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-800); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-700); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-700); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-600); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-1000); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-700); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-800); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-900); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--colors-text-default);\n --colors-background-current: var(--colors-surface-default);\n --colors-surface-sunken: var(--colors-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --colors-surface-default: var(--colors-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --colors-surface-raised: var(--colors-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --colors-surface-success: var(--colors-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --colors-surface-warning: var(--colors-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --colors-surface-error: var(--colors-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --colors-surface-brand: var(--colors-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --colors-surface-brand-subtle: var(--colors-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --colors-text-default: var(--colors-palette-neutral-light-200); /** Body copy and headings. */\n --colors-text-subtle: var(--colors-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --colors-text-inverse: var(--colors-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --colors-text-success: var(--colors-palette-success-300); /** Success text and icons. */\n --colors-text-warning: var(--colors-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --colors-text-error: var(--colors-palette-danger-300); /** Error text and icons. */\n --colors-border-strong: var(--colors-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --colors-border-default: var(--colors-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --colors-border-subtle: var(--colors-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --colors-action-primary: var(--colors-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */\n --colors-action-primary-hover: var(--colors-palette-primary-300); /** Hover for action-primary. */\n --colors-action-primary-pressed: var(--colors-palette-primary-200); /** Pressed for action-primary. */\n --colors-action-danger: var(--colors-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --colors-action-danger-hover: var(--colors-palette-danger-300); /** Hover for action-danger. */\n --colors-action-danger-pressed: var(--colors-palette-danger-200); /** Pressed for action-danger. */\n --colors-action-neutral: var(--colors-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --colors-action-neutral-hover: var(--colors-palette-neutral-light-100); /** Hover for action-neutral. */\n --colors-action-neutral-pressed: var(--colors-white); /** Pressed for action-neutral. */\n --colors-action-disabled: var(--colors-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --colors-state-hover: var(--colors-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --colors-state-pressed: var(--colors-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --colors-state-selected: var(--colors-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --colors-viz-1: var(--colors-palette-primary-500); /** Categorical series 1. */\n --colors-viz-2: var(--colors-palette-accent-500); /** Categorical series 2. */\n --colors-viz-3: var(--colors-palette-warning-400); /** Categorical series 3. */\n --colors-viz-4: var(--colors-palette-accent-alt-600); /** Categorical series 4. */\n --colors-viz-5: var(--colors-palette-success-300); /** Categorical series 5. */\n --colors-viz-6: var(--colors-palette-danger-600); /** Categorical series 6. */\n --colors-viz-7: var(--colors-palette-neutral-dark-500); /** Categorical series 7. */\n --colors-viz-8: var(--colors-palette-neutral-light-600); /** Categorical series 8. */\n --colors-viz-seq-1: var(--colors-palette-primary-600); /** Sequential step 1, low to high. */\n --colors-viz-seq-2: var(--colors-palette-primary-500); /** Sequential step 2, low to high. */\n --colors-viz-seq-3: var(--colors-palette-primary-400); /** Sequential step 3, low to high. */\n --colors-viz-seq-4: var(--colors-palette-primary-300); /** Sequential step 4, low to high. */\n --colors-shadow-key: var(--colors-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --colors-shadow-ambient: var(--colors-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --colors-shadow-scrim: var(--colors-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--colors-palette-accent-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-accent-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-accent-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-accent-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-accent-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-accent-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--colors-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--colors-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--colors-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--colors-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--colors-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--colors-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; +export const tokensCss = "/* Generated by @skillsoft/gamut-brand from the \"skillsoft\" brand. Do not edit. */\n@layer reset, base, tokens, recipes, utilities;\n\n@layer tokens {\n :root, [data-brand=\"skillsoft\"] {\n --color-white: oklch(1.0000 0.0000 0.00);\n --color-black: oklch(0.0000 0.0000 0.00);\n --color-palette-neutral-light-100: oklch(0.9862 0.0041 93.70);\n --color-palette-neutral-light-200: oklch(0.9364 0.0075 93.70);\n --color-palette-neutral-light-300: oklch(0.8497 0.0191 93.70);\n --color-palette-neutral-light-400: oklch(0.7628 0.0218 93.70);\n --color-palette-neutral-light-500: oklch(0.6707 0.0241 93.70);\n --color-palette-neutral-light-600: oklch(0.5835 0.0239 93.70);\n --color-palette-neutral-light-700: oklch(0.4972 0.0193 93.70);\n --color-palette-neutral-light-800: oklch(0.4115 0.0151 93.70);\n --color-palette-neutral-light-900: oklch(0.3346 0.0120 93.70);\n --color-palette-neutral-light-1000: oklch(0.2499 0.0086 93.70);\n --color-palette-neutral-light-1100: oklch(0.1925 0.0063 93.70);\n --color-palette-neutral-dark-100: oklch(0.9862 0.0012 270.70);\n --color-palette-neutral-dark-200: oklch(0.9364 0.0024 270.70);\n --color-palette-neutral-dark-300: oklch(0.8497 0.0081 270.70);\n --color-palette-neutral-dark-400: oklch(0.7628 0.0168 270.70);\n --color-palette-neutral-dark-500: oklch(0.6707 0.0305 270.70);\n --color-palette-neutral-dark-600: oklch(0.5835 0.0454 270.70);\n --color-palette-neutral-dark-700: oklch(0.4972 0.0538 270.70);\n --color-palette-neutral-dark-800: oklch(0.4115 0.0482 270.70);\n --color-palette-neutral-dark-900: oklch(0.3346 0.0383 270.70);\n --color-palette-neutral-dark-1000: oklch(0.2499 0.0273 270.70);\n --color-palette-neutral-dark-1100: oklch(0.1925 0.0200 270.70);\n --color-palette-neutral-dark-1100-a16: oklch(0.1925 0.0200 270.70 / 0.16);\n --color-palette-neutral-dark-1100-a12: oklch(0.1925 0.0200 270.70 / 0.12);\n --color-palette-primary-100: oklch(0.9862 0.0064 262.40);\n --color-palette-primary-200: oklch(0.9364 0.0121 262.40);\n --color-palette-primary-300: oklch(0.8497 0.0407 262.40);\n --color-palette-primary-400: oklch(0.7628 0.0846 262.40);\n --color-palette-primary-500: oklch(0.6707 0.1531 262.40);\n --color-palette-primary-600: oklch(0.5835 0.2274 262.40);\n --color-palette-primary-700: oklch(0.4972 0.2254 262.40);\n --color-palette-primary-800: oklch(0.4115 0.1767 262.40);\n --color-palette-primary-900: oklch(0.3346 0.1405 262.40);\n --color-palette-primary-1000: oklch(0.2499 0.1001 262.40);\n --color-palette-primary-1100: oklch(0.1925 0.0734 262.40);\n --color-palette-primary-600-a6: oklch(0.5835 0.2274 262.40 / 0.06);\n --color-palette-primary-600-a9: oklch(0.5835 0.2274 262.40 / 0.09);\n --color-palette-primary-600-a8: oklch(0.5835 0.2274 262.40 / 0.08);\n --color-palette-accent-100: oklch(0.9862 0.0073 357.30);\n --color-palette-accent-200: oklch(0.9364 0.0141 357.30);\n --color-palette-accent-300: oklch(0.8497 0.0499 357.30);\n --color-palette-accent-400: oklch(0.7628 0.1100 357.30);\n --color-palette-accent-500: oklch(0.6707 0.2144 357.30);\n --color-palette-accent-600: oklch(0.5835 0.2380 357.30);\n --color-palette-accent-700: oklch(0.4972 0.1927 357.30);\n --color-palette-accent-800: oklch(0.4115 0.1511 357.30);\n --color-palette-accent-900: oklch(0.3346 0.1201 357.30);\n --color-palette-accent-1000: oklch(0.2499 0.0856 357.30);\n --color-palette-accent-1100: oklch(0.1925 0.0628 357.30);\n --color-palette-accent-alt-100: oklch(0.9862 0.0067 287.10);\n --color-palette-accent-alt-200: oklch(0.9364 0.0127 287.10);\n --color-palette-accent-alt-300: oklch(0.8497 0.0430 287.10);\n --color-palette-accent-alt-400: oklch(0.7628 0.0896 287.10);\n --color-palette-accent-alt-500: oklch(0.6707 0.1624 287.10);\n --color-palette-accent-alt-600: oklch(0.5835 0.2416 287.10);\n --color-palette-accent-alt-700: oklch(0.4972 0.2722 287.10);\n --color-palette-accent-alt-800: oklch(0.4115 0.2134 287.10);\n --color-palette-accent-alt-900: oklch(0.3346 0.1696 287.10);\n --color-palette-accent-alt-1000: oklch(0.2499 0.1209 287.10);\n --color-palette-accent-alt-1100: oklch(0.1925 0.0887 287.10);\n --color-palette-danger-100: oklch(0.9862 0.0066 17.30);\n --color-palette-danger-200: oklch(0.9364 0.0128 17.30);\n --color-palette-danger-300: oklch(0.8497 0.0452 17.30);\n --color-palette-danger-400: oklch(0.7628 0.0993 17.30);\n --color-palette-danger-500: oklch(0.6707 0.1924 17.30);\n --color-palette-danger-600: oklch(0.5835 0.2336 17.30);\n --color-palette-danger-700: oklch(0.4972 0.1891 17.30);\n --color-palette-danger-800: oklch(0.4115 0.1482 17.30);\n --color-palette-danger-900: oklch(0.3346 0.1178 17.30);\n --color-palette-danger-1000: oklch(0.2499 0.0840 17.30);\n --color-palette-danger-1100: oklch(0.1925 0.0616 17.30);\n --color-palette-warning-100: oklch(0.9862 0.0160 88.00);\n --color-palette-warning-200: oklch(0.9364 0.0300 88.00);\n --color-palette-warning-300: oklch(0.8497 0.0955 88.00);\n --color-palette-warning-400: oklch(0.7628 0.1091 88.00);\n --color-palette-warning-500: oklch(0.6707 0.1206 88.00);\n --color-palette-warning-600: oklch(0.5835 0.1192 88.00);\n --color-palette-warning-700: oklch(0.4972 0.0965 88.00);\n --color-palette-warning-800: oklch(0.4115 0.0757 88.00);\n --color-palette-warning-900: oklch(0.3346 0.0601 88.00);\n --color-palette-warning-1000: oklch(0.2499 0.0429 88.00);\n --color-palette-warning-1100: oklch(0.1925 0.0314 88.00);\n --color-palette-success-100: oklch(0.9862 0.0170 200.00);\n --color-palette-success-200: oklch(0.9364 0.0318 200.00);\n --color-palette-success-300: oklch(0.8497 0.0794 200.00);\n --color-palette-success-400: oklch(0.7628 0.0907 200.00);\n --color-palette-success-500: oklch(0.6707 0.1003 200.00);\n --color-palette-success-600: oklch(0.5835 0.0991 200.00);\n --color-palette-success-700: oklch(0.4972 0.0803 200.00);\n --color-palette-success-800: oklch(0.4115 0.0629 200.00);\n --color-palette-success-900: oklch(0.3346 0.0500 200.00);\n --color-palette-success-1000: oklch(0.2499 0.0356 200.00);\n --color-palette-success-1100: oklch(0.1925 0.0261 200.00);\n --color-black-a32: oklch(0.0000 0.0000 0.00 / 0.32);\n --color-black-a24: oklch(0.0000 0.0000 0.00 / 0.24);\n --color-black-a60: oklch(0.0000 0.0000 0.00 / 0.6);\n }\n\n :root, [data-color-mode=\"light\"] {\n color-scheme: light;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-palette-neutral-light-200); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-light-100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-white); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-200); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-200); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-200); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-light-100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-light-100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-dark-1000); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-dark-800); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-light-200); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-900); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-900); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-900); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-dark-1100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-dark-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-dark-300); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-primary-800); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-primary-900); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-primary-1000); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-800); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-900); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-1000); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-dark-1000); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-dark-1100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-black); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-light-400); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-800); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-700); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-700); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-600); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-1000); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-700); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-800); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-900); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-palette-neutral-dark-1100-a16); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-palette-neutral-dark-1100-a12); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-300) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-300) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-300) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-300) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-300) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-300) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-300) 0%, transparent) 100%);\n }\n\n [data-color-mode=\"dark\"] {\n color-scheme: dark;\n color: var(--color-text-default);\n --color-background-current: var(--color-surface-default);\n --color-surface-sunken: var(--color-black); /** Wells, insets, code blocks — anything recessed into the page. */\n --color-surface-default: var(--color-palette-neutral-dark-1100); /** The page background — the base every other surface elevates from. */\n --color-surface-raised: var(--color-palette-neutral-dark-1000); /** The lighter surface step, not a depth: cards, menus, dialogs, fields, and flat bordered sections. Shadow, not the fill, says how high something sits. */\n --color-surface-success: var(--color-palette-success-1000); /** The success tint behind an alert or inline confirmation. */\n --color-surface-warning: var(--color-palette-warning-1000); /** The warning tint behind an alert or inline caution. */\n --color-surface-error: var(--color-palette-danger-1000); /** The error tint behind an alert or inline validation message. */\n --color-surface-brand: var(--color-palette-neutral-dark-1100); /** The two-color brand gradient. The color is the flat fallback; the gradient ships as --gradient-surface-brand. */\n --color-surface-brand-subtle: var(--color-palette-neutral-dark-1100); /** The one-color brand gradient, for backgrounds behind real text. Ships as --gradient-surface-brand-subtle. */\n --color-text-default: var(--color-palette-neutral-light-200); /** Body copy and headings. */\n --color-text-subtle: var(--color-palette-neutral-light-400); /** Secondary text — descriptions, metadata, helper copy. */\n --color-text-inverse: var(--color-palette-neutral-dark-1000); /** Labels on a filled control — action-primary, -neutral, -danger. */\n --color-text-success: var(--color-palette-success-300); /** Success text and icons. */\n --color-text-warning: var(--color-palette-warning-300); /** Warning text and icons. Always with an icon. */\n --color-text-error: var(--color-palette-danger-300); /** Error text and icons. */\n --color-border-strong: var(--color-palette-neutral-light-100); /** Emphasis — an active field, a selected row. */\n --color-border-default: var(--color-palette-neutral-light-600); /** Any border that carries meaning — control outlines, field borders. */\n --color-border-subtle: var(--color-palette-neutral-light-900); /** Decorative hairlines — table rules, dividers. Contrast-exempt. */\n --color-action-primary: var(--color-palette-primary-400); /** Primary interactive fills, strokes, links and focus rings. */\n --color-action-primary-hover: var(--color-palette-primary-300); /** Hover for action-primary. */\n --color-action-primary-pressed: var(--color-palette-primary-200); /** Pressed for action-primary. */\n --color-action-danger: var(--color-palette-danger-400); /** Destructive actions — delete, remove, revoke. */\n --color-action-danger-hover: var(--color-palette-danger-300); /** Hover for action-danger. */\n --color-action-danger-pressed: var(--color-palette-danger-200); /** Pressed for action-danger. */\n --color-action-neutral: var(--color-palette-neutral-light-200); /** The neutral action fill. Button variant=\"secondary\" resolves here. */\n --color-action-neutral-hover: var(--color-palette-neutral-light-100); /** Hover for action-neutral. */\n --color-action-neutral-pressed: var(--color-white); /** Pressed for action-neutral. */\n --color-action-disabled: var(--color-palette-neutral-dark-800); /** The disabled fill for every action variant. Contrast-exempt (inactive control). */\n --color-state-hover: var(--color-palette-primary-600-a6); /** Rest → hover on rows, tabs, chips, menu items. */\n --color-state-pressed: var(--color-palette-primary-600-a9); /** Hover → pressed on the same elements. */\n --color-state-selected: var(--color-palette-primary-600-a8); /** The persistent \"this one is chosen\" tint. */\n --color-viz-1: var(--color-palette-primary-500); /** Categorical series 1. */\n --color-viz-2: var(--color-palette-accent-500); /** Categorical series 2. */\n --color-viz-3: var(--color-palette-warning-400); /** Categorical series 3. */\n --color-viz-4: var(--color-palette-accent-alt-600); /** Categorical series 4. */\n --color-viz-5: var(--color-palette-success-300); /** Categorical series 5. */\n --color-viz-6: var(--color-palette-danger-600); /** Categorical series 6. */\n --color-viz-7: var(--color-palette-neutral-dark-500); /** Categorical series 7. */\n --color-viz-8: var(--color-palette-neutral-light-600); /** Categorical series 8. */\n --color-viz-seq-1: var(--color-palette-primary-600); /** Sequential step 1, low to high. */\n --color-viz-seq-2: var(--color-palette-primary-500); /** Sequential step 2, low to high. */\n --color-viz-seq-3: var(--color-palette-primary-400); /** Sequential step 3, low to high. */\n --color-viz-seq-4: var(--color-palette-primary-300); /** Sequential step 4, low to high. */\n --color-shadow-key: var(--color-black-a32); /** The tight, darker layer of an elevation shadow. Box-shadow color only; the elevation supplies offset and blur. */\n --color-shadow-ambient: var(--color-black-a24); /** The wide, soft layer of an elevation shadow, always paired with shadow-key. Transparent where a brand has no soft falloff. */\n --color-shadow-scrim: var(--color-black-a60); /** The scrim behind modals and dialogs. Mode-independent. */\n --gradient-surface-brand: radial-gradient(circle calc(0.85 * 100cqw) at 100% -5%, color-mix(in oklab, var(--color-palette-accent-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-accent-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-accent-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-accent-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-accent-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-accent-900) 0%, transparent) 100%), radial-gradient(circle calc(1.21 * 100cqw) at 5% 100%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n --gradient-surface-brand-subtle: radial-gradient(circle calc(0.78 * 100cqw) at 50% -10%, color-mix(in oklab, var(--color-palette-primary-900) 45%, transparent) 0%, color-mix(in oklab, var(--color-palette-primary-900) 43%, transparent) 16%, color-mix(in oklab, var(--color-palette-primary-900) 24%, transparent) 36%, color-mix(in oklab, var(--color-palette-primary-900) 11%, transparent) 56%, color-mix(in oklab, var(--color-palette-primary-900) 4%, transparent) 76%, color-mix(in oklab, var(--color-palette-primary-900) 0%, transparent) 100%);\n }\n}\n"; diff --git a/packages/gamut/src/Alert/__tests__/Alert.test.tsx b/packages/gamut/src/Alert/__tests__/Alert.test.tsx index ee2b2c82ac..86d6305cb8 100644 --- a/packages/gamut/src/Alert/__tests__/Alert.test.tsx +++ b/packages/gamut/src/Alert/__tests__/Alert.test.tsx @@ -156,7 +156,7 @@ describe('Alert', () => { /* A forced mode writes that mode's role variables into the button's class. */ expect(cta).not.toHaveStyleRule( - '--colors-action-neutral', + '--color-action-neutral', expect.any(String) ); }); @@ -166,7 +166,7 @@ describe('Alert', () => { expect(view.getByRole('status')).toHaveStyleRule( 'color', - 'var(--colors-text-error)' + 'var(--color-text-error)' ); }); @@ -175,7 +175,7 @@ describe('Alert', () => { expect(view.getByRole('status')).toHaveStyleRule( 'color', - 'var(--colors-text-default)' + 'var(--color-text-default)' ); }); @@ -184,7 +184,7 @@ describe('Alert', () => { expect(view.getByRole('status')).toHaveStyleRule( 'border-color', - 'var(--colors-text-success)' + 'var(--color-text-success)' ); }); @@ -193,7 +193,7 @@ describe('Alert', () => { expect(view.getByRole('status')).not.toHaveStyleRule( 'border-color', - 'var(--colors-text-success)' + 'var(--color-text-success)' ); }); }); diff --git a/packages/gamut/src/Video/lib/VidstackPlayer/vidstack-styles.css b/packages/gamut/src/Video/lib/VidstackPlayer/vidstack-styles.css index 8b8dbf4d3c..7d6dd2517f 100644 --- a/packages/gamut/src/Video/lib/VidstackPlayer/vidstack-styles.css +++ b/packages/gamut/src/Video/lib/VidstackPlayer/vidstack-styles.css @@ -29,10 +29,10 @@ iframe.vds-youtube[data-no-controls] { /* Small layout volume / time slider */ :where(.vds-video-layout[data-sm] .vds-volume-slider .vds-slider-track) { - background-color: var(--colors-gray-600); + background-color: var(--color-gray-600); } :where(.vds-video-layout[data-sm] .vds-volume-slider .vds-slider-track-fill) { - background-color: var(--colors-secondary); + background-color: var(--color-secondary); } .vds-video-layout .vds-time-slider .vds-slider-value { border: unset; @@ -59,7 +59,7 @@ iframe.vds-youtube[data-no-controls] { left: calc(50% - 0.5rem); background-image: linear-gradient( to top left, - var(--colors-background-contrast) 55%, + var(--color-background-contrast) 55%, rgba(0, 0, 0, 0) 20% ); } @@ -70,7 +70,7 @@ iframe.vds-youtube[data-no-controls] { left: calc(50% - 0.5rem); background-image: linear-gradient( to bottom right, - var(--colors-background-contrast) 55%, + var(--color-background-contrast) 55%, rgba(0, 0, 0, 0) 20% ); } diff --git a/packages/styleguide/src/lib/Foundations/ColorMode/CssContract.stories.tsx b/packages/styleguide/src/lib/Foundations/ColorMode/CssContract.stories.tsx index cedcfa0fc2..6867e9f442 100644 --- a/packages/styleguide/src/lib/Foundations/ColorMode/CssContract.stories.tsx +++ b/packages/styleguide/src/lib/Foundations/ColorMode/CssContract.stories.tsx @@ -21,7 +21,7 @@ type Mode = keyof typeof roles; const panel: React.CSSProperties = { padding: 16, - border: '1px solid var(--colors-border-default)', + border: '1px solid var(--color-border-default)', borderRadius: 4, }; @@ -32,12 +32,12 @@ const Panel: React.FC<{ mode: Mode; children?: React.ReactNode }> = ({ }) => (

{mode} — text-default,{' '} - text-subtle,{' '} - + text-subtle,{' '} + action-primary

@@ -71,7 +71,7 @@ const CssSurface: React.FC<{ const key = ( color in roles[outer] ? roles[outer][color as RoleName].ref : color ) as PaletteKey; - const bg = `var(--colors-${key})`; + const bg = `var(--color-${key})`; return (
{color} - + {' '} → {contentModes[key]} content @@ -132,14 +132,14 @@ export const Surfaces: Story = { /* * gamut components inside a subtree themed only by CSS. Their colors are - * `var(--colors-*)` names, so they follow the attribute. What doesn't follow: + * `var(--color-*)` names, so they follow the attribute. What doesn't follow: * anything that reads the mode from Emotion's theme in JS. */ export const EmotionInsideCss: Story = { render: () => (
Text, an Anchor, and buttons, under a plain{' '} diff --git a/packages/variance/integration/__tests__/variance.test.ts b/packages/variance/integration/__tests__/variance.test.ts index 62cec102ed..8b14c488cd 100644 --- a/packages/variance/integration/__tests__/variance.test.ts +++ b/packages/variance/integration/__tests__/variance.test.ts @@ -266,7 +266,7 @@ describe('css', () => { expect(returnedFn({ theme })).toEqual({ width: '100%', - boxShadow: '0px 0px 0px 0px var(--colors-black)', + boxShadow: '0px 0px 0px 0px var(--color-black)', XS: { width: '200%' }, '&:hover': { width: '50%', diff --git a/packages/variance/src/createTheme/createTheme.test.ts b/packages/variance/src/createTheme/createTheme.test.ts index 7e31bcf5b3..2876dd1b66 100644 --- a/packages/variance/src/createTheme/createTheme.test.ts +++ b/packages/variance/src/createTheme/createTheme.test.ts @@ -67,7 +67,7 @@ describe('createTheme', () => { }; const cssVariableReferences = mapValues( staticColors, - (val) => `var(--colors-${val})` + (val) => `var(--color-${val})` ); const builder = createTheme(base); it('creates color variables', () => { @@ -89,12 +89,12 @@ describe('createTheme', () => { .build(); expect(theme.colors).toEqual({ - ...mapValues(staticColors, (val) => `var(--colors-${val})`), - primary: 'var(--colors-primary)', + ...mapValues(staticColors, (val) => `var(--color-${val})`), + primary: 'var(--color-primary)', }); expect(theme._variables.mode).toEqual({ - '--colors-primary': 'var(--colors-red)', + '--color-primary': 'var(--color-red)', }); }); diff --git a/packages/variance/src/createTheme/createTheme.ts b/packages/variance/src/createTheme/createTheme.ts index 78eed910bd..d162ace627 100644 --- a/packages/variance/src/createTheme/createTheme.ts +++ b/packages/variance/src/createTheme/createTheme.ts @@ -53,7 +53,7 @@ class ThemeBuilder { /** * - * @param colors A map of color tokens to add to the theme. These tokens are immediately converted to CSS Variables `--colors-${key}`. + * @param colors A map of color tokens to add to the theme. These tokens are immediately converted to CSS Variables `--color-${key}`. * @example .addColors({ navy: 'navy', hyper: 'purple' }) */ addColors< @@ -64,14 +64,14 @@ class ThemeBuilder { ): ThemeBuilder< MergeTheme< T & PrivateThemeKeys, - Record<'colors', KeyAsVariable> + Record<'colors', KeyAsVariable> > > { const flatColors = flattenScale(colors); const { variables, tokens } = serializeTokens( // TS 5.9+ no longer resolves LiteralPaths<> as assignable to SerializedTokensInput; flattened scales are plain token maps at runtime. flatColors as Record, - 'colors', + 'color', this.#theme ); this.#theme = merge({}, this.#theme, { @@ -123,7 +123,7 @@ class ThemeBuilder { merge({}, this.#theme.modes?.[initialMode], modes[initialMode]), (color) => this.#theme.colors[color] ), - 'colors', + 'color', this.#theme ); From c737460a4e7fc687a60cf2406c40f0b6b682fe0d Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Fri, 13 Nov 2026 10:53:55 -0500 Subject: [PATCH 09/21] fix(gamut-styles): preload each font file once Roboto 500 and 700 share one bold file, so the preload list had two links with the same key (the file URL), and React warned about duplicate keys. Co-Authored-By: Claude Haiku 5.5 --- packages/gamut-styles/src/AssetProvider.tsx | 11 ++++++++ .../src/__tests__/AssetProvider.test.tsx | 26 +++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/packages/gamut-styles/src/AssetProvider.tsx b/packages/gamut-styles/src/AssetProvider.tsx index d06c2aa1bd..5590f6a666 100644 --- a/packages/gamut-styles/src/AssetProvider.tsx +++ b/packages/gamut-styles/src/AssetProvider.tsx @@ -16,6 +16,12 @@ export const createFontLinks = (fonts?: readonly FontConfig[]) => { return []; } + /* + * One file can back several font faces (Roboto 500 and 700 share a bold file), + * so preload each URL once. The URL is also the React key. + */ + const seen = new Set(); + return currentFonts .filter( (f) => @@ -25,6 +31,11 @@ export const createFontLinks = (fonts?: readonly FontConfig[]) => { f.filePath && f.filePath.trim() !== '' ) + .filter(({ filePath }) => { + if (seen.has(filePath)) return false; + seen.add(filePath); + return true; + }) .map(({ filePath }) => ( { expect(links[0]).toHaveAttribute('crossOrigin', 'anonymous'); }); + it('should preload a file shared by several font faces once', () => { + const fonts = [ + { + filePath: 'https://www.codecademy.com/gamut/roboto-bold', + extensions: ['woff2', 'woff'], + name: 'Roboto', + weight: 'bold', + }, + { + filePath: 'https://www.codecademy.com/gamut/roboto-bold', + extensions: ['woff2', 'woff'], + name: 'Roboto', + weight: 500, + }, + ]; + + const { container } = render(<>{createFontLinks(fonts)}); + const links = getPreloadLinks(container); + + expect(links).toHaveLength(1); + expect(links[0]).toHaveAttribute( + 'href', + 'https://www.codecademy.com/gamut/roboto-bold.woff2' + ); + }); + it('should handle empty fonts array', () => { const { container } = render(<>{createFontLinks([])}); const links = getPreloadLinks(container); From 069f6f1e83387018492291fd79de2cd221526e11 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 18 Nov 2026 11:29:51 -0500 Subject: [PATCH 10/21] docs(gamut-agent-tools): cover color-roles in the scope-swap skill The skill triaged scope-swap only. Add a color-roles section: the dry-run and real-run steps, what the warnings and color-roles: comments mean and what to do for each, the checks before calling it done, and what not to do. The description names the preset so the skill triggers on color-name work. Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit 6f0e3def9a45b76f0e70040a6cc010366332b6e1) --- .../skills/gamut-scope-swap/SKILL.md | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/packages/gamut-agent-tools/skills/gamut-scope-swap/SKILL.md b/packages/gamut-agent-tools/skills/gamut-scope-swap/SKILL.md index bbb26f649e..9df2126617 100644 --- a/packages/gamut-agent-tools/skills/gamut-scope-swap/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-scope-swap/SKILL.md @@ -1,6 +1,6 @@ --- name: gamut-scope-swap -description: Use this skill when moving an app from @codecademy/gamut* packages to @skillsoft/gamut* — running or re-running the scope-swap codemod (@skillsoft/gamut-codemods), triaging its warnings and leftovers, and fixing what it can't rewrite, such as deep imports, Video, renamed Menu exports, tsconfig dom, jest mocks, ESLint plugin keys, Module Federation shared config, the removed gamut-kit, and preview builds. Not for day-to-day Gamut usage after the move (see gamut-review) or for building new UI. +description: Use this skill when moving an app from @codecademy/gamut* packages to @skillsoft/gamut* — running or re-running the scope-swap codemod (@skillsoft/gamut-codemods), triaging its warnings and leftovers, moving color names onto color roles (the color-roles preset), and fixing what it can't rewrite, such as deep imports, Video, renamed Menu exports, tsconfig dom, jest mocks, ESLint plugin keys, Module Federation shared config, the removed gamut-kit, and preview builds. Not for day-to-day Gamut usage after the move (see gamut-review) or for building new UI. --- # Gamut Scope Swap @@ -107,6 +107,42 @@ After the migrations finish: | ESLint: `Definition for rule '…' was not found`, or a disable comment does nothing | The plugin key doesn't match the rewritten directives | Make the plugin key match the directive prefix (see Leftovers). | | Remotes load a second copy of Gamut at runtime | Module Federation `shared` still lists old names on a remote | Update that remote's `shared` config and deploy it with the host. | +## Color roles (`color-roles`) + +`color-roles` is its own preset, separate from the scope swap. It moves Gamut color names onto the roles of the generated color system. Run it after the scope swap, with the same steps as the Workflow: a `--dry` preview first, then a real run once the user confirms, on a clean tree. + +```sh +npx @skillsoft/gamut-codemods color-roles . --dry +``` + +What it rewrites: renamed and merged color names in the color props (JSX and style objects), `theme.colors.x`, `themed('colors.x')`, and old `--color-*` variables in stylesheets and JS strings. Renames and merges are applied. Anything else is left for a person, marked with a `color-roles:` comment or listed as a warning. + +It skips build output (`node_modules`, `dist`, `build`, `coverage`, `.next`, `.nx`, `tmp`) and generated files (`worker-configuration.d.ts`, `next-env.d.ts`), so don't hand-edit those to make the run pass. + +Warnings start with `[color-roles]`, `[color-roles-themes]` or `[color-roles-stylesheets]`. Work through them with these rules: + +- **`'name' splits into …`, `is retired`, or `is pending`.** The name stays, so it fails the type check. The `color-roles:` comment gives design's rule. Pick the role that rule names for where the color is used, replace the name, then delete the comment. Don't pick by name alone. +- **`is an old palette color with no role of its own`.** No role replaces a palette name. Pick one from design's component map: `COMPONENTS` in `@skillsoft/gamut-brand`'s `src/migration.ts`. +- **`color name built at runtime`.** The codemod can't see the value. Check every name the template can produce, like `${variant}-hover`. +- **Card `variant="navy"` (`color-roles:card-navy`).** `navy` becomes `default`, which renders light. Wrap the card in `` if it should stay dark, then delete the comment. +- **`percipioTheme`, `coreTheme`, `PercipioTheme`, `CoreTheme`.** Theme names move to their replacements: `skillsoftTheme`, `originalCodecademyTheme`, and `SkillsoftTheme`. A leftover `CoreTheme` type gets a comment. Brand themes share one shape, typed by `SkillsoftTheme`. +- **`--color-*` in `.css`, `.scss` or `.less`.** The type check can't see stylesheets, so the leftovers report is the only list of what's left. Indented-syntax `.sass` isn't rewritten. Search those by hand for `--color-`. + +Checks before you call it done: + +1. Run the formatter. The `color-roles:` comments make lines long. +2. Type-check. Any old name the codemod left still fails until someone picks its role. +3. The leftovers report lists no `color-roles:` comment. +4. A second `--dry` run over the result reports nothing new to change. + +Don't: + +- Replace a split or palette name with a role you chose by look. Use the rule in the comment, or design's component map. +- Delete a `color-roles:` comment without resolving the name it marks. +- Pass `--force` to get past the clean-tree check. + +The codemod's README (`@skillsoft/gamut-codemods`, "Running color-roles") lists the positions it covers and its limits. + ## What not to do - Don't re-add `@codecademy/gamut-kit`, and don't create `@skillsoft/gamut-kit`.`@codecademy/gamut-kit` is deprecated and `@skillsoft/gamut-kit` never existed. Depend on the individual packages it bundled. From 1b5a4fca95c91d3a3b70f72b685bcd0741142d57 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 18 Nov 2026 11:56:00 -0500 Subject: [PATCH 11/21] docs(gamut-agent-tools): rename the scope-swap skill to gamut-migration and cover every preset The skill covered scope-swap only. It's now gamut-migration: a presets table, one workflow for all presets, a section per preset (scope-swap, color-roles), and a section on documenting a new preset. Renames the changeset to match. Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit f5bf30b53cd1e34360b9d75f01eebc6edc561052) --- .changeset/gamut-migration-skill.md | 5 ++ .changeset/gamut-scope-swap-skill.md | 6 -- .../BREAKING_CHANGES.md | 0 .../NEXT_EMOTION_INTEROP.md | 0 .../SKILL.md | 59 +++++++++++++------ 5 files changed, 45 insertions(+), 25 deletions(-) create mode 100644 .changeset/gamut-migration-skill.md delete mode 100644 .changeset/gamut-scope-swap-skill.md rename packages/gamut-agent-tools/skills/{gamut-scope-swap => gamut-migration}/BREAKING_CHANGES.md (100%) rename packages/gamut-agent-tools/skills/{gamut-scope-swap => gamut-migration}/NEXT_EMOTION_INTEROP.md (100%) rename packages/gamut-agent-tools/skills/{gamut-scope-swap => gamut-migration}/SKILL.md (86%) diff --git a/.changeset/gamut-migration-skill.md b/.changeset/gamut-migration-skill.md new file mode 100644 index 0000000000..1e25d72530 --- /dev/null +++ b/.changeset/gamut-migration-skill.md @@ -0,0 +1,5 @@ +--- +'@skillsoft/gamut-agent-tools': minor +--- + +Add the `gamut-migration` agent skill. It covers every `@skillsoft/gamut-codemods` preset: `scope-swap` for the `@codecademy/gamut*` to `@skillsoft/gamut*` move, and `color-roles` for moving color names onto color roles. For each, it explains the warnings, leftovers and comments the codemod leaves, and what to do about them. It replaces the `gamut-scope-swap` skill. diff --git a/.changeset/gamut-scope-swap-skill.md b/.changeset/gamut-scope-swap-skill.md deleted file mode 100644 index 6b3f020472..0000000000 --- a/.changeset/gamut-scope-swap-skill.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@skillsoft/gamut-agent-tools': minor -'@skillsoft/gamut-codemods': patch ---- - -Add the `gamut-scope-swap` agent skill. It helps with the `@codecademy/gamut*` to `@skillsoft/gamut*` move alongside the `scope-swap` codemod: it reads the warnings and leftovers, and fixes what the codemod can't rewrite. The codemod README now points to it. diff --git a/packages/gamut-agent-tools/skills/gamut-scope-swap/BREAKING_CHANGES.md b/packages/gamut-agent-tools/skills/gamut-migration/BREAKING_CHANGES.md similarity index 100% rename from packages/gamut-agent-tools/skills/gamut-scope-swap/BREAKING_CHANGES.md rename to packages/gamut-agent-tools/skills/gamut-migration/BREAKING_CHANGES.md diff --git a/packages/gamut-agent-tools/skills/gamut-scope-swap/NEXT_EMOTION_INTEROP.md b/packages/gamut-agent-tools/skills/gamut-migration/NEXT_EMOTION_INTEROP.md similarity index 100% rename from packages/gamut-agent-tools/skills/gamut-scope-swap/NEXT_EMOTION_INTEROP.md rename to packages/gamut-agent-tools/skills/gamut-migration/NEXT_EMOTION_INTEROP.md diff --git a/packages/gamut-agent-tools/skills/gamut-scope-swap/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md similarity index 86% rename from packages/gamut-agent-tools/skills/gamut-scope-swap/SKILL.md rename to packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index 9df2126617..a66e3a7172 100644 --- a/packages/gamut-agent-tools/skills/gamut-scope-swap/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -1,38 +1,49 @@ --- -name: gamut-scope-swap -description: Use this skill when moving an app from @codecademy/gamut* packages to @skillsoft/gamut* — running or re-running the scope-swap codemod (@skillsoft/gamut-codemods), triaging its warnings and leftovers, moving color names onto color roles (the color-roles preset), and fixing what it can't rewrite, such as deep imports, Video, renamed Menu exports, tsconfig dom, jest mocks, ESLint plugin keys, Module Federation shared config, the removed gamut-kit, and preview builds. Not for day-to-day Gamut usage after the move (see gamut-review) or for building new UI. +name: gamut-migration +description: Use this skill when running a @skillsoft/gamut-codemods preset to migrate code, or triaging what it reports. Covers scope-swap (moving an app from @codecademy/gamut* packages to @skillsoft/gamut*, including deep imports, Video, renamed Menu exports, tsconfig dom, jest mocks, ESLint plugin keys, Module Federation shared config, the removed gamut-kit, and preview builds), color-roles (moving color names onto color roles), and any later preset. Not for day-to-day Gamut usage after a migration (see gamut-review) or for building new UI. --- -# Gamut Scope Swap +# Gamut Migration -Help an app move from `@codecademy/gamut*` to `@skillsoft/gamut*`. The codemod does the mechanical rewrite. This skill covers what the codemod reports, what it leaves for a person, and how to check the result. +Help an app move with a `@skillsoft/gamut-codemods` preset. The codemod does the mechanical rewrite. This skill covers what each preset reports, what it leaves for a person, and how to check the result. Read the section for the preset you're running. The Workflow and What not to do apply to all of them. -For a short overview of every breaking change, read [BREAKING_CHANGES.md](BREAKING_CHANGES.md). Load it only when you need the full list. The sections below cover triage. +## Presets + +| Preset | Use it for | Run order | +| ------------- | ----------------------------------------------------------- | ------------------ | +| `scope-swap` | Moving from `@codecademy/gamut*` to `@skillsoft/gamut*` | First | +| `color-roles` | Moving Gamut color names onto the roles of the color system | After `scope-swap` | + +For a short overview of every breaking change in the scope move, read [BREAKING_CHANGES.md](BREAKING_CHANGES.md). Load it only when you need the full list. Sources of truth, in order: -1. The codemod's README in `@skillsoft/gamut-codemods`, and `npx @skillsoft/gamut-codemods list` for the migrations in each preset. +1. The codemod's README in `@skillsoft/gamut-codemods`, and `npx @skillsoft/gamut-codemods list` for the presets and the migrations in each. 2. The installed `@skillsoft/gamut` type declarations in `node_modules`. Before you suggest an import, confirm the symbol is actually exported there. Don't invent replacements. 3. The rest of the Gamut skills in this plugin, for choosing a replacement component or style API. -## Workflow +## Workflow (every preset) 1. **Check the starting state.** Run `git status`. The codemod refuses to write into uncommitted changes unless it gets `--force`. If the tree is dirty, ask the user to commit or stash first. Don't add `--force` on your own. -2. **Preview.** Run `npx @skillsoft/gamut-codemods scope-swap . --dry`. It prints every file it would change and its warnings, and writes nothing. Run this before a real run. -3. **Run it,** once the user confirms: `npx @skillsoft/gamut-codemods scope-swap .`. Options: - - `--only=deep-imports,scope-rename` runs a subset of migrations. +2. **Preview.** Run `npx @skillsoft/gamut-codemods . --dry`. It prints every file it would change and its warnings, and writes nothing. Run this before a real run. +3. **Run it,** once the user confirms: `npx @skillsoft/gamut-codemods .`. Run `scope-swap` before `color-roles`. Options: + - `--only=a,b` runs a subset of a preset's migrations, by name. - `--no-report` skips the leftovers report. - To undo a run, `git checkout .`. That only restores the original state if the tree was clean before the run. -4. **Triage the output in this order.** Warnings first, because some change runtime behavior. Then leftovers. Then next steps. +4. **Triage the output in this order.** Warnings first, because some change runtime behavior. Then leftovers and comments. Then next steps. 5. **Verify.** Reinstall with `yarn`, run the formatter, then type-check, lint, test, and build. If the app uses Module Federation, test the host and its remotes together. -If the codemod has already run, ask the user to paste the warnings and the leftovers list. If they can't, find the old names yourself. Exclude lockfiles and build output: +If the codemod has already run, ask the user to paste the warnings and the leftovers list. If they can't, find the old names yourself (for `scope-swap`). Exclude lockfiles and build output: ```sh grep -rn "@codecademy/gamut" --exclude-dir=node_modules --exclude-dir=dist --exclude=yarn.lock . ``` -## Warnings +## Preset: scope-swap + +Moves `@codecademy/gamut*` to `@skillsoft/gamut*`. Its migrations: `deep-imports`, `moved-exports`, `markdown-video-overrides`, `mf-shared`, `eslint-comments`, `scope-rename`, `package-json`, `eslint-config`, `mdx-imports`, `yarnrc`, `tsconfig-dom`, `next-config`. Run `--only=deep-imports,scope-rename` to run a subset. + +### Warnings Each warning starts with `[migration-name] file:line`. The migration name tells you what to check. A skipped migration prints `[migration-name] skipped: ` before the run. `eslint-comments` skips itself when the repo has a flat ESLint config (see Leftovers). @@ -56,7 +67,7 @@ Each warning starts with `[migration-name] file:line`. The migration name tells | `next-config` | `` `experimental.esmExternals: false` makes Next require() … `` | A runtime change. Builds can fail when Next collects page data. See [NEXT_EMOTION_INTEROP.md](NEXT_EMOTION_INTEROP.md), then rebuild every Next app the warning names. | | `tsconfig-dom` | `"lib" has no "dom"` | The root import used to bring in DOM types through `Video`. Add `"dom"` to that tsconfig's `lib` only if type-checking now fails on `document`, `HTMLElement`, `ResizeObserver`, and similar. | -## Leftovers +### Leftovers The leftovers list shows every line that still names an old package. The codemod doesn't rewrite these, and the regex can produce false positives. Go through them one by one: @@ -72,7 +83,7 @@ The leftovers list shows every line that still names an old package. The codemod Don't edit `yarn.lock` by hand. Reinstalling updates it. -## Runs from an older codemod build +### Runs from an older codemod build Migrations match the old `@codecademy` names, so running a newer build over a repo that's already been swapped does nothing for code that has already been renamed. If the first run used an older build (a pkg.pr.new preview, say), check by hand what newer builds handle: @@ -81,7 +92,7 @@ Migrations match the old `@codecademy` names, so running a newer build over a re - **`` iframes and videos.** Current builds skip `markdown-video-overrides` when the repo is already on upstream 74.0.0 or newer, because those apps already pass the overrides where they want them. On an older upstream release, add them as described under `markdown-video-overrides` above. - **`esmExternals: false` and newer-than-source versions.** Run `npx @skillsoft/gamut-codemods scope-swap . --dry` with the current build. Report-only migrations like `next-config`, `tsconfig-dom`, and `package-json` still warn. -## Next steps +### Next steps After the migrations finish: @@ -91,7 +102,7 @@ After the migrations finish: 4. If the app uses Module Federation, run the host and every remote together. 5. If the app depends on preview builds, point every `@skillsoft/*` package at the same preview (including `@skillsoft/eslint-plugin-gamut`) and pin them all with `resolutions`. The codemod README has the exact JSON. Published releases don't need it. -## Common failures +### Common failures | Symptom | Likely cause | Fix | | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -107,9 +118,9 @@ After the migrations finish: | ESLint: `Definition for rule '…' was not found`, or a disable comment does nothing | The plugin key doesn't match the rewritten directives | Make the plugin key match the directive prefix (see Leftovers). | | Remotes load a second copy of Gamut at runtime | Module Federation `shared` still lists old names on a remote | Update that remote's `shared` config and deploy it with the host. | -## Color roles (`color-roles`) +## Preset: color-roles -`color-roles` is its own preset, separate from the scope swap. It moves Gamut color names onto the roles of the generated color system. Run it after the scope swap, with the same steps as the Workflow: a `--dry` preview first, then a real run once the user confirms, on a clean tree. +`color-roles` moves Gamut color names onto the roles of the generated color system. Run it after `scope-swap`, with the same steps as the Workflow: a `--dry` preview first, then a real run once the user confirms, on a clean tree. ```sh npx @skillsoft/gamut-codemods color-roles . --dry @@ -143,6 +154,15 @@ Don't: The codemod's README (`@skillsoft/gamut-codemods`, "Running color-roles") lists the positions it covers and its limits. +## Adding a preset + +When a preset ships in `@skillsoft/gamut-codemods`, document it here in the same change: + +1. Add a row to the Presets table, with the name `list` prints. +2. Add a `## Preset: ` section with the command, what it rewrites and skips, the warning prefixes (`[migration-name]`) and what to do about each, and the checks before calling it done. +3. If the preset leaves comments or leftovers for a person, document the marker and how to resolve it, the way `color-roles:` does. +4. Keep the codemod README in step: its preset table and a "Running " section. This skill points there for limits. + ## What not to do - Don't re-add `@codecademy/gamut-kit`, and don't create `@skillsoft/gamut-kit`.`@codecademy/gamut-kit` is deprecated and `@skillsoft/gamut-kit` never existed. Depend on the individual packages it bundled. @@ -150,6 +170,7 @@ The codemod's README (`@skillsoft/gamut-codemods`, "Running color-roles") lists - Don't silence a warning or leftover by removing the `@skillsoft` entry it points at. - Don't bump any `@skillsoft/*` package outside the group's shared version. The packages move together. - Don't run the codemod on a dirty tree, and don't pass `--force` to get past the check. +- Don't hand-edit build output or generated files to get a run to pass. The codemod skips them on purpose. ## Reporting back From ee7f57170024e6e292a67545d5e968599d28bcb4 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 18 Nov 2026 11:56:08 -0500 Subject: [PATCH 12/21] docs(gamut-agent-tools): point the README at the gamut-migration skill Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit 15c76997ec88f4487c9ce48b2ecf0db851a21290) --- packages/gamut-agent-tools/README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/gamut-agent-tools/README.md b/packages/gamut-agent-tools/README.md index 1f6b0d595d..5b1283a5a7 100644 --- a/packages/gamut-agent-tools/README.md +++ b/packages/gamut-agent-tools/README.md @@ -31,9 +31,16 @@ The first time you run `gamut plugin install` or `update`, it installs `@skillso Before large PRs, or when onboarding an existing codebase, run the `gamut-review` skill to audit for Gamut usage — dependencies, setup, import patterns, `styled()` wrapping that bypasses system props, hardcoded colors, bespoke component duplication, and test conventions. -### Moving from `@codecademy/gamut` +### Migrating with `@skillsoft/gamut-codemods` -If your app still depends on `@codecademy/gamut*`, the `gamut-scope-swap` skill helps with the move to `@skillsoft/gamut*`. It works alongside the [`@skillsoft/gamut-codemods`](../gamut-codemods/README.md) `scope-swap` preset. The codemod does the mechanical rewrite. The skill reads what it reports, including warnings, leftovers, and next steps, and helps with the parts it can't rewrite: deep imports, `Video`, renamed Menu exports, tsconfig `dom`, jest mocks, ESLint plugin keys, Module Federation config, and preview builds. It doesn't run the codemod unless you ask it to. +The `gamut-migration` skill helps with each [`@skillsoft/gamut-codemods`](../gamut-codemods/README.md) preset. The codemod does the mechanical rewrite. The skill reads what it reports (warnings, leftovers, and comments), and helps with the parts it can't rewrite. + +- `scope-swap` moves `@codecademy/gamut*` to `@skillsoft/gamut*`. The skill covers deep imports, `Video`, renamed Menu exports, tsconfig `dom`, jest mocks, ESLint plugin keys, Module Federation config, and preview builds. +- `color-roles` moves Gamut color names onto the roles of the color system. The skill covers the splits, palette colors, and runtime names it marks for a person. + +It doesn't run the codemod unless you ask it to. When a preset ships, the skill gets a section for it. + +If your app still depends on `@codecademy/gamut*`, run `scope-swap` first. Then install the plugin. Install the plugin after the swap. The `gamut` CLI comes from `@skillsoft/gamut`, so that package has to be in the app first. From 7712bcd7092729c59e1c6fd8122a00459909c6f4 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 18 Nov 2026 11:56:13 -0500 Subject: [PATCH 13/21] docs(gamut-agent-tools): drop a duplicated sentence in the migration section Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit 80522ced9b61980ae24362a2f65d90799b593ace) --- packages/gamut-agent-tools/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gamut-agent-tools/README.md b/packages/gamut-agent-tools/README.md index 5b1283a5a7..a6ff40fbb6 100644 --- a/packages/gamut-agent-tools/README.md +++ b/packages/gamut-agent-tools/README.md @@ -40,7 +40,7 @@ The `gamut-migration` skill helps with each [`@skillsoft/gamut-codemods`](../gam It doesn't run the codemod unless you ask it to. When a preset ships, the skill gets a section for it. -If your app still depends on `@codecademy/gamut*`, run `scope-swap` first. Then install the plugin. +If your app still depends on `@codecademy/gamut*`, run `scope-swap` first. Install the plugin after the swap. The `gamut` CLI comes from `@skillsoft/gamut`, so that package has to be in the app first. From 10834c5d9304c7dfe66abc7e633a8fa2d1795a5a Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Wed, 18 Nov 2026 14:56:53 -0500 Subject: [PATCH 14/21] docs(gamut-agent-tools): cover the migration gaps in the gamut-migration skill - next-config: removing esmExternals: false is necessary but not always enough. Build each app and fix the routes that still fail at prerender. - CI: the job that runs sync-gamut-deps fails too, so change it with the script. - resolutions: yarn why can list two lock locators after a pin, with one copy installed. Check node_modules. - tsconfig-dom: the codemod warns only where gamut is imported. - Missing peers: @vidstack/react, react-player and stylis, with the range to add by hand. - color-roles: a palette name can map to different roles by slot, so use the context in the comment. Keep each app's theme, since the choice changes the spacing scale. Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit a0f18dc194e29eb4b4c867d8df3fd8dfd3685f1c) --- .../skills/gamut-migration/SKILL.md | 73 ++++++++++--------- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index a66e3a7172..c3a377d506 100644 --- a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -47,25 +47,25 @@ Moves `@codecademy/gamut*` to `@skillsoft/gamut*`. Its migrations: `deep-imports Each warning starts with `[migration-name] file:line`. The migration name tells you what to check. A skipped migration prints `[migration-name] skipped: ` before the run. `eslint-comments` skips itself when the repo has a flat ESLint config (see Leftovers). -| Migration | Warning starts with | What to do | -| -------------------------- | ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `deep-imports` | `unmapped deep import '…'` | The codemod has no mapping for this path. Find the symbol in the installed `@skillsoft/gamut` types. If it's exported from the root, import it from there. If it isn't public, don't deep-import the `dist` path. Ask the Gamut team. | -| `deep-imports` | `… has no public replacement` | `ButtonBase` is deliberately private. Use `FillButton`, `StrokeButton`, `TextButton`, `IconButton`, or `CTAButton`. See the `gamut-buttons` skill for which one. | -| `deep-imports` | `… is only partly public` | Only some names from this path are public. Inline the styles, or use system props or `css()`. See `gamut-style-utilities` and `gamut-system-props`. | -| `deep-imports` | `deep import … in a mock or require() needs a manual rewrite` | Rewrite the mock or `require()` path by hand. | -| `deep-imports` | `rewrote … in a mock or require(). That now covers the whole package` | `jest.mock` of a deep path now mocks the whole package. Check the test still mocks what it needs. If the rename list applies, update renamed names too. | -| `moved-exports` | `namespace import uses …` | `import * as Gamut` can't be rewritten safely. Replace it with named imports. `Video` and `VideoProps` come from `@skillsoft/gamut/Video`. | -| `moved-exports` | `'export *' from … no longer re-exports …` | Add an explicit re-export from `@skillsoft/gamut/Video` if other code depends on it. | -| `moved-exports` | `mock of … stubs Video/VideoProps` | Mock `@skillsoft/gamut/Video` instead of the root package. | -| `markdown-video-overrides` | `skipDefaultOverrides is not an object literal` or `… is not a boolean literal` | The codemod couldn't tell whether this `` opted out of iframes or videos. Pass `iframeOverride={Iframe}` and `videoOverride={MarkdownVideo}` (both from `@skillsoft/gamut/Video`) unless it skipped them. | -| `markdown-video-overrides` | `a different import already uses the name Iframe or MarkdownVideo` | Import the overrides under another local name and pass them by hand. | -| `scope-rename` | `'@codecademy/gamut-kit' has no replacement package` | `gamut-kit` is removed, with no `@skillsoft` replacement. Depend on the individual packages it bundled. | -| `scope-rename` | `renamed N package-name string(s) outside imports. Check the diff.` | Review those lines in the diff. They're usually config or log strings, and a few may not be package names at all. | -| `package-json` | `…: replaced '@codecademy/gamut-kit' with its individual packages` | The individual packages are written at the release range (`^`), not at the kit's old version. They all land in the field `gamut-kit` was in, so `@skillsoft/gamut-tests` may end up in `dependencies`. Move it to `devDependencies` if it belongs there. | -| `package-json` | `… is newer than …, the last release … matches` | The app was on a newer upstream release than `@skillsoft` has synced. Expect type errors where the code uses what that release added. Check the upstream CHANGELOG, and ask the Gamut team before working around it. | -| `mf-shared` | `replaced … in Module Federation shared config` | This is a runtime change. Gamut is now actually shared as a singleton, so host and remotes must agree. Update each remote's shared config to match and deploy them together. | -| `next-config` | `` `experimental.esmExternals: false` makes Next require() … `` | A runtime change. Builds can fail when Next collects page data. See [NEXT_EMOTION_INTEROP.md](NEXT_EMOTION_INTEROP.md), then rebuild every Next app the warning names. | -| `tsconfig-dom` | `"lib" has no "dom"` | The root import used to bring in DOM types through `Video`. Add `"dom"` to that tsconfig's `lib` only if type-checking now fails on `document`, `HTMLElement`, `ResizeObserver`, and similar. | +| Migration | Warning starts with | What to do | +| -------------------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `deep-imports` | `unmapped deep import '…'` | The codemod has no mapping for this path. Find the symbol in the installed `@skillsoft/gamut` types. If it's exported from the root, import it from there. If it isn't public, don't deep-import the `dist` path. Ask the Gamut team. | +| `deep-imports` | `… has no public replacement` | `ButtonBase` is deliberately private. Use `FillButton`, `StrokeButton`, `TextButton`, `IconButton`, or `CTAButton`. See the `gamut-buttons` skill for which one. | +| `deep-imports` | `… is only partly public` | Only some names from this path are public. Inline the styles, or use system props or `css()`. See `gamut-style-utilities` and `gamut-system-props`. | +| `deep-imports` | `deep import … in a mock or require() needs a manual rewrite` | Rewrite the mock or `require()` path by hand. | +| `deep-imports` | `rewrote … in a mock or require(). That now covers the whole package` | `jest.mock` of a deep path now mocks the whole package. Check the test still mocks what it needs. If the rename list applies, update renamed names too. | +| `moved-exports` | `namespace import uses …` | `import * as Gamut` can't be rewritten safely. Replace it with named imports. `Video` and `VideoProps` come from `@skillsoft/gamut/Video`. | +| `moved-exports` | `'export *' from … no longer re-exports …` | Add an explicit re-export from `@skillsoft/gamut/Video` if other code depends on it. | +| `moved-exports` | `mock of … stubs Video/VideoProps` | Mock `@skillsoft/gamut/Video` instead of the root package. | +| `markdown-video-overrides` | `skipDefaultOverrides is not an object literal` or `… is not a boolean literal` | The codemod couldn't tell whether this `` opted out of iframes or videos. Pass `iframeOverride={Iframe}` and `videoOverride={MarkdownVideo}` (both from `@skillsoft/gamut/Video`) unless it skipped them. | +| `markdown-video-overrides` | `a different import already uses the name Iframe or MarkdownVideo` | Import the overrides under another local name and pass them by hand. | +| `scope-rename` | `'@codecademy/gamut-kit' has no replacement package` | `gamut-kit` is removed, with no `@skillsoft` replacement. Depend on the individual packages it bundled. | +| `scope-rename` | `renamed N package-name string(s) outside imports. Check the diff.` | Review those lines in the diff. They're usually config or log strings, and a few may not be package names at all. | +| `package-json` | `…: replaced '@codecademy/gamut-kit' with its individual packages` | The individual packages are written at the release range (`^`), not at the kit's old version. They all land in the field `gamut-kit` was in, so `@skillsoft/gamut-tests` may end up in `dependencies`. Move it to `devDependencies` if it belongs there. | +| `package-json` | `… is newer than …, the last release … matches` | The app was on a newer upstream release than `@skillsoft` has synced. Expect type errors where the code uses what that release added. Check the upstream CHANGELOG, and ask the Gamut team before working around it. | +| `mf-shared` | `replaced … in Module Federation shared config` | This is a runtime change. Gamut is now actually shared as a singleton, so host and remotes must agree. Update each remote's shared config to match and deploy them together. | +| `next-config` | `` `experimental.esmExternals: false` makes Next require() … `` | A runtime change. Builds can fail when Next collects page data. See [NEXT_EMOTION_INTEROP.md](NEXT_EMOTION_INTEROP.md), then rebuild every Next app the warning names. Removing the flag is necessary but not always enough: an app can still fail at prerender afterwards (`reading 'push'` on a page, `reading 'slice'` on a dynamic route). Build each app and fix each failing route on its own. | +| `tsconfig-dom` | `"lib" has no "dom"` | The root import used to bring in DOM types through `Video`. Add `"dom"` to that tsconfig's `lib` only if type-checking now fails on `document`, `HTMLElement`, `ResizeObserver`, and similar. The codemod warns only in projects that import `@skillsoft/gamut`, so a worker or script project that never imports Gamut doesn't need it. | ### Leftovers @@ -76,7 +76,7 @@ The leftovers list shows every line that still names an old package. The codemod - Flat config: the prefix is the `plugins` key. With `plugins: { gamut }`, rules and directives stay `gamut/`. When the repo has a flat config, `eslint-comments` leaves directives alone. - Legacy `.eslintrc` / `.eslintrc.json`: `eslint-config` and `eslint-comments` move everything to `plugin:@skillsoft/gamut/...` and `@skillsoft/gamut/`. - To rename the flat-config key, rename the key, every rule key, and every directive together. -- **Scripts and CI that read `@codecademy/gamut-kit`.** Version-sync scripts like `sync-gamut-deps` read the kit's `package.json` from `node_modules` and exit when it's missing, which fails CI. Delete them, or make them check that every `@skillsoft` Gamut package uses the same version (they're released together). Update the docs that point to them. +- **Scripts and CI that read `@codecademy/gamut-kit`.** Version-sync scripts like `sync-gamut-deps` read the kit's `package.json` from `node_modules` and exit when it's missing, which fails CI. Delete them, or make them check that every `@skillsoft` Gamut package uses the same version (they're released together). Update the docs that point to them. The CI job that runs the script fails too: search `.github/workflows` for it (for example `sync-gamut-deps --check`), and change or remove that job in the same change. - **Storybook config, docs, and comments.** Update them or leave them, but know they still say the old name. - **Code samples in `.mdx`.** Fenced code blocks are left alone on purpose. Update them by hand if they matter. - **Files the parser skipped.** Every file is parsed as `tsx`, so Flow-typed JavaScript is skipped. Fix any old names left in those files by hand. @@ -104,19 +104,20 @@ After the migrations finish: ### Common failures -| Symptom | Likely cause | Fix | -| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Module '"@skillsoft/gamut"' has no exported member 'Video'` | `Video` was imported from the root | Import from `@skillsoft/gamut/Video`. | -| `Cannot find name 'document'`, `HTMLElement`, or `ResizeObserver` | The affected tsconfig's `lib` has no `"dom"` | Add `"dom"` to that tsconfig's `compilerOptions.lib`. | -| Components render unstyled, or theme values don't apply | Two copies of `@skillsoft/gamut-styles` or `@skillsoft/variance` are installed | Run `yarn why @skillsoft/gamut-styles`. Make every `@skillsoft/*` package resolve to one version. Pin previews with `resolutions`. | -| `MenuList`, `MenuListItem`, or `IconOptionComponent` is not exported | Menu's `List*` and SelectDropdown's `IconOption` were renamed on the way to the root | Import the new name. Keep the local alias if the code relies on it, e.g. `import { MenuList as List }`. | -| Jest can't resolve `@skillsoft/...` modules, or a mock doesn't apply | A stale `moduleNameMapper` regex, or a mock still points at the root package | Update the mapper. Mock `@skillsoft/gamut/Video` for `Video`. | -| `Cannot find module '@skillsoft/gamut/Video'`, or `MenuList` is missing, right after install | The installed `@skillsoft/gamut` is older than the codemod. A range like `^0.0.1` can resolve to a release cut before these changes | Check `node_modules/@skillsoft/gamut/package.json` and its `exports`. Point at a build that has them (a newer release, or the matching preview), not at the old deep paths. | -| A preview fix doesn't show up after a push, even after `yarn up` | Yarn treats a `@.tgz` URL as fixed. The lockfile entry and the global cache keep the first build it fetched | Delete the `@skillsoft/*` preview entries from `yarn.lock`, the matching `@skillsoft-*-https-*` zips in the Yarn cache (`yarn config get cacheFolder`), and `node_modules/@skillsoft`, then run `yarn`. Check a file you know changed before you trust the type-check. | -| `import/no-duplicates` on `@skillsoft/gamut`, or hundreds of `simple-import-sort` errors | Rewritten imports weren't merged or re-sorted | Run `eslint --fix`. | -| `Cannot find module '@codecademy/gamut/dist/...'` after the run | The file was skipped by the parser, or the path is in a code sample | Rewrite the import by hand, following the rules above. | -| ESLint: `Definition for rule '…' was not found`, or a disable comment does nothing | The plugin key doesn't match the rewritten directives | Make the plugin key match the directive prefix (see Leftovers). | -| Remotes load a second copy of Gamut at runtime | Module Federation `shared` still lists old names on a remote | Update that remote's `shared` config and deploy it with the host. | +| Symptom | Likely cause | Fix | +| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Module '"@skillsoft/gamut"' has no exported member 'Video'` | `Video` was imported from the root | Import from `@skillsoft/gamut/Video`. | +| `Cannot find name 'document'`, `HTMLElement`, or `ResizeObserver` | The affected tsconfig's `lib` has no `"dom"` | Add `"dom"` to that tsconfig's `compilerOptions.lib`. | +| Components render unstyled, or theme values don't apply | Two copies of `@skillsoft/gamut-styles` or `@skillsoft/variance` are installed | Run `yarn why @skillsoft/gamut-styles`. Make every `@skillsoft/*` package resolve to one version. Pin previews with `resolutions`. After a `resolutions` pin, `yarn why` can list two lock locators for one package. Check `node_modules//package.json` for the copies that are actually installed; one copy is fine. | +| `MenuList`, `MenuListItem`, or `IconOptionComponent` is not exported | Menu's `List*` and SelectDropdown's `IconOption` were renamed on the way to the root | Import the new name. Keep the local alias if the code relies on it, e.g. `import { MenuList as List }`. | +| Jest can't resolve `@skillsoft/...` modules, or a mock doesn't apply | A stale `moduleNameMapper` regex, or a mock still points at the root package | Update the mapper. Mock `@skillsoft/gamut/Video` for `Video`. | +| `Cannot find module '@skillsoft/gamut/Video'`, or `MenuList` is missing, right after install | The installed `@skillsoft/gamut` is older than the codemod. A range like `^0.0.1` can resolve to a release cut before these changes | Check `node_modules/@skillsoft/gamut/package.json` and its `exports`. Point at a build that has them (a newer release, or the matching preview), not at the old deep paths. | +| A preview fix doesn't show up after a push, even after `yarn up` | Yarn treats a `@.tgz` URL as fixed. The lockfile entry and the global cache keep the first build it fetched | Delete the `@skillsoft/*` preview entries from `yarn.lock`, the matching `@skillsoft-*-https-*` zips in the Yarn cache (`yarn config get cacheFolder`), and `node_modules/@skillsoft`, then run `yarn`. Check a file you know changed before you trust the type-check. | +| `import/no-duplicates` on `@skillsoft/gamut`, or hundreds of `simple-import-sort` errors | Rewritten imports weren't merged or re-sorted | Run `eslint --fix`. | +| `Cannot find module '@codecademy/gamut/dist/...'` after the run | The file was skipped by the parser, or the path is in a code sample | Rewrite the import by hand, following the rules above. | +| ESLint: `Definition for rule '…' was not found`, or a disable comment does nothing | The plugin key doesn't match the rewritten directives | Make the plugin key match the directive prefix (see Leftovers). | +| Module not found: `@vidstack/react`, `react-player`, or `stylis`, after the scope move | The app uses `Video` or `@skillsoft/gamut-styles` without the peers they need. Gamut no longer installs them | `package-json` adds these when the app depends on a Gamut package that needs them, so check its warnings. To add one by hand, use the range the package declares: `yarn add @vidstack/react@~1.12.12 react-player@^3.4.0 stylis@^4.0.7` (only the ones the app needs). | +| Remotes load a second copy of Gamut at runtime | Module Federation `shared` still lists old names on a remote | Update that remote's `shared` config and deploy it with the host. | ## Preset: color-roles @@ -133,12 +134,14 @@ It skips build output (`node_modules`, `dist`, `build`, `coverage`, `.next`, `.n Warnings start with `[color-roles]`, `[color-roles-themes]` or `[color-roles-stylesheets]`. Work through them with these rules: - **`'name' splits into …`, `is retired`, or `is pending`.** The name stays, so it fails the type check. The `color-roles:` comment gives design's rule. Pick the role that rule names for where the color is used, replace the name, then delete the comment. Don't pick by name alone. -- **`is an old palette color with no role of its own`.** No role replaces a palette name. Pick one from design's component map: `COMPONENTS` in `@skillsoft/gamut-brand`'s `src/migration.ts`. +- **`is an old palette color with no role of its own`.** No role replaces a palette name, and one name can map to different roles by slot: `navy` is a border in one place and text in another. The `color-roles:` comment says where the name is used (a prop, a `theme.colors` lookup, or a CSS variable). Pick the role for that use from design's component map, `COMPONENTS` in `@skillsoft/gamut-brand`'s `src/migration.ts`, then delete the comment. - **`color name built at runtime`.** The codemod can't see the value. Check every name the template can produce, like `${variant}-hover`. - **Card `variant="navy"` (`color-roles:card-navy`).** `navy` becomes `default`, which renders light. Wrap the card in `` if it should stay dark, then delete the comment. -- **`percipioTheme`, `coreTheme`, `PercipioTheme`, `CoreTheme`.** Theme names move to their replacements: `skillsoftTheme`, `originalCodecademyTheme`, and `SkillsoftTheme`. A leftover `CoreTheme` type gets a comment. Brand themes share one shape, typed by `SkillsoftTheme`. +- **`percipioTheme`, `coreTheme`, `PercipioTheme`, `CoreTheme`.** Theme names move to their replacements: `skillsoftTheme`, `originalCodecademyTheme`, and `SkillsoftTheme`. A leftover `CoreTheme` type gets a comment. Brand themes share one shape, typed by `SkillsoftTheme`. That is a type, not a theme to switch to: keep the theme the app already uses. - **`--color-*` in `.css`, `.scss` or `.less`.** The type check can't see stylesheets, so the leftovers report is the only list of what's left. Indented-syntax `.sass` isn't rewritten. Search those by hand for `--color-`. +**Keep each app's theme.** The codemod doesn't choose a brand theme. An app keeps the one it uses (`originalCodecademyTheme`, `adminTheme`, `platformTheme`, or `skillsoftTheme`). Changing the theme changes the spacing scale: in one repo, numeric `padding` and `border` values failed the type check under `skillsoftTheme` and passed under `originalCodecademyTheme`. Type-check after any theme change. + Checks before you call it done: 1. Run the formatter. The `color-roles:` comments make lines long. From c43cce45ad62a45ed3718d182cc99fd3bcf341e3 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 19 Nov 2026 14:58:36 -0500 Subject: [PATCH 15/21] docs(gamut-agent-tools): explain the palette defaults in the gamut-migration skill Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit bb684b95119393bd9dac89bdfcc70eb245c108f2) --- packages/gamut-agent-tools/skills/gamut-migration/SKILL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index c3a377d506..59dc9b552b 100644 --- a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -134,6 +134,8 @@ It skips build output (`node_modules`, `dist`, `build`, `coverage`, `.next`, `.n Warnings start with `[color-roles]`, `[color-roles-themes]` or `[color-roles-stylesheets]`. Work through them with these rules: - **`'name' splits into …`, `is retired`, or `is pending`.** The name stays, so it fails the type check. The `color-roles:` comment gives design's rule. Pick the role that rule names for where the color is used, replace the name, then delete the comment. Don't pick by name alone. +- **Palette defaults (`color-roles:palette-default`).** The codemod replaces some old palette names in color props without a comment, because the use is known from the prop. Red becomes an error role: `surface-error` as a fill, `text-error` for text and borders. Green is the same with success (`surface-success`, `text-success`). White becomes `surface-raised` as a fill, `text-inverse` as text, and `border-subtle` as a border. Navy takes the nearest role by brightness: `surface-default` or `surface-sunken` for light fills, `text-subtle` or `text-default` for text, `border-*` for borders. The rules are in `presets/color-roles/decisions.ts`. + Check each one in context. A red button fill should be `action-danger`, not `surface-error`, so that's the one to look at first. Navy fills at 400 and darker, and any palette name inside a theme lookup or a CSS variable, stay warnings for design. - **`is an old palette color with no role of its own`.** No role replaces a palette name, and one name can map to different roles by slot: `navy` is a border in one place and text in another. The `color-roles:` comment says where the name is used (a prop, a `theme.colors` lookup, or a CSS variable). Pick the role for that use from design's component map, `COMPONENTS` in `@skillsoft/gamut-brand`'s `src/migration.ts`, then delete the comment. - **`color name built at runtime`.** The codemod can't see the value. Check every name the template can produce, like `${variant}-hover`. - **Card `variant="navy"` (`color-roles:card-navy`).** `navy` becomes `default`, which renders light. Wrap the card in `` if it should stay dark, then delete the comment. From 25b3269ba89ecda2887358368c32dca10654f031 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 19 Nov 2026 15:06:49 -0500 Subject: [PATCH 16/21] docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-migration skill Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit b35dc0981d955fa14429adc4c4078ba0b330bd42) --- packages/gamut-agent-tools/skills/gamut-migration/SKILL.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index 59dc9b552b..91ceb2eabc 100644 --- a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -137,6 +137,10 @@ Warnings start with `[color-roles]`, `[color-roles-themes]` or `[color-roles-sty - **Palette defaults (`color-roles:palette-default`).** The codemod replaces some old palette names in color props without a comment, because the use is known from the prop. Red becomes an error role: `surface-error` as a fill, `text-error` for text and borders. Green is the same with success (`surface-success`, `text-success`). White becomes `surface-raised` as a fill, `text-inverse` as text, and `border-subtle` as a border. Navy takes the nearest role by brightness: `surface-default` or `surface-sunken` for light fills, `text-subtle` or `text-default` for text, `border-*` for borders. The rules are in `presets/color-roles/decisions.ts`. Check each one in context. A red button fill should be `action-danger`, not `surface-error`, so that's the one to look at first. Navy fills at 400 and darker, and any palette name inside a theme lookup or a CSS variable, stay warnings for design. - **`is an old palette color with no role of its own`.** No role replaces a palette name, and one name can map to different roles by slot: `navy` is a border in one place and text in another. The `color-roles:` comment says where the name is used (a prop, a `theme.colors` lookup, or a CSS variable). Pick the role for that use from design's component map, `COMPONENTS` in `@skillsoft/gamut-brand`'s `src/migration.ts`, then delete the comment. +- **`hyper` and `yellow` (no default yet).** Both stay warnings. They are the old primary and second brand color, so they don't map to a role by name, and the brand decides where they go. + - `hyper` is the primary. In the light theme it fills primary buttons and marks links and focus. Map it to `action-primary` (with its hover and pressed roles), not to `accent-alt`: `accent-alt` is a second brand color, and it would turn primary buttons into that color. + - `yellow` is the second brand color. It is the warning feedback color (`surface-warning` and `text-warning`), the dark-mode primary (`action-primary` through the brand's override), and decoration: Gantt tracks, badges, card fills, callouts. Split it by use. Warning goes to the warning roles; decoration goes to `surface-brand` or a `viz-*` series. + - `accent` and `accent-alt` are palette slots, not roles. No role is named `accent`. A brand sets them, and `surface-brand` and the dark-mode primary read them. Which brand color yellow becomes is a brand decision: Original Codecademy keeps yellow as its accent, and Skillsoft's accent is a different color. Don't pick the accent color for a brand yourself. - **`color name built at runtime`.** The codemod can't see the value. Check every name the template can produce, like `${variant}-hover`. - **Card `variant="navy"` (`color-roles:card-navy`).** `navy` becomes `default`, which renders light. Wrap the card in `` if it should stay dark, then delete the comment. - **`percipioTheme`, `coreTheme`, `PercipioTheme`, `CoreTheme`.** Theme names move to their replacements: `skillsoftTheme`, `originalCodecademyTheme`, and `SkillsoftTheme`. A leftover `CoreTheme` type gets a comment. Brand themes share one shape, typed by `SkillsoftTheme`. That is a type, not a theme to switch to: keep the theme the app already uses. From cf98537df15d63a5eabe33ef02e27e2b7c8deb36 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 19 Nov 2026 15:11:04 -0500 Subject: [PATCH 17/21] docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration skill Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit 552d1486f830cf8592abdbebd89880a2c1ccb17e) --- packages/gamut-agent-tools/skills/gamut-migration/SKILL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index 91ceb2eabc..27c274b484 100644 --- a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -141,6 +141,8 @@ Warnings start with `[color-roles]`, `[color-roles-themes]` or `[color-roles-sty - `hyper` is the primary. In the light theme it fills primary buttons and marks links and focus. Map it to `action-primary` (with its hover and pressed roles), not to `accent-alt`: `accent-alt` is a second brand color, and it would turn primary buttons into that color. - `yellow` is the second brand color. It is the warning feedback color (`surface-warning` and `text-warning`), the dark-mode primary (`action-primary` through the brand's override), and decoration: Gantt tracks, badges, card fills, callouts. Split it by use. Warning goes to the warning roles; decoration goes to `surface-brand` or a `viz-*` series. - `accent` and `accent-alt` are palette slots, not roles. No role is named `accent`. A brand sets them, and `surface-brand` and the dark-mode primary read them. Which brand color yellow becomes is a brand decision: Original Codecademy keeps yellow as its accent, and Skillsoft's accent is a different color. Don't pick the accent color for a brand yourself. +- **`blue-500` and `blue` (partly defaulted).** `blue-500` is admin's light-mode primary (`#1557FF`), and bare `blue` is the same color. The codemod maps their text to `action-primary`, because link and focus text is interactive. Fills and borders stay warnings: they mix interactive uses (selection buttons) with decoration (the Skillsoft family block), and only a person can tell them apart. Map those to `action-primary` when they're interactive, and to `surface-brand` or a `viz-*` series when they're decoration. + Don't map the brand's blue to the Skillsoft primary by hex. Skillsoft's primary is Sapphire, `#1C50BB`, which is close to LX Studio's and Percipio's primary but not the same as admin's blue. - **`color name built at runtime`.** The codemod can't see the value. Check every name the template can produce, like `${variant}-hover`. - **Card `variant="navy"` (`color-roles:card-navy`).** `navy` becomes `default`, which renders light. Wrap the card in `` if it should stay dark, then delete the comment. - **`percipioTheme`, `coreTheme`, `PercipioTheme`, `CoreTheme`.** Theme names move to their replacements: `skillsoftTheme`, `originalCodecademyTheme`, and `SkillsoftTheme`. A leftover `CoreTheme` type gets a comment. Brand themes share one shape, typed by `SkillsoftTheme`. That is a type, not a theme to switch to: keep the theme the app already uses. From a7dc21967a4659a83db4f956d16bbc70043ea73a Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 19 Nov 2026 15:11:42 -0500 Subject: [PATCH 18/21] docs(gamut-agent-tools): work through open color decisions with the user in the gamut-migration skill Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit 7d92c953fe5a7ef8ce624b33230050ca07d70afe) --- .../skills/gamut-migration/SKILL.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index 27c274b484..ae700afd4e 100644 --- a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -165,6 +165,18 @@ Don't: The codemod's README (`@skillsoft/gamut-codemods`, "Running color-roles") lists the positions it covers and its limits. +## Working through open color decisions + +Some palette names have no default, because the right role depends on the brand or the screen. When the user asks you to work through them, do it with them, one decision at a time. Don't pick a role for them. + +1. List the open names from the codemod's warnings (`is an old palette color`), grouped by name, with the kind of use (fill, text, border) and a count. +2. For each name, show the uses the way a person can see them: the file, the component, and the prop. Name the candidate roles from the rules in this section, and say which one you'd pick and why. +3. Ask one question per name with the candidate roles as options, and leave room for another role or "keep the warning". Use AskUserQuestion when it's available. +4. Write the answer into `presets/color-roles/decisions.ts` in the codemod, with a comment naming the use it covers. Add a test for it, then run the suite, the type-check and the lint. +5. Record a decision the user made about a brand (which color is the accent, which blue is the primary) in the brand's own file, not in this skill. + +Start with the names that have the most sites. Open today: `yellow` (its role depends on the brand), dark navy fills (400 and darker, since the closest surface is light), the `blue-500` and `blue` fills and borders, and the palette names the rules above don't cover. + ## Adding a preset When a preset ships in `@skillsoft/gamut-codemods`, document it here in the same change: From 3de67b7ff5a5d86d04444f6bc88a6cb454ffe520 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Fri, 20 Nov 2026 08:42:10 -0500 Subject: [PATCH 19/21] docs(gamut-agent-tools): stop adding stylis by hand; cover the duplicate-stylis symptom Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit 0dc47cfdbf9990754fe0d04fc7c6bea00d681ae4) --- .../skills/gamut-migration/SKILL.md | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index ae700afd4e..06625f024a 100644 --- a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -104,20 +104,21 @@ After the migrations finish: ### Common failures -| Symptom | Likely cause | Fix | -| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `Module '"@skillsoft/gamut"' has no exported member 'Video'` | `Video` was imported from the root | Import from `@skillsoft/gamut/Video`. | -| `Cannot find name 'document'`, `HTMLElement`, or `ResizeObserver` | The affected tsconfig's `lib` has no `"dom"` | Add `"dom"` to that tsconfig's `compilerOptions.lib`. | -| Components render unstyled, or theme values don't apply | Two copies of `@skillsoft/gamut-styles` or `@skillsoft/variance` are installed | Run `yarn why @skillsoft/gamut-styles`. Make every `@skillsoft/*` package resolve to one version. Pin previews with `resolutions`. After a `resolutions` pin, `yarn why` can list two lock locators for one package. Check `node_modules//package.json` for the copies that are actually installed; one copy is fine. | -| `MenuList`, `MenuListItem`, or `IconOptionComponent` is not exported | Menu's `List*` and SelectDropdown's `IconOption` were renamed on the way to the root | Import the new name. Keep the local alias if the code relies on it, e.g. `import { MenuList as List }`. | -| Jest can't resolve `@skillsoft/...` modules, or a mock doesn't apply | A stale `moduleNameMapper` regex, or a mock still points at the root package | Update the mapper. Mock `@skillsoft/gamut/Video` for `Video`. | -| `Cannot find module '@skillsoft/gamut/Video'`, or `MenuList` is missing, right after install | The installed `@skillsoft/gamut` is older than the codemod. A range like `^0.0.1` can resolve to a release cut before these changes | Check `node_modules/@skillsoft/gamut/package.json` and its `exports`. Point at a build that has them (a newer release, or the matching preview), not at the old deep paths. | -| A preview fix doesn't show up after a push, even after `yarn up` | Yarn treats a `@.tgz` URL as fixed. The lockfile entry and the global cache keep the first build it fetched | Delete the `@skillsoft/*` preview entries from `yarn.lock`, the matching `@skillsoft-*-https-*` zips in the Yarn cache (`yarn config get cacheFolder`), and `node_modules/@skillsoft`, then run `yarn`. Check a file you know changed before you trust the type-check. | -| `import/no-duplicates` on `@skillsoft/gamut`, or hundreds of `simple-import-sort` errors | Rewritten imports weren't merged or re-sorted | Run `eslint --fix`. | -| `Cannot find module '@codecademy/gamut/dist/...'` after the run | The file was skipped by the parser, or the path is in a code sample | Rewrite the import by hand, following the rules above. | -| ESLint: `Definition for rule '…' was not found`, or a disable comment does nothing | The plugin key doesn't match the rewritten directives | Make the plugin key match the directive prefix (see Leftovers). | -| Module not found: `@vidstack/react`, `react-player`, or `stylis`, after the scope move | The app uses `Video` or `@skillsoft/gamut-styles` without the peers they need. Gamut no longer installs them | `package-json` adds these when the app depends on a Gamut package that needs them, so check its warnings. To add one by hand, use the range the package declares: `yarn add @vidstack/react@~1.12.12 react-player@^3.4.0 stylis@^4.0.7` (only the ones the app needs). | -| Remotes load a second copy of Gamut at runtime | Module Federation `shared` still lists old names on a remote | Update that remote's `shared` config and deploy it with the host. | +| Symptom | Likely cause | Fix | +| ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Module '"@skillsoft/gamut"' has no exported member 'Video'` | `Video` was imported from the root | Import from `@skillsoft/gamut/Video`. | +| `Cannot find name 'document'`, `HTMLElement`, or `ResizeObserver` | The affected tsconfig's `lib` has no `"dom"` | Add `"dom"` to that tsconfig's `compilerOptions.lib`. | +| Components render unstyled, or theme values don't apply | Two copies of `@skillsoft/gamut-styles` or `@skillsoft/variance` are installed | Run `yarn why @skillsoft/gamut-styles`. Make every `@skillsoft/*` package resolve to one version. Pin previews with `resolutions`. After a `resolutions` pin, `yarn why` can list two lock locators for one package. Check `node_modules//package.json` for the copies that are actually installed; one copy is fine. | +| `MenuList`, `MenuListItem`, or `IconOptionComponent` is not exported | Menu's `List*` and SelectDropdown's `IconOption` were renamed on the way to the root | Import the new name. Keep the local alias if the code relies on it, e.g. `import { MenuList as List }`. | +| Jest can't resolve `@skillsoft/...` modules, or a mock doesn't apply | A stale `moduleNameMapper` regex, or a mock still points at the root package | Update the mapper. Mock `@skillsoft/gamut/Video` for `Video`. | +| `Cannot find module '@skillsoft/gamut/Video'`, or `MenuList` is missing, right after install | The installed `@skillsoft/gamut` is older than the codemod. A range like `^0.0.1` can resolve to a release cut before these changes | Check `node_modules/@skillsoft/gamut/package.json` and its `exports`. Point at a build that has them (a newer release, or the matching preview), not at the old deep paths. | +| A preview fix doesn't show up after a push, even after `yarn up` | Yarn treats a `@.tgz` URL as fixed. The lockfile entry and the global cache keep the first build it fetched | Delete the `@skillsoft/*` preview entries from `yarn.lock`, the matching `@skillsoft-*-https-*` zips in the Yarn cache (`yarn config get cacheFolder`), and `node_modules/@skillsoft`, then run `yarn`. Check a file you know changed before you trust the type-check. | +| `import/no-duplicates` on `@skillsoft/gamut`, or hundreds of `simple-import-sort` errors | Rewritten imports weren't merged or re-sorted | Run `eslint --fix`. | +| `Cannot find module '@codecademy/gamut/dist/...'` after the run | The file was skipped by the parser, or the path is in a code sample | Rewrite the import by hand, following the rules above. | +| ESLint: `Definition for rule '…' was not found`, or a disable comment does nothing | The plugin key doesn't match the rewritten directives | Make the plugin key match the directive prefix (see Leftovers). | +| Module not found: `@vidstack/react` or `react-player`, after the scope move | The app uses `Video` without the peers it needs. Gamut no longer installs them | `package-json` adds these when the app depends on `@skillsoft/gamut`, so check its warnings. To add one by hand, use the range Gamut declares: `yarn add @vidstack/react@~1.12.12 react-player@^3.4.0`. | +| Runtime error `Cannot read properties of undefined (reading 'push')` in stylis, from `@emotion/styled` inserting styles | Suspected: two copies of `stylis` in the tree. `@emotion/cache` ships its own, and a root copy at a different version can be picked up for the rest of Gamut. Not confirmed | Run `yarn why stylis`. Remove any root `stylis` the app added by hand; the codemod doesn't add one. If one copy is still at a different version from `@emotion/cache`'s, pin `stylis` in `resolutions` to the version `@emotion/cache` uses, and reload. | +| Remotes load a second copy of Gamut at runtime | Module Federation `shared` still lists old names on a remote | Update that remote's `shared` config and deploy it with the host. | ## Preset: color-roles From 9adb2a914bc56bccdf6666c51f5c310f10d3a623 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Fri, 20 Nov 2026 08:54:23 -0500 Subject: [PATCH 20/21] docs(gamut-agent-tools): add Video peers only for apps that import Video Co-Authored-By: Claude Haiku 5.5 (cherry picked from commit 53cce61e093036cb6a41ce653a6b19ac35a73455) --- packages/gamut-agent-tools/skills/gamut-migration/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md index 06625f024a..04b1cd9eaf 100644 --- a/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md +++ b/packages/gamut-agent-tools/skills/gamut-migration/SKILL.md @@ -116,7 +116,7 @@ After the migrations finish: | `import/no-duplicates` on `@skillsoft/gamut`, or hundreds of `simple-import-sort` errors | Rewritten imports weren't merged or re-sorted | Run `eslint --fix`. | | `Cannot find module '@codecademy/gamut/dist/...'` after the run | The file was skipped by the parser, or the path is in a code sample | Rewrite the import by hand, following the rules above. | | ESLint: `Definition for rule '…' was not found`, or a disable comment does nothing | The plugin key doesn't match the rewritten directives | Make the plugin key match the directive prefix (see Leftovers). | -| Module not found: `@vidstack/react` or `react-player`, after the scope move | The app uses `Video` without the peers it needs. Gamut no longer installs them | `package-json` adds these when the app depends on `@skillsoft/gamut`, so check its warnings. To add one by hand, use the range Gamut declares: `yarn add @vidstack/react@~1.12.12 react-player@^3.4.0`. | +| Module not found: `@vidstack/react` or `react-player`, after the scope move | The app uses `Video` without the peers it needs. Gamut no longer installs them | `package-json` adds `@vidstack/react` and `react-player` only when the app imports `Video` from gamut, so an app that doesn't use Video doesn't get them. Check its warnings. To add one by hand, use the range Gamut declares: `yarn add @vidstack/react@~1.12.12 react-player@^3.4.0`. | | Runtime error `Cannot read properties of undefined (reading 'push')` in stylis, from `@emotion/styled` inserting styles | Suspected: two copies of `stylis` in the tree. `@emotion/cache` ships its own, and a root copy at a different version can be picked up for the rest of Gamut. Not confirmed | Run `yarn why stylis`. Remove any root `stylis` the app added by hand; the codemod doesn't add one. If one copy is still at a different version from `@emotion/cache`'s, pin `stylis` in `resolutions` to the version `@emotion/cache` uses, and reload. | | Remotes load a second copy of Gamut at runtime | Module Federation `shared` still lists old names on a remote | Update that remote's `shared` config and deploy it with the host. | From 4092e13eb4a909de1940c965629ff76e48052133 Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Tue, 1 Dec 2026 15:42:55 -0500 Subject: [PATCH 21/21] docs(gamut-docs): add disabled fields to the color system's role table A disabled field fills with surface-sunken and draws its outline, label and value in action-disabled (design's update of 2026-12-01). Co-Authored-By: Claude Opus 5.5 --- packages/gamut-docs/src/content/docs/concepts/color-system.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/gamut-docs/src/content/docs/concepts/color-system.md b/packages/gamut-docs/src/content/docs/concepts/color-system.md index 0ff9ece09c..8e61368b70 100644 --- a/packages/gamut-docs/src/content/docs/concepts/color-system.md +++ b/packages/gamut-docs/src/content/docs/concepts/color-system.md @@ -170,10 +170,11 @@ The `Background` component decides its content mode at build time. For each of t | ------------------------------------------- | ------------------------------------------------ | | The page, a nav or a header | `surface-default` | | A card, popover, menu, modal panel or field | `surface-raised` | -| An inset well or code block | `surface-sunken` | +| An inset well, code block or disabled field | `surface-sunken` | | Body text and headings | `text-default` | | Descriptions, metadata and helper text | `text-subtle` | | Anything clickable | `action-*` | +| A disabled label, value or field outline | `action-disabled` | | Hover and press on something with no fill | `state-hover`, `state-pressed`, `state-selected` | | A border that carries meaning, like a field | `border-default` | | A divider, or the edge of a floating panel | `border-subtle` |