diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-13 18:19:25 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-13 18:19:25 -0500 |
| commit | 004555738ac3f11db3ac6318a893ad63e5a2db96 (patch) | |
| tree | 535e92fa3ba9cff32e22150b81d809416df26dfd /scripts/theme-studio/test-app-core.mjs | |
| parent | 38c98039e129e35844977538813205cc516a416e (diff) | |
| download | dotemacs-004555738ac3f11db3ac6318a893ad63e5a2db96.tar.gz dotemacs-004555738ac3f11db3ac6318a893ad63e5a2db96.zip | |
Fix theme studio span endpoint tiles
Diffstat (limited to 'scripts/theme-studio/test-app-core.mjs')
| -rw-r--r-- | scripts/theme-studio/test-app-core.mjs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/theme-studio/test-app-core.mjs b/scripts/theme-studio/test-app-core.mjs index 44474d43f..483183050 100644 --- a/scripts/theme-studio/test-app-core.mjs +++ b/scripts/theme-studio/test-app-core.mjs @@ -143,21 +143,21 @@ test('deletePaletteColumnPlan: Normal — removes one stable column and keeps gr test('deletePaletteColumnPlan: Boundary — never deletes ground entries', () => { const plan = deletePaletteColumnPlan([ ['#0d0b0a', 'bg', 'ground'], - ['#555555', 'ground-1', 'ground'], + ['#555555', 'ground+1', 'ground'], ['#f0fef0', 'fg', 'ground'], ], { bg: '#0d0b0a', fg: '#f0fef0' }, 'ground'); - assert.deepEqual(plan.palette.map(p => p[1]), ['bg', 'ground-1', 'fg']); + assert.deepEqual(plan.palette.map(p => p[1]), ['bg', 'ground+1', 'fg']); assert.deepEqual(plan.removed, []); }); -test('groundColumnMembersFromPalette: Normal — sorts bg, ground-N steps, then fg', () => { +test('groundColumnMembersFromPalette: Normal — sorts bg, ground+N steps, then fg', () => { const members = groundColumnMembersFromPalette([ ['#ffffff', 'bg', 'ground'], - ['#333333', 'ground-2', 'ground'], - ['#bbbbbb', 'ground-1', 'ground'], + ['#333333', 'ground+2', 'ground'], + ['#bbbbbb', 'ground+1', 'ground'], ['#000000', 'fg', 'ground'], ], { bg: '#ffffff', fg: '#000000' }); - assert.deepEqual(members.map(m => m.name), ['bg', 'ground-1', 'ground-2', 'fg']); + assert.deepEqual(members.map(m => m.name), ['bg', 'ground+1', 'ground+2', 'fg']); }); test('lock helpers: Normal — label and toggle operate on the full key set', () => { |
