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
commit623f8e09b93168c48f98961d963ce62a046b0877 (patch)
tree365878a3b411e430c480b20e7f1b95521535f9ef /scripts/theme-studio/test-columns.mjs
parentd1edc63c205b7c589d4178bdd638b171400ed098 (diff)
downloaddotemacs-623f8e09b93168c48f98961d963ce62a046b0877.tar.gz
dotemacs-623f8e09b93168c48f98961d963ce62a046b0877.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', () => {