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
commit269f23a38789190d112b04e8e70c3a6d649193b1 (patch)
tree934e9a5bfb0e97d690e672cb2e098316543d68f6 /scripts/theme-studio/test-columns.mjs
parent6c0d305687ef5b96928cdc7578e712a9dd0a2d8c (diff)
downloaddotemacs-269f23a38789190d112b04e8e70c3a6d649193b1.tar.gz
dotemacs-269f23a38789190d112b04e8e70c3a6d649193b1.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', () => {