Default bold ink #c96b4a -> #ee928c

Owner default change (2026-09-23): the factory strong-color token
moves to the softer coral. The factory lives in the stylesheet
token (both theme blocks in globals.css) - settings' boldColor:null
means "factory" by design, so no record/schema change. The settings
row hint + placeholder follow, plus the placeholder test and two
comments that cited the old literal.

Live-verified: unset boldColor renders rgb(238,146,140) (#ee928c) on
the real <strong>; dialog hint reads "Empty = #ee928c".
This commit is contained in:
amosblomqvist
2026-09-23 22:05:58 +03:00
parent fb72b4fee3
commit f7a04f6c02
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -341,7 +341,7 @@ export function MathDisplay(props: ComponentProps<"span"> & ExtraProps) {
/** Bold as the REAL element (appearance fix, 2026-09-23): streamdown's
* default `strong` renders `<span class="font-semibold" data-streamdown=
* "strong">` — and `.lh-prose :where(strong, b)` matches strong/b
* ELEMENTS, so neither the factory ink (#c96b4a) nor a settings
* ELEMENTS, so neither the factory ink (#ee928c) nor a settings
* boldColor ever landed on bold text (italic worked: streamdown leaves
* `em` native). Rendering the semantic element restores screen-reader
* emphasis AND lets the designed token rule apply unmodified — color
+2 -2
View File
@@ -116,10 +116,10 @@ export function AppearanceSection({
}}
/>
</SettingsRow>
<SettingsRow label="Bold color" hint="Empty = #c96b4a" testid="row-bold-color">
<SettingsRow label="Bold color" hint="Empty = #ee928c" testid="row-bold-color">
<CommitInput
value={md?.boldColor ?? ""}
placeholder="#c96b4a"
placeholder="#ee928c"
ariaLabel="bold color"
testid="input-bold-color"
onCommit={(v) => onSectionChange({ ...appearance, mdRendering: { ...md, boldColor: v === "" ? null : v } })}