diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-14 00:08:03 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-14 00:08:03 -0500 |
| commit | f0219296bd5810eb016c264105f04b345cf47281 (patch) | |
| tree | 2a80edbce85dceeead2fa22d1c85ef56110baba5 /scripts/theme-studio/test-columns.mjs | |
| parent | b5f433b64de7fec54f2d2c5637c4f16c860d65e5 (diff) | |
| download | dotemacs-f0219296bd5810eb016c264105f04b345cf47281.tar.gz dotemacs-f0219296bd5810eb016c264105f04b345cf47281.zip | |
Update theme studio palette workflow
Diffstat (limited to 'scripts/theme-studio/test-columns.mjs')
| -rw-r--r-- | scripts/theme-studio/test-columns.mjs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/theme-studio/test-columns.mjs b/scripts/theme-studio/test-columns.mjs index 13986036..ae7a2454 100644 --- a/scripts/theme-studio/test-columns.mjs +++ b/scripts/theme-studio/test-columns.mjs @@ -112,6 +112,11 @@ test('groundRoleOfEntry: Boundary - exact ground roles only, not bg-prefix names assert.equal(groundRoleOfEntry(['#555555', 'ground-1'], ground), 'step'); }); +test('groundRoleOfEntry: Boundary - renamed entries with the ground column id remain steps', () => { + const ground = { bg: '#ffffff', fg: '#000000' }; + assert.equal(groundRoleOfEntry(['#777777', 'renamed-middle', 'ground'], ground), 'step'); +}); + // --- regenColumn ------------------------------------------------------------ test('regenColumn: Normal - n steps each side plus the base, ordered by offset', () => { |
