The board's symbol takes a tint — a 4×2 colour row under the picker's glyphs, and the glyph itself moves into the titlebar
iconColor stops being hand-written-only (user-ruled, superseding 03's "schema yes, control no"): it rides StyleCommand.apply → applyStyle as the third styled dimension — per-dimension no-op skip, one bracket, one history step, ExpectedField.iconColor for staleness. The SymbolPicker grows an opt-in colour row (leading None plus seven Palette.foregrounds hues, None removes the key); the board popover is its one caller. The window-title widget now draws the board's resolved glyph in that tint beside the name. Doc realignment filed on the Redesign board (Minor). Claude-Session: https://claude.ai/code/session_01SR4XGjmBE16ZUYWpfFHXwY
This commit is contained in:
@@ -36,12 +36,13 @@ enum StyleCommand {
|
||||
static func apply(
|
||||
background: StyleChange = .keep,
|
||||
icon: StyleChange = .keep,
|
||||
iconColor: StyleChange = .keep,
|
||||
to target: StyleTarget,
|
||||
in store: BoardStore,
|
||||
recents: StyleRecents,
|
||||
on undo: CardWindowUndo? = nil
|
||||
) {
|
||||
store.applyStyle(to: target, background: background, icon: icon, on: undo)
|
||||
store.applyStyle(to: target, background: background, icon: icon, iconColor: iconColor, on: undo)
|
||||
if case let .set(value) = background {
|
||||
recents.record(value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user