Redesign the character palettes from the reference cards
Phase 5a-4. The owner chose candidate B of each palette. - Harvest Moon uses copper from Holo's tail as the accent, cream from the tail tip, and red-brown surfaces. - Crimson Pilot uses plugsuit red as the accent, orange hair, blue eyes, and the yellow dress. Borders are a low-chroma wine. Error is a light rose red, so it differs from the accent. - Silver Serpent uses silver from the grey eyes as the accent, Slytherin emerald as the second accent, and charcoal surfaces. - All eight built-in palettes pass every readability rule. The known-failure list in contrast.spec.ts is gone. - characterPalettes.spec.ts measures text selection as the app draws it, at most 65% opaque over the page (UI-029). - Docs: UI-045, and the character references in ui-color.md. pnpm check passes. pnpm test: 446 of 446 pass. Full smoke suite: 95 passed, 2 known.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import type { BuiltinTheme } from './index.ts';
|
||||
|
||||
// "Malfoid", a fan creation: Draco Malfoy written as a female character. The books win over fan art.
|
||||
// "Malfoid", a fan creation: Draco Malfoy written as a female character, from card 6d09b547. The books win over fan art,
|
||||
// so the eyes are grey. Silver (stage 5a-4): silver from the eyes is the accent, Slytherin emerald is the second accent,
|
||||
// platinum hair marks strings, and the surfaces are the charcoal of the robes.
|
||||
export const silverSerpent = {
|
||||
id: 'silver-serpent' as const,
|
||||
name: 'Silver Serpent',
|
||||
@@ -8,12 +10,13 @@ export const silverSerpent = {
|
||||
fonts: { ui: 'Corbel, "Segoe UI", "Helvetica Neue", Arial, sans-serif', prose: '"Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif', heading: '"Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif' },
|
||||
variants: {
|
||||
dark: {
|
||||
bg: '#151c1b', 'bg-elevated': '#1d3029', 'bg-active': '#223a32', border: '#528f74',
|
||||
text: '#e3e7eb', 'text-dim': '#bec8ce', 'text-strong': '#fff5d5',
|
||||
accent: '#36e395', 'accent-2': '#c5d5e2', selection: '#13533a', 'item-selection-bg': '#13533aa6',
|
||||
error: '#f44747', 'warn-hot': '#d68a00', warn: '#cca700', ok: '#89d185', special: '#c792ea',
|
||||
'syntax-keyword': '#36e395', 'syntax-variable': '#e3e7eb', 'syntax-property': '#f4c6ae', 'syntax-constant': '#edc45f', 'syntax-punctuation': '#edc45f', 'syntax-string': '#a7e7c4', 'syntax-number': '#ffb79b',
|
||||
'syntax-comment': '#bec8ce', 'syntax-type': '#ffffff', 'syntax-function': '#61dfbb',
|
||||
bg: '#141619', 'bg-elevated': '#1c1e21', 'bg-active': '#2b3034', border: '#3b4046',
|
||||
text: '#e5e8ec', 'text-dim': '#b3b8be', 'text-strong': '#fcf9ea',
|
||||
accent: '#bfd4e7', 'accent-2': '#31d78c', selection: '#0c6944', 'item-selection-bg': '#0c6944a6',
|
||||
error: '#ff645f', 'warn-hot': '#fd923e', warn: '#fec84b', ok: '#5cdc78', special: '#fb9989',
|
||||
'syntax-keyword': '#31d78c', 'syntax-string': '#f0de99', 'syntax-number': '#fda293', 'syntax-comment': '#b2b7bd',
|
||||
'syntax-type': '#c5dbee', 'syntax-function': '#5addc7', 'syntax-property': '#a4c2dc', 'syntax-variable': '#e5e8ec',
|
||||
'syntax-constant': '#f2c86c', 'syntax-punctuation': '#b2b7bd', 'syntax-heading': '#31d78c',
|
||||
},
|
||||
},
|
||||
} satisfies BuiltinTheme;
|
||||
|
||||
Reference in New Issue
Block a user