Skip to content

Riverbank light palette - #16

Merged
sanjaydotpro merged 5 commits into
mainfrom
riverbank/light-palette
Nov 17, 2026
Merged

sanjaydotpro merged 5 commits into
mainfrom
riverbank/light-palette

Conversation

@sanjaydotpro

@sanjaydotpro sanjaydotpro commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Replaces the app's placeholder light palette with Riverbank light, the values Sanjay approved on Paper page p-3-1 (file 01M7HGSWEAH0VTGM4PQWD1H3HS, artboards 74I-1, 84C-1, 7MT-1, 71Q-1 and the token table 8B6-1). Dark mode is untouched.

Palette. Every lightPalette token now carries its p-3-1 value. That means warm paper surfaces (FCFAF4 editor, F3EFE4 sidebar, F6F2E8 cards), ink-brown text (2A2620 / 6F695C / 8A8476) and the deeper sage 56703C as the light accent, with FCFAF4 on it. The old cool light values and the copper KapyTheme.brand are deleted rather than kept alongside, and the ColorScheme now seeds from the active accent in both modes. hover (EBE5D6) and selectedBackground (E2DCCB) aren't rows in the p-3-1 table, so they were picked to sit between the control and pane tones.

Shadows. The page card, note cards, view toggle, settings dialog, switch knob and sidebar popover used hard-coded black shadows that would stay black on paper. They now go through a new shadow palette token via palette.shadowAt(alpha), where alpha is the old black alpha. In dark mode the token is opaque black, so every shadow is byte-for-byte what it was. In light mode the token is ink 2A2620 at 40%, so 4D → 1F and 33 → 14, as in the proposal. The proposal flattens a few others further (80 → 29, 40 → 0D), and those come out slightly stronger here (33 and 1A). A new switchThumb token gives the desktop switch its paper-coloured thumb on the sage track in light mode. In dark mode it's E2DCCF, the same as before. Instant capture's WidgetsApp colour now reads the light editor background instead of a leftover hex value.

Goldens. The eight light goldens this moves are re-rendered: desktop light, light settings, sidebar streak, toast, shared-note toolbar, phone welcome and both Pro sheet goldens. No dark golden changes. The phone goldens move because iOS and Android share the light palette. Only colours change there, not layout.

Glass. I rendered light transparency over a wallpaper offscreen at both ends of the slider, and its tints are the Riverbank light tokens at reduced alpha. The renders also showed a layering bug that #14's page card brought in for both themes. The card painted its own translucent paper under the editor, gutter and footer, which already paint theirs, so the glass came out thicker than designed. Its drop shadow also showed through the page as a dark slab. Now in glass mode the card is only its edge, and the page toolbar paints the paper it sits on. That matches the layering from before #14. Opaque rendering is unchanged.

Clock. The calculator now reads the notes store's clock instead of DateTime.now. In the app that clock is still DateTime.now. The goldens already pin it, so desktop_dark_note_pinned no longer changes with the date: "Today" in its note now renders 1 Sep 2026.

Verification. I ran these on Sanjay's Mac with Flutter 3.47.4 (~/dev/flutter; the 3.47.2 install there is damaged), after flutter pub get --enforce-lockfile. flutter analyze is clean, and the full flutter test suite passes: 2131 tests.

Replace every light token with the approved p-3-1 values, make the sage
56703C the light accent, drop the old copper brand colour, and route the
hard-coded black shadows and the switch thumb through the palette so light
mode casts ink-brown shadows. Re-render the light goldens it moves.
In transparency mode the page card painted its own translucent paper under
the editor, gutter and footer, which paint theirs, and its drop shadow showed
through the page as a dark slab. The card is now only its edge in glass
mode, and the page toolbar paints the paper it sits on.
The engine read DateTime.now while the notes, their cards and the goldens
read the notes store's clock, so a golden with "Today" in its note
changed every day. The engine now takes the same clock, which pins
desktop_dark_note_pinned to the golden date.
Opaque, the card's own fill is already under it, and a second fill moved
the anti-aliasing where it meets the card's edge.
@sanjaydotpro
sanjaydotpro force-pushed the riverbank/light-palette branch from 42b9e7e to 3f5bbed Compare November 17, 2026 04:49
@sanjaydotpro
sanjaydotpro merged commit 1534d0a into main Nov 17, 2026
4 checks passed
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