mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-15 15:46:30 +03:00
Default the color question to full palette and color the type boards
The default lives in each surface's fallback, not in the markup: show() checks whichever row the fallback names every time a tab opens, so the checked attribute on the option never survived. Persuade, Operate, and Read now open on Full palette. Experience keeps Restrained because four working colors are not on its allow list, and a default pointing at a blocked row would leave that tab with nothing selected. The font screen's boards also take the chosen palette under Restrained, which is the one answer no strategy block rewrites. They were drawing a page the palette had never reached while screen 03 kept its color under the same answer. Prepared with AI assistance (Cursor). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -57,9 +57,11 @@ export const SURFACE_ANSWERS = {
|
||||
answered: 'colored {}',
|
||||
unanswered: 'no color strategy chosen yet',
|
||||
surfaces: {
|
||||
persuade: { allow: 'restrained committed full-palette drenched', fallback: 'committed' },
|
||||
operate: { allow: 'restrained committed full-palette', fallback: 'restrained' },
|
||||
read: { allow: 'restrained committed full-palette', fallback: 'restrained' },
|
||||
persuade: { allow: 'restrained committed full-palette drenched', fallback: 'full-palette' },
|
||||
operate: { allow: 'restrained committed full-palette', fallback: 'full-palette' },
|
||||
read: { allow: 'restrained committed full-palette', fallback: 'full-palette' },
|
||||
// The one surface that cannot take four working colors, so it keeps the
|
||||
// quietest answer its allow list has.
|
||||
experience: { allow: 'restrained committed drenched', fallback: 'restrained' },
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user