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
commit4f3382c5f323d7f51fb52853d69d05aa7fafd974 (patch)
treeba5de680e8863dcf4113a6926921065adc7844f8 /scripts/theme-studio/test-app-core.mjs
parent6aa8326e387ba4c3d9af71b6a269d4c1d7eb52ee (diff)
downloaddotemacs-4f3382c5f323d7f51fb52853d69d05aa7fafd974.tar.gz
dotemacs-4f3382c5f323d7f51fb52853d69d05aa7fafd974.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', () => {