aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-columns.mjs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-14 00:08:03 -0500
committerCraig Jennings <c@cjennings.net>2026-06-14 00:08:03 -0500
commit4f3382c5f323d7f51fb52853d69d05aa7fafd974 (patch)
treeba5de680e8863dcf4113a6926921065adc7844f8 /scripts/theme-studio/test-columns.mjs
parent6aa8326e387ba4c3d9af71b6a269d4c1d7eb52ee (diff)
downloaddotemacs-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.mjs5
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', () => {