Mercurial
diff design_system/test/catalog_test.js @ 259:667156fcd3e3
Add dev-only cyberpunk JRPG page
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Wed, 05 Aug 2026 09:19:41 -0700 |
| parents | 60a876c4587a |
| children |
line wrap: on
line diff
--- a/design_system/test/catalog_test.js Wed Aug 05 05:25:40 2026 -0700 +++ b/design_system/test/catalog_test.js Wed Aug 05 09:19:41 2026 -0700 @@ -805,7 +805,7 @@ { length: 10 }, (_, index) => value(`data-${index + 1}`), ); - const themes = ['paper', 'ink', 'playful'].map(theme => { + const themes = ['paper', 'ink', 'playful', 'cyberpunk'].map(theme => { root.dataset.zenTheme = theme; const channels = value => value.match(/\d+(?:\.\d+)?/g) .slice(0, 3) @@ -871,7 +871,7 @@ assert.notDeepEqual(colorTokenState.data, colorTokenState.darkData); assert.equal( new Set(colorTokenState.themes.map(theme => theme.canvas)).size, - 3, + 4, ); assert.notEqual( colorTokenState.themes.find(theme => theme.name === 'paper').radius,