aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-app-core.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-app-core.mjs
parent6c0d305687ef5b96928cdc7578e712a9dd0a2d8c (diff)
downloaddotemacs-269f23a38789190d112b04e8e70c3a6d649193b1.tar.gz
dotemacs-269f23a38789190d112b04e8e70c3a6d649193b1.zip
Update theme studio palette workflow
Diffstat (limited to 'scripts/theme-studio/test-app-core.mjs')
-rw-r--r--scripts/theme-studio/test-app-core.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/theme-studio/test-app-core.mjs b/scripts/theme-studio/test-app-core.mjs
index ded3da946..95763cdaf 100644
--- a/scripts/theme-studio/test-app-core.mjs
+++ b/scripts/theme-studio/test-app-core.mjs
@@ -41,7 +41,7 @@ test('optList: Boundary — empty cur is "have", so no (gone) entry', () => {
test('optList: Error — a cur not in the palette is surfaced as (gone) first', () => {
const list = optList('#123456', PAL);
assert.deepEqual(list[0], ['', '— default —']);
- assert.deepEqual(list[1], ['#123456', '(gone) #123456']);
+ assert.deepEqual(list[1], ['#123456', '(gone)']);
assert.deepEqual(list.slice(2), PAL);
});
@@ -97,7 +97,7 @@ test('paletteOptionList: Boundary — bg-like imported colors remain selectable
test('paletteOptionList: Error — a cur outside palette and ground is surfaced as gone', () => {
const list = paletteOptionList('#123456', PAL, { bg: '#0d0b0a', fg: '#f0fef0' });
assert.deepEqual(list[0], ['', '— default —']);
- assert.deepEqual(list[1], ['#123456', '(gone) #123456']);
+ assert.deepEqual(list[1], ['#123456', '(gone)']);
});
test('spanNeighborHex: Normal — steps lighter and darker within the current column', () => {