Skip to content

Added Drift as a third brand palette - #40

Merged
cushycush merged 2 commits into
mainfrom
drift-palette
May 23, 2026
Merged

Added Drift as a third brand palette#40
cushycush merged 2 commits into
mainfrom
drift-palette

Conversation

@cushycush

@cushycush cushycush commented May 22, 2026

Copy link
Copy Markdown
Owner

Drift is an OS I'm building, and I want wflow to feel like a native citizen when it runs there. wflow was shipping two skins (Warm Paper and Cool Slate); this adds a third, named Drift, that mirrors the OS's identity. Slate-900 dark / cream-200 light surfaces with a gold-500 accent. The cat-tint chips lean on a slate/gold-adjacent brand-tier set (plum, steel, sage, teal, ochre, terra) so they stay in the same register as the surfaces.

The mechanical change is Theme.qml's _pl helper going from four args to six. Every token line now picks via _pl(coolDark, coolLight, warmDark, warmLight, driftDark, driftLight). The Rust validator accepts "drift" alongside "warm" and "cool" (anything else still coerces to "warm" so older state.toml files round-trip unchanged), and the state round-trip test covers the new value too. Settings gets a third segmented-control entry; the first-run tutorial chooser's tile row goes from 2-up to 3-up.

Smoke-tested by rotating across all three skins x light / dark / auto on Library, Patch + source pane, Settings, and Tutorial. Looked good.

Refs: WFLOW-36

cushycush added 2 commits May 22, 2026 18:36
wflow was shipping two skins (Warm Paper and Cool Slate) and I wanted a third that read as slate-and-gold so I'd have a different mood to flip to. Drift is slate-900 dark / cream-200 light with a gold-500 accent, and the cat-tint chips lean on a slate/gold-adjacent brand-tier set (plum, steel, sage, teal, ochre, terra) so they stay in the same register as the surfaces.

Theme.qml's `_pl` helper grew from four args to six. Every token line now picks via `_pl(coolDark, coolLight, warmDark, warmLight, driftDark, driftLight)`. The Rust validator in `src/bridge/state.rs` accepts "drift" alongside "warm" and "cool" (anything else still coerces to "warm" so old state.toml files round-trip clean). Settings gets a third segmented-control entry, and the first-run tutorial chooser's tile row goes from 2-up to 3-up.

.impeccable.md absorbs two things in one diff: the deferred design-system sync that was queued in the working tree from the prior session, plus the new three-palette paragraph on top. Both are landing on the same paragraphs, so splitting them would have been mostly resync noise. CLAUDE.md picks up the matching paragraph and the new six-arg `_pl` signature.

Refs: WFLOW-36
@cushycush cushycush changed the title Drift as a third brand palette Added Drift as a third brand palette May 23, 2026
@cushycush
cushycush merged commit 79ddab3 into main May 23, 2026
1 check passed
@cushycush
cushycush deleted the drift-palette branch May 23, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant