Added Drift as a third brand palette - #40
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_plhelper 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