Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…udio brands Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…olor-docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s' into cass-gmt-1825-color-docs
- 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 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t pairings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s' into cass-gmt-1825-color-docs
… your own brand Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The older color pages (color modes, design tokens, themes, supporting dark mode, theming your app, creating a custom theme) described the old aliases and Core theme. They now cover roles, the five brand themes and building a brand with @skillsoft/gamut-brand. Code samples on other pages use roles instead of old color names, Card documents its two variants, and the site's own Starlight colors come from the Skillsoft brand's tokens.css instead of a hand-copied Core palette. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 of 6 tasks
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 <noreply@anthropic.com>
Covers the variance createTheme and gamut-styles ColorMode prefixes, the gamut-brand Style Dictionary prefix, the docs site and the regenerated tokens. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
…s' into cass-gmt-1825-color-docs # Conflicts: # .changeset/color-system-brands.md # packages/gamut-brand/src/__tests__/system.test.ts # packages/gamut-styles/scripts/build-tokens.ts # packages/gamut-styles/scripts/validate-tokens.ts # packages/gamut-styles/src/colorSystem/README.md # packages/gamut-styles/src/themes/__tests__/__snapshots__/theme.test.ts.snap # packages/gamut-styles/src/themes/__tests__/brandElevation.test.ts # packages/gamut-styles/src/themes/__tests__/theme.test.ts # packages/gamut-styles/src/themes/platform.ts # packages/gamut-styles/src/tokens/generated/tokens.css # packages/gamut-styles/src/tokens/generated/tokensCss.ts
6 of 7 tasks
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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 <noreply@anthropic.com> (cherry picked from commit 6f0e3de)
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 <noreply@anthropic.com> (cherry picked from commit 6f0e3de)
…on 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 <noreply@anthropic.com> (cherry picked from commit f5bf30b)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> (cherry picked from commit 15c7699)
…section Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> (cherry picked from commit 80522ce)
…on 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 <noreply@anthropic.com> (cherry picked from commit f5bf30b)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> (cherry picked from commit 53cce61)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> (cherry picked from commit 53cce61)
…t import Video Brings the Video-usage check to this branch: package-json adds the two peers only when the source imports Video from gamut. Also ports the usesGamut context, the leftovers skip list, and the tests that cover them. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
…Video Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
# Conflicts: # .changeset/color-system-brands.md # packages/gamut-brand/README.md # packages/gamut-styles/src/themes/__tests__/__snapshots__/theme.test.ts.snap # packages/gamut-styles/src/themes/__tests__/theme.test.ts
# Conflicts: # packages/gamut-codemods/src/video-peers.test.ts # packages/gamut-docs/src/content/docs/guides/creating-a-custom-theme.md # packages/gamut-styles/src/themes/__tests__/__snapshots__/theme.test.ts.snap # packages/gamut-styles/src/themes/__tests__/theme.test.ts # packages/gamut/src/DataList/__tests__/DataGrid.test.tsx # packages/styleguide/src/lib/Foundations/ColorMode/CssContract.stories.tsx
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
dreamwasp
added a commit
that referenced
this pull request
Nov 20, 2026
Replaces this branch's tree with the color stack as it now stands: the site branch (#67, which includes #63, #59, #54, #66, #58, #52 and #50, each merged with main through 45586df), plus the codemod branch (#53). Static styles (#69) is still out, as before. The preview's earlier head is the parent. This commit only moves the tree forward, so nothing is rewritten. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
# Conflicts: # packages/gamut/src/Anchor/Anchor.stories.tsx # packages/gamut/src/Disclosure/Disclosure.stories.tsx # packages/gamut/src/Form/inputs/SelectDropdown/SelectDropdown.stories.tsx # packages/gamut/src/Tips/PreviewTip/PreviewTip.stories.tsx
@skillsoft/eslint-plugin-gamut
@skillsoft/gamut
@skillsoft/gamut-agent-tools
@skillsoft/gamut-brand
@skillsoft/gamut-codemods
@skillsoft/gamut-icons
@skillsoft/gamut-illustrations
@skillsoft/gamut-patterns
@skillsoft/gamut-styles
@skillsoft/gamut-tests
@skillsoft/variance
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## cass-gmt-1825-color-behavior #67 +/- ##
================================================================
+ Coverage 83.46% 83.49% +0.03%
================================================================
Files 490 491 +1
Lines 40152 40246 +94
Branches 1973 1957 -16
================================================================
+ Hits 33511 33605 +94
+ Misses 6634 6633 -1
- Partials 7 8 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
# Conflicts: # yarn.lock
# Conflicts: # yarn.lock
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Moves the rest of the gamut-docs site onto the generated color system. #59 added the Color system page; the older pages still described the old aliases (
text,background,primary), the Core theme and palette names likenavyandbeige. This is the last PR in the color stack.Pages rewritten
concepts/color-modes.md: roles instead of aliases, modes asdata-color-modeattributes, and how a brand and a mode combine.foundations/themes.md: the five brand themes,skillsoftThemeas the default, the sharedSkillsoftThemetype, andcoreThemekept only until the move to roles is done.foundations/design-tokens.md: roles vs palette colors,--color-*custom properties, and elevation drawn inshadow-keyandshadow-ambient.guides/supporting-dark-mode.md: roles, andBackgroundchoosing its content mode from the build-time table.guides/theming-your-app.md: passing a brand theme toGamutProvider, with role-based samples.guides/creating-a-custom-theme.md: replaces the hand-builtcreateThemepalette with building a brand with@skillsoft/gamut-brand. It coversdefineBrand, overrides, the CLI (--watchand--check),createBrandTheme, types and previewing in Storybook. The override example was run throughgenerateBrandand passes.Smaller fixes
SkillsoftThemefor the Emotion theme type), build your first page, prop groups, compose and variants, best practices and the ESLint rule examples.components/containers/card.mdxdocumentsdefaultandbrand, which replace the color variants, and the interactive shadow. Its story embeds pointed atatoms-card--*ids that no longer exist; they now usecontainers-card--*.concepts/color-system.mddrops its note that Color modes still describes the old names.The site's own colors
src/styles/gamut-core-theme.csshand-copied old Core's navy, hyper and beige into Starlight's variables. It's nowgamut-theme.css, and loads@skillsoft/gamut-styles/tokens.cssfirst. Each Starlight variable points at the palette color its Gamut role uses in that mode, so the site follows the Skillsoft brand.Starlight switches modes with
data-theme, notdata-color-mode, so the roles' mode blocks don't apply and the mapping is per mode in the file. Starlight's cascade layers come after Gamut's, so its owncolor-schemeand base styles still win.Not in this PR
percipioas a--themevalue. That's the plugin's own flag, so it changes with the plugin.Stacked on #63, with #59 merged in.
PR Checklist
Testing Instructions
npx nx build gamut-docs: 154 pages build.npx nx dev gamut-docs, then switch the site between light and dark. The chrome uses Skillsoft's paper, navy and blue instead of Core's beige, navy and violet.text,background,primary,navy,beigeorhyperas colors.🤖 Generated with Claude Code