Mockup look: colours, corners, guide lines (Q3) #695

Closed
kayg wants to merge 1 commit from port/look-values into dev
Owner

Closes #693. One small change, so it can be judged on its own.

  • packages/ui/src/styles/tokens.css: the mockup's colours (paper, inks, lines, hover/press, accent-soft, selection, shadows, dark glass/scrim/chrome) and corners (--r-control 8, --r-tile 12, --r-card 14, --r-sheet 22, --r-frame 22). Token table is in #693. Layout, type, menu, icon and motion tokens are not touched.
  • apps/web/src/lib/variants.svelte.ts: tree lines default to connected (the mockup has only connected). The Settings > Editor selector and the per-note choice stay.
  • e2e: tree.spec.ts and prefs.spec.ts expected "dotted is the default"; they now expect connected and test dotted as the choice.

Note: dev's tokens.css has carried "Look v2" (#493) since 16 Oct; the mockup's default is the older v1 set. This PR therefore moves dev from v2 to v1 values, as decided ("mockup values win"). Easy to revert: one file.

Checks (on the VM): svelte-check 0 errors; ui primitives and editor tree unit tests pass; Playwright (tree, prefs, prefs-offline, contrast, admin-contrast, glass, opacity, backdrops, chrome-blur, list-chrome, page-chrome, sheet-geometry, link-contrast, links-look, accent-labels) on chromium-1440, webkit-390, prefs, contrast, admin projects: 141 passed, 49 skipped, 0 failed; same on origin/dev. No screenshot baselines changed.

Closes #693. One small change, so it can be judged on its own. - `packages/ui/src/styles/tokens.css`: the mockup's colours (paper, inks, lines, hover/press, accent-soft, selection, shadows, dark glass/scrim/chrome) and corners (--r-control 8, --r-tile 12, --r-card 14, --r-sheet 22, --r-frame 22). Token table is in #693. Layout, type, menu, icon and motion tokens are not touched. - `apps/web/src/lib/variants.svelte.ts`: tree lines default to `connected` (the mockup has only connected). The Settings > Editor selector and the per-note choice stay. - e2e: `tree.spec.ts` and `prefs.spec.ts` expected "dotted is the default"; they now expect connected and test dotted as the choice. Note: dev's tokens.css has carried "Look v2" (#493) since 16 Oct; the mockup's default is the older v1 set. This PR therefore moves dev from v2 to v1 values, as decided ("mockup values win"). Easy to revert: one file. Checks (on the VM): svelte-check 0 errors; ui primitives and editor tree unit tests pass; Playwright (tree, prefs, prefs-offline, contrast, admin-contrast, glass, opacity, backdrops, chrome-blur, list-chrome, page-chrome, sheet-geometry, link-contrast, links-look, accent-labels) on chromium-1440, webkit-390, prefs, contrast, admin projects: 141 passed, 49 skipped, 0 failed; same on origin/dev. No screenshot baselines changed.
Mockup look: colours, corners, guide lines (Q3, #693)
Some checks failed
CI / web (pull_request) Failing after 56s
CI / server (pull_request) Successful in 58s
CI / rust (pull_request) Successful in 15m11s
2f1140e1de
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Cj2Q1hCskP8Frsk6X7EHw
Author
Owner

Replaced by #699. kayg decided on 27 Oct: keep Look v2, and the tree-line default stays the dotted guide with faded ends (#618), as it already is on dev.

Replaced by #699. kayg decided on 27 Oct: keep Look v2, and the tree-line default stays the dotted guide with faded ends (#618), as it already is on dev.
kayg closed this pull request 2026-10-27 07:06:34 +00:00
Some checks failed
CI / web (pull_request) Failing after 56s
CI / server (pull_request) Successful in 58s
CI / rust (pull_request) Successful in 15m11s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!695
No description provided.