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 | 4f3382c5f323d7f51fb52853d69d05aa7fafd974 (patch) | |
| tree | ba5de680e8863dcf4113a6926921065adc7844f8 /scripts/theme-studio/test-columns.mjs | |
| parent | 6aa8326e387ba4c3d9af71b6a269d4c1d7eb52ee (diff) | |
| download | dotemacs-4f3382c5f323d7f51fb52853d69d05aa7fafd974.tar.gz dotemacs-4f3382c5f323d7f51fb52853d69d05aa7fafd974.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 139860360..ae7a24542 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', () => { |
