Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
491 commits
Select commit Hold shift + click to select a range
956c66f
docs(gamut-agent-tools): explain the palette defaults in the gamut-mi…
dreamwasp Nov 19, 2026
c43cce4
docs(gamut-agent-tools): explain the palette defaults in the gamut-mi…
dreamwasp Nov 19, 2026
8ca31c0
docs(gamut-agent-tools): explain the palette defaults in the gamut-mi…
dreamwasp Nov 19, 2026
88c714a
docs(gamut-agent-tools): explain the palette defaults in the gamut-mi…
dreamwasp Nov 19, 2026
c0d8e0f
docs(gamut-agent-tools): explain the palette defaults in the gamut-mi…
dreamwasp Nov 19, 2026
f916969
docs(gamut-agent-tools): explain the palette defaults in the gamut-mi…
dreamwasp Nov 19, 2026
947e2d9
docs(gamut-agent-tools): explain the palette defaults in the gamut-mi…
dreamwasp Nov 19, 2026
b35dc09
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
4e072cf
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
74b0682
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
d1bdf56
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
25b3269
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
1a2dd78
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
3c938e5
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
2cc009f
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
0f0b2b8
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
f530f50
docs(gamut-agent-tools): add hyper and yellow guidance to the gamut-m…
dreamwasp Nov 19, 2026
8761700
feat(gamut-codemods): default hyper to action-primary
dreamwasp Nov 19, 2026
e9cefc5
feat(gamut-codemods): default hyper to action-primary
dreamwasp Nov 19, 2026
0a97c85
feat(gamut-codemods): default blue-500 text to action-primary
dreamwasp Nov 19, 2026
d95c84e
feat(gamut-codemods): default blue-500 text to action-primary
dreamwasp Nov 19, 2026
552d148
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
d21a460
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
e5fe931
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
91fabab
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
cf98537
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
42e4a0f
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
13ffe02
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
4458316
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
b97fc5c
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
d437a0a
docs(gamut-agent-tools): add blue-500 guidance to the gamut-migration…
dreamwasp Nov 19, 2026
7d92c95
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
734e3e4
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
c5c5a2e
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
107fff1
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
a7dc219
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
6262f71
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
306a564
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
e9b3605
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
45df730
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
94757a2
docs(gamut-agent-tools): work through open color decisions with the u…
dreamwasp Nov 19, 2026
8c696a8
feat(gamut-codemods): default greys by their use
dreamwasp Nov 19, 2026
3a9e5b4
feat(gamut-codemods): default greys by their use
dreamwasp Nov 19, 2026
0dc47cf
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
2f77f4b
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
0674e59
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
fe772ff
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
3de67b7
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
eada2c2
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
ffda06c
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
a7c1fe6
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
eeb48e1
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
b464a66
docs(gamut-agent-tools): stop adding stylis by hand; cover the duplic…
dreamwasp Nov 20, 2026
7e02172
fix(gamut-codemods): stop adding stylis as a peer
dreamwasp Nov 20, 2026
3fd43f3
fix(gamut-codemods): stop adding stylis as a peer
dreamwasp Nov 20, 2026
affc466
fix(gamut-codemods): stop adding stylis as a peer
dreamwasp Nov 20, 2026
53cce61
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
9403111
feat(gamut-codemods): add vidstack and react-player only for apps tha…
dreamwasp Nov 20, 2026
752aaa1
feat(gamut-codemods): add vidstack and react-player only for apps tha…
dreamwasp Nov 20, 2026
d2a25d4
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
0c1f385
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
885b69f
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
9adb2a9
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
058d0c7
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
ff89f80
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
b725db9
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
be2a19d
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
cbdccec
docs(gamut-agent-tools): add Video peers only for apps that import Video
dreamwasp Nov 20, 2026
366f13e
feat(gamut-codemods): add vidstack and react-player only for apps tha…
dreamwasp Nov 20, 2026
284d888
docs(gamut-codemods): the Video peers apply only to apps that import …
dreamwasp Nov 20, 2026
cbfb98d
ci: rerun preview and quality for the color-roles changes
dreamwasp Nov 20, 2026
a190111
merge: bring main into the color stack preview
dreamwasp Nov 20, 2026
4fd060c
chore: dedupe the lockfile and keep gamut-brand's tests on Jest
dreamwasp Nov 20, 2026
7d7e0d0
test(gamut-codemods): give the manifest checks a 60s timeout
dreamwasp Nov 20, 2026
7c988d9
merge: bring main into the color system
dreamwasp Nov 20, 2026
b9e1736
Merge branch 'stack-system' into stack-brands
dreamwasp Nov 20, 2026
725a62b
merge: bring the color system and main into the brands branch
dreamwasp Nov 20, 2026
19979f9
Merge branch 'stack-brands' into stack-legacy
dreamwasp Nov 20, 2026
e205370
merge: bring the brands branch and main into the legacy brands branch
dreamwasp Nov 20, 2026
b917f49
Merge branch 'stack-legacy' into stack-white
dreamwasp Nov 20, 2026
e1f79e0
merge: bring the legacy brands and main into the white-label branch
dreamwasp Nov 20, 2026
6280785
merge: bring the white-label layer and main into the components branch
dreamwasp Nov 20, 2026
b8ca4d1
merge: bring the components layer into the behavior branch
dreamwasp Nov 20, 2026
7971516
Merge branch 'stack-white' into stack-docs
dreamwasp Nov 20, 2026
c1ce7f0
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
ed6e005
Merge branch 'stack-docs' into stack-site
dreamwasp Nov 20, 2026
cc84dcd
merge: bring the behavior and docs layers into the site branch
dreamwasp Nov 20, 2026
a8421d4
merge: bring main into the codemod branch
dreamwasp Nov 20, 2026
d524d7b
merge: bring the updated color stack into the preview
dreamwasp Nov 20, 2026
6a62f65
Merge remote-tracking branch 'origin/main' into stack-legacy
dreamwasp Nov 20, 2026
938abf0
Merge remote-tracking branch 'origin/main' into stack-system
dreamwasp Nov 20, 2026
0b68d0e
Merge remote-tracking branch 'origin/main' into stack-brands
dreamwasp Nov 20, 2026
a84142d
Merge remote-tracking branch 'origin/main' into stack-white
dreamwasp Nov 20, 2026
1a45c88
Merge remote-tracking branch 'origin/main' into stack-docs
dreamwasp Nov 20, 2026
6a8df2c
Merge remote-tracking branch 'origin/main' into stack-codemod
dreamwasp Nov 20, 2026
6541725
Merge remote-tracking branch 'origin/main' into stack-components
dreamwasp Nov 20, 2026
68f96a0
Merge remote-tracking branch 'origin/main' into stack-site
dreamwasp Nov 20, 2026
cebd9ce
Merge remote-tracking branch 'origin/main' into stack-behavior
dreamwasp Nov 20, 2026
c5921a4
merge: bring main (through 70a797ac5) into the color stack preview
dreamwasp Nov 20, 2026
280aaa3
merge: record main (70a797ac5) as a parent of the preview
dreamwasp Nov 20, 2026
f2b1450
Merge branch 'stack-brands' into stack-legacy
dreamwasp Nov 20, 2026
947de85
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
87f553c
Merge branch 'stack-components' into stack-behavior
dreamwasp Nov 20, 2026
72e7860
Merge branch 'stack-white' into stack-components
dreamwasp Nov 20, 2026
00400bb
Merge branch 'stack-docs' into stack-site
dreamwasp Nov 20, 2026
14a11f4
Merge branch 'stack-legacy' into stack-white
dreamwasp Nov 20, 2026
e9607d3
Merge branch 'stack-white' into stack-docs
dreamwasp Nov 20, 2026
09637a1
test(gamut-codemods): give the manifest checks a 60s timeout
dreamwasp Nov 20, 2026
032e6ca
Merge branch 'stack-components' into stack-behavior
dreamwasp Nov 20, 2026
fdd3000
fix(gamut): move the stories main's #88 changed onto the color roles
dreamwasp Nov 20, 2026
e998634
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
1295f5e
test(gamut): the two-tone ProgressBar label renders two decorative co…
dreamwasp Nov 20, 2026
a59e9b0
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
bb61d79
merge: update the color stack preview with the rebuilt stack
dreamwasp Nov 20, 2026
f5bde06
Merge remote-tracking branch 'origin/main' into stack-codemod
dreamwasp Nov 20, 2026
3d82e64
Merge remote-tracking branch 'origin/main' into stack-system
dreamwasp Nov 20, 2026
7dfebbf
Merge remote-tracking branch 'origin/main' into stack-brands
dreamwasp Nov 20, 2026
02847d8
Merge remote-tracking branch 'origin/main' into stack-legacy
dreamwasp Nov 20, 2026
dd51f14
Merge remote-tracking branch 'origin/main' into stack-white
dreamwasp Nov 20, 2026
8fef3b7
Merge remote-tracking branch 'origin/main' into stack-components
dreamwasp Nov 20, 2026
89b87d0
Merge remote-tracking branch 'origin/main' into stack-behavior
dreamwasp Nov 20, 2026
7dc4381
Merge remote-tracking branch 'origin/main' into stack-docs
dreamwasp Nov 20, 2026
2728b83
Merge remote-tracking branch 'origin/main' into stack-site
dreamwasp Nov 20, 2026
7d7c096
Merge branch 'stack-white' into stack-components
dreamwasp Nov 20, 2026
999521a
build(gamut-brand): run its tests on Vitest
dreamwasp Nov 20, 2026
3f610b1
Merge branch 'stack-components' into stack-behavior
dreamwasp Nov 20, 2026
a55ade6
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
7182867
Merge branch 'stack-white' into stack-docs
dreamwasp Nov 20, 2026
c5dfcb8
Merge branch 'stack-docs' into stack-site
dreamwasp Nov 20, 2026
bc8aa4e
Merge branch 'stack-white' into stack-components
dreamwasp Nov 20, 2026
bc5c2de
style(gamut-brand): sort the test imports after the Vitest move
dreamwasp Nov 20, 2026
15e9d1b
Merge branch 'stack-components' into stack-behavior
dreamwasp Nov 20, 2026
404f3a8
Merge branch 'stack-white' into stack-docs
dreamwasp Nov 20, 2026
b26083a
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
fd29895
Merge branch 'stack-docs' into stack-site
dreamwasp Nov 20, 2026
5a4f096
Merge branch 'stack-white' into stack-components
dreamwasp Nov 20, 2026
cc9a942
style(gamut-brand): format project.json
dreamwasp Nov 20, 2026
111c48e
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
8be6a9d
Merge branch 'stack-docs' into stack-site
dreamwasp Nov 20, 2026
282eb5f
Merge branch 'stack-components' into stack-behavior
dreamwasp Nov 20, 2026
11c1e5b
Merge branch 'stack-white' into stack-docs
dreamwasp Nov 20, 2026
0adcceb
merge: update the color stack preview to the latest stack
dreamwasp Nov 20, 2026
224e82c
merge: record main (878ebcd36) as a parent of the preview
dreamwasp Nov 20, 2026
beb4cff
chore(gamut): mark action-disabled text as pending a design decision
dreamwasp Nov 20, 2026
24437f5
Merge branch 'stack-behavior' into stack-site
dreamwasp Nov 20, 2026
64e6a1a
Merge branch 'stack-components' into stack-behavior
dreamwasp Nov 20, 2026
f7aff56
merge: update the color stack preview with the pending-decision change
dreamwasp Nov 20, 2026
5227597
style(badge): use the warning ramp for the yellow gradient stop
dreamwasp Nov 23, 2026
9150be0
merge: update the color stack preview with the badge, codemod and mai…
dreamwasp Nov 23, 2026
4517e5e
merge: add the Background vs ColorMode rule to the migration skill
dreamwasp Nov 23, 2026
32e7264
fix(gamut-styles): keep a nested background-current on the parent color
dreamwasp Nov 23, 2026
43e71ef
merge: fix nested background-current on generated themes
dreamwasp Nov 23, 2026
4e7a91a
Merge commit '32e726434' into stack-legacy
dreamwasp Nov 23, 2026
d98f2e5
Merge commit '32e726434' into stack-white
dreamwasp Nov 23, 2026
2896162
Merge commit '32e726434' into stack-components
dreamwasp Nov 23, 2026
479a0e3
Merge commit '32e726434' into stack-site
dreamwasp Nov 23, 2026
8d30f82
Merge commit '32e726434' into stack-behavior
dreamwasp Nov 23, 2026
c777e81
Merge commit '32e726434' into stack-docs
dreamwasp Nov 23, 2026
cb5826a
Merge branch 'cass-gmt-1825-color-site' of github.com:Codecademy/skil…
dreamwasp Nov 24, 2026
15a1cc3
feat(gamut-codemods): map the warning family in color-roles
dreamwasp Nov 23, 2026
3c7ebc1
docs(gamut-agent-tools): say when to use Background instead of ColorMode
dreamwasp Nov 23, 2026
b7ad33e
feat(gamut-docs): load skillsoft theme fonts on the docs site
dreamwasp Nov 30, 2026
860022b
feat(gamut-codemods): default palette names in theme lookups and CSS …
dreamwasp Nov 30, 2026
84064f6
feat(gamut-codemods): default palette names in theme lookups and CSS …
dreamwasp Nov 30, 2026
93fec78
fix(gamut-codemods): drop an earlier run's comment when color-roles r…
dreamwasp Nov 30, 2026
4d01d65
fix(gamut-codemods): drop an earlier run's comment when color-roles r…
dreamwasp Nov 30, 2026
d056050
feat(gamut-styles): disabled fields drop to surface-sunken in the mig…
dreamwasp Dec 1, 2026
6f5852d
Merge branch 'cass-gmt-1825-color-brands' into cass-gmt-1825-color-le…
dreamwasp Dec 1, 2026
5d6b199
Merge branch 'cass-gmt-1825-color-legacy-brands' into cass-gmt-1825-c…
dreamwasp Dec 1, 2026
903eba0
Merge branch 'cass-gmt-1825-color-white-label' into cass-gmt-1825-col…
dreamwasp Dec 1, 2026
344ecd5
fix(gamut): disabled fields drop to surface-sunken with action-disabl…
dreamwasp Dec 1, 2026
b3d57b3
Merge branch 'cass-gmt-1825-color-components' into cass-gmt-1825-colo…
dreamwasp Dec 1, 2026
f1235eb
Merge branch 'cass-gmt-1825-color-white-label' into cass-gmt-1825-col…
dreamwasp Dec 1, 2026
414010e
Merge branch 'cass-gmt-1825-color-behavior' into cass-gmt-1825-color-…
dreamwasp Dec 1, 2026
dab7ff6
Merge branch 'cass-gmt-1825-color-docs' into cass-gmt-1825-color-site
dreamwasp Dec 1, 2026
4092e13
docs(gamut-docs): add disabled fields to the color system's role table
dreamwasp Dec 1, 2026
879e11c
Merge branch 'cass-gmt-1825-color-docs' into cass-gmt-1825-color-site
dreamwasp Dec 1, 2026
a16e5a3
feat(gamut-codemods): border-disabled splits between border-default a…
dreamwasp Dec 1, 2026
5bfc93b
docs(changeset): note disabled fields on surface-sunken
dreamwasp Dec 1, 2026
6efdff5
Merge branch 'cass-gmt-1825-color-components' into cass-gmt-1825-colo…
dreamwasp Dec 1, 2026
7003c4f
Merge branch 'cass-gmt-1825-color-behavior' into cass-gmt-1825-color-…
dreamwasp Dec 1, 2026
8a4d48d
fix(gamut): a disabled DatePicker field draws its label, value and ic…
dreamwasp Dec 2, 2026
9d01097
Merge branch 'cass-gmt-1825-color-components' into cass-gmt-1825-colo…
dreamwasp Dec 2, 2026
2d73ebf
Merge branch 'cass-gmt-1825-color-behavior' into cass-gmt-1825-color-…
dreamwasp Dec 2, 2026
dd0a8b9
merge: update the color stack preview with design's disabled-field up…
dreamwasp Dec 2, 2026
fe9e88e
merge: bring main (7f6b1f100) into the color system
dreamwasp Dec 2, 2026
4ede53f
merge: bring the updated color system into brands
dreamwasp Dec 2, 2026
d0e97c5
merge: bring the updated brands into legacy-brands
dreamwasp Dec 2, 2026
2bfda37
merge: bring the updated legacy-brands into docs
dreamwasp Dec 2, 2026
743e66e
merge: bring the updated brands into components
dreamwasp Dec 2, 2026
68e9d5a
merge: bring the updated components into behavior
dreamwasp Dec 2, 2026
f4ec813
merge: bring the updated behavior into site
dreamwasp Dec 2, 2026
3ad3a8a
merge: bring the updated color stack (site, f4ec81338) into the preview
dreamwasp Dec 2, 2026
e0f2600
merge: bring the color system concept page (docs) into the preview
dreamwasp Dec 2, 2026
ad7e1b7
Potential fix for pull request finding 'Use the exported SkillsoftThe…
dreamwasp Dec 2, 2026
f182d94
fix(gamut-styles): dark-mode aliases, CSS side effects, generator dri…
dreamwasp Dec 2, 2026
dad8bae
merge: bring cass-gmt-1825-color-components into cass-gmt-1825-color-…
dreamwasp Dec 2, 2026
c00b544
merge: bring cass-gmt-1825-color-behavior into cass-gmt-1825-color-site
dreamwasp Dec 2, 2026
c84b86b
merge: bring cass-gmt-1825-color-system (f182d9417) into color-brands
dreamwasp Dec 2, 2026
8d8e69c
merge: bring cass-gmt-1825-color-brands into legacy brands
dreamwasp Dec 2, 2026
d1c1dcf
merge: bring cass-gmt-1825-color-legacy-brands into white-label
dreamwasp Dec 2, 2026
dec4792
merge: bring cass-gmt-1825-color-white-label into components
dreamwasp Dec 2, 2026
99c96db
merge: bring cass-gmt-1825-color-components into behavior
dreamwasp Dec 2, 2026
25d6a79
merge: bring cass-gmt-1825-color-behavior into site
dreamwasp Dec 2, 2026
f732b75
merge: bring cass-gmt-1825-color-white-label into docs
dreamwasp Dec 2, 2026
9dbe17a
docs(gamut-brand): document how gamut's own brands are built
dreamwasp Dec 2, 2026
afd6f2a
Merge remote-tracking branch 'origin/cass-gmt-1825-color-site' into c…
dreamwasp Dec 3, 2026
c651a7b
Merge remote-tracking branch 'origin/cass-gmt-1825-color-docs' into c…
dreamwasp Dec 3, 2026
c2d909d
Merge remote-tracking branch 'origin/cass-gmt-1825-color-codemod' int…
dreamwasp Dec 3, 2026
d6b8cf8
fix(gamut-styles): keep the dev-only generator out of the library typ…
dreamwasp Dec 3, 2026
5e0fe63
Merge remote-tracking branch 'origin/cass-gmt-1825-color-system' into…
dreamwasp Dec 3, 2026
aa284de
Merge remote-tracking branch 'origin/cass-gmt-1825-color-brands' into…
dreamwasp Dec 3, 2026
f82b83d
Merge remote-tracking branch 'origin/cass-gmt-1825-color-legacy-brand…
dreamwasp Dec 3, 2026
0f6bc27
Merge remote-tracking branch 'origin/cass-gmt-1825-color-white-label'…
dreamwasp Dec 3, 2026
c3c859f
Merge remote-tracking branch 'origin/cass-gmt-1825-color-white-label'…
dreamwasp Dec 3, 2026
5929e2a
Merge remote-tracking branch 'origin/cass-gmt-1825-color-components' …
dreamwasp Dec 3, 2026
4b4c162
Merge remote-tracking branch 'origin/cass-gmt-1825-color-behavior' in…
dreamwasp Dec 3, 2026
06fbb19
Merge remote-tracking branch 'origin/cass-gmt-1825-color-site' into c…
dreamwasp Dec 3, 2026
8a9ed07
Merge remote-tracking branch 'origin/cass-gmt-1825-color-docs' into c…
dreamwasp Dec 3, 2026
204cdeb
test(gamut): drop per-file @emotion/jest matcher setup
dreamwasp Dec 3, 2026
e8f284f
Merge remote-tracking branch 'origin/cass-gmt-1825-color-components' …
dreamwasp Dec 3, 2026
1f79f5f
Merge remote-tracking branch 'origin/cass-gmt-1825-color-behavior' in…
dreamwasp Dec 3, 2026
f275456
Merge remote-tracking branch 'origin/cass-gmt-1825-color-site' into c…
dreamwasp Dec 3, 2026
9c21638
test(gamut-styles): drop per-file @emotion/jest matcher setup from Ba…
dreamwasp Dec 3, 2026
932239f
Merge remote-tracking branch 'origin/cass-gmt-1825-color-system' into…
dreamwasp Dec 3, 2026
18dd949
test(gamut-styles): drop per-file @emotion/jest matcher setup
dreamwasp Dec 3, 2026
75b735a
Merge remote-tracking branch 'origin/cass-gmt-1825-color-brands' into…
dreamwasp Dec 3, 2026
e0f7788
Merge remote-tracking branch 'origin/cass-gmt-1825-color-legacy-brand…
dreamwasp Dec 3, 2026
fde3eb9
Merge remote-tracking branch 'origin/cass-gmt-1825-color-white-label'…
dreamwasp Dec 3, 2026
968643a
Merge remote-tracking branch 'origin/cass-gmt-1825-color-components' …
dreamwasp Dec 3, 2026
6e5aafd
Merge remote-tracking branch 'origin/cass-gmt-1825-color-behavior' in…
dreamwasp Dec 3, 2026
ca13e34
Merge remote-tracking branch 'origin/cass-gmt-1825-color-site' into c…
dreamwasp Dec 3, 2026
67c4b72
test(gamut): drop per-file @emotion/jest matcher setup from DataGrid …
dreamwasp Dec 3, 2026
25d5e00
Merge remote-tracking branch 'origin/cass-gmt-1825-color-behavior' in…
dreamwasp Dec 3, 2026
595ed2b
Merge remote-tracking branch 'origin/cass-gmt-1825-color-site' into c…
dreamwasp Dec 3, 2026
26534bf
fix(gamut-docs): render the examples with originalCodecademyTheme
dreamwasp Dec 3, 2026
af734ec
Merge remote-tracking branch 'origin/cass-gmt-1825-color-white-label'…
dreamwasp Dec 3, 2026
94e659f
Merge remote-tracking branch 'origin/cass-gmt-1825-color-components' …
dreamwasp Dec 3, 2026
36ef9ef
Merge remote-tracking branch 'origin/cass-gmt-1825-color-behavior' in…
dreamwasp Dec 3, 2026
d9b8f96
Merge remote-tracking branch 'origin/cass-gmt-1825-color-site' into c…
dreamwasp Dec 3, 2026
1382e6b
test(gamut-styles): remove the orphaned theme snapshot
dreamwasp Dec 3, 2026
cb6b8c7
test(gamut-brand): sample text contrast over the brand gradients
dreamwasp Dec 3, 2026
0c4519a
fix(gamut-styles): resolve brand role overrides through the emitted t…
dreamwasp Dec 4, 2026
cea28db
merge: bring the brand override fixes from brands into white-label
dreamwasp Dec 4, 2026
5001eb8
merge: bring the brand override fixes from white-label (from cass-gmt…
dreamwasp Dec 4, 2026
f2bd70e
merge: bring the brand override fixes from white-label (from cass-gmt…
dreamwasp Dec 4, 2026
700830d
merge: bring the brand override fixes from white-label (from cass-gmt…
dreamwasp Dec 4, 2026
6ef4431
merge: bring the brand override fixes from white-label (from cass-gmt…
dreamwasp Dec 4, 2026
187e82a
fix(gamut-brand): read role refs back from tokens.css as references
dreamwasp Dec 4, 2026
c1daa32
Merge commit '187e82ad2' into HEAD
dreamwasp Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .changeset/color-roles-component-behavior.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@skillsoft/gamut': minor
---

Component behavior from design's component map that the role swap didn't cover.

- A selected DataList or DataTable row takes the `state-selected` veil over its fill, with the hover veil on top when hovered. `ListRow` takes an `isSelected` prop for the same tint.
- Table rows are `surface-raised`, with `surface-sunken` stripes, instead of transparent.
- ProgressBar's label at `large` and `xl` sizes is two-tone: `text-inverse` on the bar and `text-default` where it runs onto the track, so a short bar's label stays readable.
18 changes: 18 additions & 0 deletions .changeset/color-roles-components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@skillsoft/gamut': minor
---

Components use the color system's roles, following design's component map.

- **Breaking:** every color name a component uses is a role (`surface-raised`, `text-subtle`, `action-primary`, `state-hover`, …). Code that passes old names (`background`, `primary`, `navy`, `text-disabled`) to gamut props has to move; the `color-roles` codemod in `@skillsoft/gamut-codemods` does most of it.
- **Breaking:** old `coreTheme` doesn't define the roles, so components lose their colors on it. Use `originalCodecademyTheme`, its rebuild, or `skillsoftTheme`. Admin, platform and lxStudio are rebuilt as brands and keep their names.
- Buttons map onto the action families: `secondary` is `action-neutral`, `interface` merges into primary, labels on fills are `text-inverse`, every variant takes the `action-primary` focus ring, and StrokeButton and TextButton hover and press with veils.
- Fields are `surface-raised` with a `border-default` edge; field hover is `border-strong`, so blue only means focus. Floating surfaces (menus, popovers, tooltips, toasts, the SelectDropdown menu) are `surface-raised` with a `border-subtle` hairline and the theme's raised shadow. A checked Radio is `action-primary`.
- **Breaking:** Card's `variant` is `default` or `brand`. `white`, `beige` and `navy` become `default` (`surface-raised`); `yellow` and `hyper` become `brand`, the featured card on the brand gradient. Every card has a `border-subtle` hairline. An interactive card has the raised shadow at rest, and the `state-hover` veil with the raised-hover shadow on hover; its border no longer changes. A card that isn't interactive has no shadow.
- CTAButton's shadow comes from the theme's elevation: the soft raised shadow on most brands, old core's hard offset on Original Codecademy.
- Modal and Flyout's scrim is `shadow-scrim`, and Flyout's panel has a `border-subtle` inner edge.
- ProgressBar's blue and yellow bars are `text-default` on a sunken track. Block Tabs follow the page's mode instead of forcing dark.
- `Tag`: navigation and suggestion tags have no fill of their own, so they sit on the surface they're on. Disabled tags drop the `action-disabled` fill and take the disabled ink, keeping their edge.
- Every input-like control fills with `surface-raised`, an unchecked Checkbox included. Placeholders are `text-subtle`, an error is a 2px `text-error` outline at rest, and an edited field keeps its `border-default` outline. A disabled field drops to `surface-sunken` and draws its outline, value and chevron in `action-disabled`, like its label; an enabled chevron is `text-default`. A disabled DatePicker field now looks disabled, and its error ring draws. FormGroup descriptions are `text-subtle`.
- The checker pattern behind Modal, Toast, PreviewTip and the DatePicker calendar is drawn only on Original Codecademy, in `border-subtle`. Themes from before the color system keep it.
- Smaller fixes from design's map: link hover is `action-primary-hover`, link focus rings are `action-primary`, the Breadcrumbs separator is `text-subtle`, List row hover is a veil over the row's fill, focus is a ring without a fill, and Shimmer is a `surface-sunken` base with a `surface-raised` sweep.
16 changes: 16 additions & 0 deletions .changeset/color-system-brands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'@skillsoft/gamut-styles': minor
'@skillsoft/variance': minor
'@skillsoft/gamut': minor
---

Brands on the generated color system.

- **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.
- `ColorMode` on generated themes sets `data-color-mode` and `data-brand` instead of injecting every role variable.
- Fixes `Background` painting the flipped mode's color for an alias `bg`, such as `bg="primary"`.
- `Alert`: General uses `surface-brand-subtle`. Gradient alerts size their gradient to the alert, not the viewport. Status alerts (error, success, notice) put their status ink on the message, and a floating Alert's border takes the same ink. The CTA follows the Alert's color mode instead of always rendering dark.
- Original Codecademy no longer pins navy and beige; their generated steps are used as is. Yellow stays exact.
- **Breaking:** the `backdrop` role is renamed `shadow-scrim`, and two shadow roles are added: `shadow-key` and `shadow-ambient`, the two layers every elevation shadow is drawn in. Brand themes' `elevation` now uses them, so shadows no longer render `undefined`: Skillsoft gets the soft raised shadow, and Original Codecademy keeps old core's hard offset with a transparent `shadow-ambient`.
11 changes: 11 additions & 0 deletions .changeset/color-system-legacy-brands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@skillsoft/gamut-styles': minor
---

Rebuild `adminTheme`, `platformTheme` and `lxStudioTheme` as brands of the generated color system, so they define every color role.

- Each brand takes its colors from what the old theme rendered in each job, including what it inherited from core, such as lxStudio's yellow accent. Admin and platform inherit Original Codecademy's pins (yellow exact; navy and beige not pinned). lxStudio pins only its near-white page; its yellow is generated, and its dark mode keeps the sapphire primary instead of core's yellow one.
- Fonts, weights and lxStudio's radii are unchanged. Elevation is the soft shadow drawn in the shadow roles; only Original Codecademy keeps the hard offset. `platformTheme` still starts in dark mode and keeps its `editor-*` code editor colors with their old values.
- The two-color brand gradient pairs primary with accent-alt for every brand with a yellow accent.
- **Visual change:** the rebuilt themes aren't pixel-identical to the old ones; role grades come from design's system. Old color names that only these themes had are gone.
- **Breaking:** `percipioTheme` and the `PercipioTheme` type are removed. `skillsoftTheme`, the new default, replaces it: it keeps Percipio's fonts, font weights and resting shadow, with colors generated from the Skillsoft brand's hues. Use `skillsoftTheme` wherever an app used `percipioTheme`.
12 changes: 12 additions & 0 deletions .changeset/color-system-tokens.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@skillsoft/gamut-styles': minor
'@skillsoft/gamut': minor
---

Add the generated OKLCH color system.

- `@skillsoft/gamut-styles/tokens`, `/tokens.css` and `/tokens/*.tokens.json` export an OKLCH palette and 43 semantic roles in light and dark, as static CSS, DTCG JSON and TS constants. The `tokens` entry has no React or Emotion dependency.
- `skillsoftTheme` is the new default theme. Its color values come from `tokens.css`, which `GamutProvider` injects; pass `useTokens={false}` if the page loads `@skillsoft/gamut-styles/tokens.css` itself. The static file also works without React or Emotion.
- `Background` picks the content mode from a build-time table on generated themes, instead of measuring contrast at runtime.
- The core, admin, platform, lxStudio and percipio themes are removed from this release. Brand themes built on the generator (originalCodecademy and the others) return in the PRs that follow.
- `Alert` follows design's mapping: status tints, an icon color per variant, and the brand gradient on Feature.
14 changes: 14 additions & 0 deletions .changeset/color-system-white-label.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@skillsoft/gamut-brand': minor
'@skillsoft/gamut-styles': minor
---

Add `@skillsoft/gamut-brand`, for teams building their own brand on gamut, and give every brand its own `tokens.css`.

- `@skillsoft/gamut-brand` is new, and build-time only: install it as a dev dependency. `defineBrand({ name, hues })` types a brand, and `gamut-brand build <brand file>` writes its `values.ts`, `tokens.css` and DTCG JSON, refusing a brand that fails a contrast check. `--watch` regenerates when the brand file changes; `--check` fails CI when the files are out of date. The generator, the role table, the checks and gamut's own brands moved here from `@skillsoft/gamut-styles`.
- `createBrandTheme`, `BrandBase` and `BrandValues` are exported from `@skillsoft/gamut-styles`. `createBrandTheme(values, base)` turns a generated `values.ts` into a theme with the same type as gamut's own, so system props and styling functions stay typed against it.
- Each theme now carries only its own brand's colors. `GamutProvider` injects that brand's CSS, which puts its palette and its initial mode on `:root`, so a page starts in the right brand and mode without attributes on `<html>`. A brand's role overrides apply under a bare `data-color-mode` too.
- **Breaking:** the generated files moved to one folder per brand. Import `@skillsoft/gamut-styles/tokens/<brand>.css` for a brand's CSS (`tokens.css` is still the default brand) and `@skillsoft/gamut-styles/tokens/<brand>/{palette,light,dark}.tokens.json` for its DTCG files. `tokens/brands/*` is gone, and `brands` in `@skillsoft/gamut-styles/tokens` now includes the default brand.
- **Breaking:** `initialMode` moved from `createBrandTheme`'s second argument to the brand (`defineBrand({ initialMode: 'dark' })`), because the brand's CSS has to know it. `BrandBase` now requires gamut's font family and font weight keys.
- `platformTheme` now starts in dark mode in its CSS as well as in its theme, so a server-rendered page starts dark.
- The DTCG mode files include each brand's role overrides. They had the default roles for every brand.
1 change: 1 addition & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"fixed": [
[
"@skillsoft/gamut-agent-tools",
"@skillsoft/gamut-brand",
"@skillsoft/gamut-codemods",
"@skillsoft/gamut-icons",
"@skillsoft/gamut-illustrations",
Expand Down
17 changes: 17 additions & 0 deletions .changeset/gamut-codemods-color-roles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
'@skillsoft/gamut-codemods': minor
---

Add a `color-roles` preset that moves Gamut color names onto the generated color system's roles, using design's migration map.

- Renames and merges are applied. Names that split, were retired or are still pending stay in place, with a `/* color-roles: … */` comment carrying design's rule, and keep failing the type check until someone picks.
- Old palette names (`navy`, `gray-200`) get a `color-roles:` comment and a warning that names where the color is used (a prop, a `theme.colors` lookup, a CSS variable), so the review queue is in the source. Theme lookups are found through `props.theme`, `useTheme()`, a variable holding `theme.colors`, and `colors` or color keys destructured from the theme. Color names built at runtime get a warning.
- Some palette names now get a default role in a color prop, where the codemod knows the use: `red` becomes an error role (`surface-error` for a fill, `text-error` otherwise), `green` a success role, `white` `surface-raised`, `text-inverse` or `border-subtle`, `navy` the nearest role by brightness, `hyper` (the old primary) `action-primary`, and `blue-500` text (links and focus) `action-primary`. Blue fills and borders stay warnings, since they mix interactive and decorative uses. Greys follow their use: `gray-100` and `gray-200` to `surface-default` and `surface-sunken` as fills, `text-subtle` as text for `gray-600` and darker, and `border-subtle` or `border-default` as borders. A theme lookup, `themed()` call or CSS variable takes the same defaults when the CSS property or style key it is the value of says the use (`background-color: ${theme.colors['navy-100']}` becomes `surface-default`). Dark navy fills, colors inside a function like a gradient, and properties other than fills, text and borders stay warnings. The defaults are in `presets/color-roles/decisions.ts`.
- Old `--color-*` CSS variables are renamed to `--color-<role>` in `.css`, `.scss` and `.less` files and inside JS strings and template literals; splits get the same comment. The type check can't see stylesheets, so the leftovers report lists every one left. Indented-syntax `.sass` isn't rewritten.
- Card's `variant` moves onto design's two: `white`, `beige` and `navy` become `default`, `yellow` and `hyper` become `brand`. A `navy` card gets a comment, since it now renders light.
- Old theme names move to the brand themes that replace them: `percipioTheme` → `skillsoftTheme`, `coreTheme` → `originalCodecademyTheme`, and the `PercipioTheme` type → `SkillsoftTheme`. An aliased import (`percipioTheme as theme`) only changes the imported name. A `CoreTheme` type gets a comment pointing at `SkillsoftTheme`, which types every brand.
- Follows design's map: `shadow-primary` and `shadow-secondary` split onto `shadow-key` and `shadow-ambient`.
- Presets can bring their own manifest type, pre-filter and leftovers report. `scope-swap` is unchanged.
- The source run skips build output and caches (`.next`, `.nx`, `coverage`, `tmp`, plus the dirs it already skipped), so a dry run over an app no longer reads its bundles. `tsconfig-dom` warns only where gamut is imported.
- `scope-swap`'s `package-json` migration adds the peers the new packages need at runtime and no longer install: `@vidstack/react` and `react-player` for `@skillsoft/gamut`, at the ranges Gamut declares, only when the app imports `Video` from gamut and doesn't list them yet. It doesn't add `stylis`: `@emotion/cache` brings its own copy, and a second root copy can break emotion's style inserts.
- Themes differ in their spacing scale. In our repo, numeric spacing values (`padding`, `border` and similar) failed the type check under `skillsoftTheme` and passed under `originalCodecademyTheme`. Switching the theme changes that scale, so pick the theme the app was on, not the one the codemod's docs suggest.
5 changes: 5 additions & 0 deletions .changeset/gamut-migration-skill.md
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 0 additions & 6 deletions .changeset/gamut-scope-swap-skill.md

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ packages/gamut-codemods/**/__testfixtures__

/.nx/cache
/.nx/workspace-data
packages/gamut-styles/src/tokens/generated
15 changes: 7 additions & 8 deletions packages/.storybook/components/Elements/DocsContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {
AssetProvider,
coreTheme,
skillsoftTheme,
createEmotionCache,
GamutProvider,
platformPalette,
adminTheme,
lxStudioTheme,
percipioTheme,
CoreTheme,
SkillsoftTheme as CoreTheme,
platformTheme,
originalCodecademyTheme,
ColorMode,
} from '@skillsoft/gamut-styles';
import {
Expand All @@ -21,24 +21,23 @@ import { useMemo } from 'react';
import { HelmetProvider } from 'react-helmet-async';
import { createGamutDocsTheme } from '../../theming/GamutTheme';
import { createTheme } from '@skillsoft/variance';
export const storybookTheme = createTheme(coreTheme)
export const storybookTheme = createTheme(skillsoftTheme)
.addColors(platformPalette)
.build();

const themeMap = {
core: coreTheme,
admin: adminTheme,
lxStudio: lxStudioTheme,
percipio: percipioTheme,
platform: platformTheme,
skillsoft: skillsoftTheme,
originalCodecademy: originalCodecademyTheme,
} as const;

const themeSpecificStories = {
'foundations-theme-lx-studio-theme--docs': 'lxStudio',
'foundations-theme-percipio-theme--docs': 'percipio',
'foundations-theme-platform-theme--docs': 'platform',
'foundations-theme-admin-theme--docs': 'admin',
'foundations-theme-core-theme--docs': 'core',
'foundations-theme-core-theme--docs': 'originalCodecademy',
};
export const DocsContainer: React.FC<{
context: DocsContextProps;
Expand Down
20 changes: 20 additions & 0 deletions packages/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,26 @@ const config: StorybookConfig = {
'../gamut-styles/src/variance/config'
),
},
// Public subpaths of gamut-styles (see its `exports`), pointed at
// source like the bare specifier above.
{
find: /^@skillsoft\/gamut-styles\/tokens$/,
replacement: resolve(__dirname, '../gamut-styles/src/tokens'),
},
{
find: /^@skillsoft\/gamut-styles\/tokens\.css(\?.*)?$/,
replacement: `${resolve(
__dirname,
'../gamut-styles/src/tokens/generated/skillsoft/tokens.css'
)}$1`,
},
{
find: /^@skillsoft\/gamut-styles\/tokens\/(\w+)\.css(\?.*)?$/,
replacement: `${resolve(
__dirname,
'../gamut-styles/src/tokens/generated'
)}/$1/tokens.css$2`,
},
...normalizeAlias(config.resolve?.alias),
],
};
Expand Down
9 changes: 4 additions & 5 deletions packages/.storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ const preview: Preview = {
},
options: {
storySort: {
method: 'alphabetical',
order: ['Foundations', '*', 'Patterns'],
order: ['Actions', ['Buttons', ['Button Examples', '*']], '*'],
},
},
docs: {
Expand Down Expand Up @@ -95,14 +94,14 @@ export const globalTypes = {
theme: {
name: 'Theme',
description: 'Global theme for components',
defaultValue: 'core',
defaultValue: 'skillsoft',
toolbar: {
icon: 'paintbrush',
items: [
{ value: 'core', title: 'Core' },
{ value: 'skillsoft', title: 'Skillsoft' },
{ value: 'originalCodecademy', title: 'Original Codecademy' },
{ value: 'admin', title: 'Admin' },
{ value: 'lxStudio', title: 'LX Studio' },
{ value: 'percipio', title: 'Percipio' },
{ value: 'platform', title: 'Learning Platform' },
],
showName: true,
Expand Down
6 changes: 3 additions & 3 deletions packages/.storybook/systemProps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { coreTheme, system } from '@skillsoft/gamut-styles';
import { skillsoftTheme, system } from '@skillsoft/gamut-styles';
import type {
ArgTypesEnhancer,
StrictInputType,
Expand Down Expand Up @@ -51,12 +51,12 @@ const categoryRank = (category: string | undefined) =>
export const isSystemPropCategory = (category: string | undefined) =>
categoryRank(category) >= 0;

const themeScales = coreTheme as unknown as Record<
const themeScales = skillsoftTheme as unknown as Record<
string,
Record<string, unknown> | undefined
>;

// Token names come from the Core theme; other themes may define more or fewer.
// Token names come from the skillsoft theme.
const getScaleTokens = ({ scale }: SystemPropConfig) =>
typeof scale === 'string' ? Object.keys(themeScales[scale] ?? {}) : [];

Expand Down
Loading
Loading