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 | 749cb0885872571b36d9b3174067911a47fd5e3b (patch) | |
| tree | 4253b675c96dcdf78639611e4b57f66813929b7a /scripts/theme-studio/test-app-core.mjs | |
| parent | d0cf30bfa37864db12009c2f561c87f96bd66989 (diff) | |
| download | dotemacs-749cb0885872571b36d9b3174067911a47fd5e3b.tar.gz dotemacs-749cb0885872571b36d9b3174067911a47fd5e3b.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', () => { |
