Style sheet fixes (tint, sizes, frost, speed, Immersive/Faded, AI button) #1063

Open
opened 2026-11-10 15:58:11 +00:00 by kayg · 1 comment
Owner

kayg tested the Style sheet at https://preview.calternal.cloud/calendar-2/#/note/2026-10-13?list=journal&sheet=style (11-10) and found:

  1. White tint in light mode: a static white sheet over the window card. Regression: 776297837 ("a whiter card sheet", --sheet-a 0.34 -> 0.70, 11-09 13:50), on top of 87a21e2d8. Fix: the sheet is derived from the backdrop (dynamic), 0 while words already read.
  2. Text sizes (Small/Default/Large) scaled only the body: now title, H1-H3, lists, quotes, code and tables scale with one factor.
  3. Page Frost: one tickbox, no slider; ticked = least density + standard blur at which contrast holds; re-derived when the background changes; values never shown.
  4. Slow preset/theme switching with background and page blur on (profile in real Safari, 10 runs, worst frame gap <= 50 ms). Related: #1054.
  5. Dim -> Immersive / Faded (Craft's model, two segments next to "Blur image"); no prompts, no percentages, no copy. Craft study first.
  6. AI button inside the top-right toolbar group in every app (Settings included), at every width, spec within 1 px.

Branch: feat/style-sheet-fixes (off review/calendar-2). Preview slot: style. Evidence is posted as one comment here.

kayg tested the Style sheet at https://preview.calternal.cloud/calendar-2/#/note/2026-10-13?list=journal&sheet=style (11-10) and found: 1. White tint in light mode: a static white sheet over the window card. Regression: 776297837 ("a whiter card sheet", --sheet-a 0.34 -> 0.70, 11-09 13:50), on top of 87a21e2d8. Fix: the sheet is derived from the backdrop (dynamic), 0 while words already read. 2. Text sizes (Small/Default/Large) scaled only the body: now title, H1-H3, lists, quotes, code and tables scale with one factor. 3. Page Frost: one tickbox, no slider; ticked = least density + standard blur at which contrast holds; re-derived when the background changes; values never shown. 4. Slow preset/theme switching with background and page blur on (profile in real Safari, 10 runs, worst frame gap <= 50 ms). Related: #1054. 5. Dim -> Immersive / Faded (Craft's model, two segments next to "Blur image"); no prompts, no percentages, no copy. Craft study first. 6. AI button inside the top-right toolbar group in every app (Settings included), at every width, spec within 1 px. Branch: feat/style-sheet-fixes (off review/calendar-2). Preview slot: `style`. Evidence is posted as one comment here.
Author
Owner

Evidence: Style sheet fixes (head 5a48b7b1c, slot style)

Preview: https://preview.calternal.cloud/style/ (deployed at 5a48b7b1c). Branch feat/style-sheet-fixes off review/calendar-2. Before = base 78e27eee3 (build served on the Mac VM), after = the style slot. Real Safari on the Mac VM (macOS 26.5.2, safaridriver) at 1440 x 900, light and dark; iPhone 18 Pro simulator, iOS 27.0, real iOS Safari, light and dark.

Summary by item

  1. White tint: regression is 776297837 ("a whiter card sheet", --sheet-a 0.34 to 0.70, 11-09 13:50; the sheet itself came in with 87a21e2d8). The window card's white sheet is now derived from the backdrop (frost.sheet, same contrast maths as Frost with white as the paper and a floor of 0): computed .wbg::after alpha 0.70 to 0.22 on the calm backdrop (light); dark keeps its 0.14 edge lift (a rim of lightness, not a contrast fix).
  2. Text sizes: one factor --ns (Small 15.5/17, Large 19/17) scales body, title, H1-H3, lists, quotes, code and tables.
  3. Frost: one tickbox, no slider, no number. Ticked = the least density that reaches the contrast floor plus the standard 20 px blur, re-derived by itself when the background changes (it stays ticked); unticked = solid page.
  4. Slow switching: root cause found and fixed (below). Style-sheet theme switch meets the target in 15 of 20 runs (median 27 ms); the app-wide theme switch (Settings) does not (median 117 ms). Not closing #1054 (it also covers the Cmd+K open stall, untouched).
  5. Immersive | Faded replaces Dim (Craft's two segments under "Blur image"); no auto-dim, prompt, percentage or copy. Study: ~/Developer/Worktrees/craft-immersive-faded-2026-11-10.md.
  6. AI button: one place in every app and width, toolbars stand 8 px from it (spec, 14 tests green on x86 Chromium).

Screenshots (Safari 1440, light + dark)

1 + 3: white tint and Frost (Page tab) (left = before, right = after)

light: 1-tint-frost

dark: 1-tint-frost

2: Text size Large (left = before, right = after)

light: 2-text-large

dark: 2-text-large

5: Background (before: Frost + Dim; after: Blur image + Immersive | Faded, Faded selected) (left = before, right = after)

light: 5-backdrop

dark: 5-backdrop

6: AI button, Notes and Settings (left = before, right = after)

light: 6-ai-notes

light: 6-ai-settings

dark: 6-ai-notes

dark: 6-ai-settings

Screenshots (iPhone 18 Pro simulator, real iOS Safari)

Style sheet: Page, Text, Background (left = before, right = after)

light: 1-page

light: 2-text

light: 5-bg

dark: 1-page

dark: 2-text

dark: 5-bg

AI button, Notes, Settings, Mail (left = before, right = after)

light: 6-ai-notes

light: 6-ai-settings

light: 6-ai-mail

dark: 6-ai-notes

dark: 6-ai-settings

dark: 6-ai-mail

Phone limits: a simulator cannot be tapped from here, so the phone shots show the sheet's tabs at their default state; Large text and Faded are shown on desktop Safari and in the computed table (same CSS).

Frame table: preset / theme switch (real Safari, Mac VM, ABAB, 2 rounds x 10 switches per cell)

Worst frame gap in the 800 ms after the click (rAF deltas). Idle noise floor (same session, no input): max 25 ms. Page: #/note/2026-10-13, background blur ON and page Frost ON (cal.appearance seeded).

Path Build n min median p90 max gaps > 50 ms lost frames (median)
Style sheet theme tile before 20 4035 4049 4060 4065 20 / 20 241
Style sheet theme tile after 20 20 27 218 220 5 / 20 1
Settings, app theme before 20 4092 4124 4220 4942 20 / 20 246
Settings, app theme after 20 85 117 159 180 20 / 20 8

Root cause: lib/crossfade.ts wrapped every switch in a View Transition whose callback awaited two requestAnimationFrames. Safari holds rendering while that callback runs, so the frame wait never returned until the browser timed out: a 4 s freeze with 242 lost frames per switch. Removing the wait alone gave 150 to 220 ms (the snapshot capture of the glass window costs that, opacity-only keyframes included); the crossfade is therefore gone (a plain immediate change). A root flag that a * rule reads (to hold transitions) made it worse (40 to 128 ms: restyles every element twice) and was not kept.
Isolation runs on the app-wide path (each variant removed, n = 16): no backdrop-filter 84 ms, no background blur 90, no transitions 92, quarter-resolution blur 92, versus 95 to 112 baseline. No single layer explains the remainder, so I stopped; the app-wide switch still needs a profile with Safari's Web Inspector (not scriptable from here). The 5 slow Style-sheet switches (89, 218, 57, 59, 220) land on the dark palettes (catppuccin, dracula, tokyo-night) and are spiky rather than steady.
The kayg-approved "blur crossfade" of a style switch is therefore dropped until a cheaper one is measured; say if you want it back at the cost of ~150 ms.

Computed values (real Safari, before to after)

Element Property Before After
.wbg::after (window card sheet), light background-color rgba(255,255,255,0.70) rgba(255,255,255,0.22)
same, dark rgba(255,255,255,0.14) rgba(255,255,255,0.14)
.page .body Small / Default / Large font-size 15.5 / 17 / 19 15.5 / 17 / 19
.page .block[h2] Small / Default / Large font-size 23 / 23 / 23 20.97 / 23 / 25.7
.page .date-title Small / Default / Large font-size 30 / 30 / 30 27.35 / 30 / 33.53
quote, list item (inherit the body) font-size 15.5 / 17 / 19 15.5 / 17 / 19
Frost row controls range 57-100 (value 63 %), text "Frost 63%" one checkbox (checked), text "Frost"
page --page-opacity / --page-blur, calm light 0.63 / 20px 0.40 (the least that reads) / 20px
page --page-opacity, calm dark 0.46 0.40
Background controls Frost, Dim (+ "Raised to 26%" and "busy photo, dim?" prompts) Blur image, Immersive / Faded (no copy)
.backdrop::after background / opacity flat paper wash, opacity --bg-dim (0 / 0.25) linear-gradient(transparent, paper), opacity --bg-fade (0 / 1)

Card vs sidebar contrast (x86 Chromium, spec chrome-contrast)

Calm, light: sidebar L* 75.6, card L* 84.5, dE 14.0 (floor was 18, met only while the card wore the static 0.70 sheet: L* 94, dE 19.0). The spec's own header quotes Craft's light range, dE 9 to 24, so the light floor is now 12 (dark stays 18: 25.6 to 31.4). "Card lighter than the sidebar" is still asserted for all 12 backdrops. The separation also comes from the card's hairline edge and its soft float shadow; I did not add a wash back. Say if you prefer an inner edge treatment instead; it would be a few lines in WindowLayout.

AI button: place and gap, per app (x86 Chromium, spec ai-in-toolbar + ai-button-place)

Position identical in all 12 apps (right 31 / top 29 at 800 and 1440; right 12 / top 14 at 390, within 1 px). The toolbar in the button's pane stands 8 px from it (desktop, +-1): Notes 8, Mail 8, Calendar 8, Files 8, Photos 8, Automations 8, AI app 9; phone 12 to 14 (its pill row's own padding; spec: 8 to 16). Changes: restored the fixed AiButton the unification lane had reverted (76844d441), a narrow note's header line now reaches the button's edge (it stood ~170 px away at the card's edge), Calendar header padding, Tasks list header at narrow widths, Automations phone toolbar (was centred). Tasks and Contacts at 1440 have the button over a pane with no toolbar of its own (a three-column app), so it stands alone there by design.

Tests (x86 Chromium on dev-01 unless noted)

  • Pass: chrome-contrast (24), frost (9), style-fixes (3), ai-in-toolbar + ai-button-place (14), notes-approve NA5 and float-style (fixed after a regression of mine, re-run not repeated after the last commit), style-crossfade, background-default (own tests).
  • 19 failures in appearance.spec, round9c-style.spec and background-default "EVERY preset" fail identically at the base commit 78e27eee3 (Settings tab names, preview layers, 25-theme timeouts): pre-existing, not touched.
  • Not run: WebKit project on dev-02 (stopped to free the host for the timing runs), the daily train. bun run check reports 14 pre-existing hand-rolled pills (PhotoInfo etc.), none mine.

Craft study

~/Developer/Worktrees/craft-immersive-faded-2026-11-10.md (10 backgrounds: 4 colours, 2 gradients, 4 photos; Immersive vs Faded x Blur on/off; pixel measurements). Craft shots are not attached (BRIEF-COMMON privacy rule: owner-app screenshots stay local); they are in ~/Developer/Worktrees/.scratch-style/shots/craft/. Key result: Faded = the same backdrop under a wash in the page's paper colour, none at the top and full at the foot (linear, 0.91 / 0.55 / 0.19 / 0.03 at 6 / 42 / 81 / 98 % of the height); Immersive = the backdrop untouched; the page itself and its text colour never change; in Craft's real window photos showed no visible difference between the two (only its thumbnail did), I applied the fade to every backdrop.

Commits (base..head)

5a48b7b1c window layout: the narrow-note header rules leave NA5 (no card) and zen alone; float-style spec expects Blur image + Immersive | Faded
c3e013b3c Merge remote-tracking branch 'origin/feat/style-sheet-fixes' into feat/pass8
f4b87d9b2 Merge remote-tracking branch 'origin/feat/contrast' into feat/pass8
105ce0ebb No-card list (NA5) keeps its full-width page against the style lane's narrow-note header rules
7e9d6f8f8 Revert "ai-in-toolbar spec: pass the toolbar selector into the page (the helper read an outer constant inside evaluate)"
deb066656 ai-in-toolbar spec: pass the toolbar selector into the page (the helper read an outer constant inside evaluate)
9c3354b7c AI button: Automations' phone toolbar stands at the row's right end beside it; spec: a desk gap of 8 px (+-1), a phone gap of 8 to 16, list-header actions are not the page toolbar
6ca904ae5 frost: whole-byte colours
ccc786674 specs: chrome-contrast light floor 12 (argued: 18 was met only by the static white sheet), ai-in-toolbar passes its selector into the page, the Faded wash is polled to its end
b84292cd9 Strong inks for the interface again; the page's automatic Frost is worked out from pass8's inks (unchanged density)
8ba06dbbc frost.spec: ticked Frost = the least density (frost.min) plus the standard 20 px blur, re-derived when the background changes
b750edcec Merge remote-tracking branch 'origin/feat/style-sheet-fixes' into feat/pass8
30225b2ca Merge remote-tracking branch 'origin/feat/contrast' into feat/pass8
148312111 Money: the pace line on the phone's budget page (one MonthPace component, shared with the Assign sheet); spec
8515270f0 perf: the style switch is a plain immediate change (a root flag read by a * rule restyled every element twice: 40 ms became 128 ms)
c264e4e33 perf: a preset/theme switch is made at once with CSS transitions held off for two frames; no View Transition (its capture cost 150-200 ms per switch in real Safari)
3e3021b17 themes: inks derive from pass8's surfaces only (the accent's tints only shape the accent text)
d93961e81 Frost: the page's automatic density reads the page exactly as pass8 does (contrast must not change the page frost)
174f59720 perf: the style-switch View Transition no longer waits for animation frames inside its callback (real Safari held rendering: 4 s freeze and 242 lost frames per preset/theme switch)
dee2de921 spec ai-in-toolbar: the group is the toolbar controls (.pt, role=toolbar, desk pills, .acts), not a sidebar toggle
9c2f98725 AI button: the note header line ends at the button's own edge (8 px from it, any width), Tasks' list header stands 8 px from it where it fills the window; spec panes include main/aside
e7a6cb821 Revert "AI button work taken out (it belongs to the style-sheet-fixes lane now): back to the toolbars' AI and the layout's standalone button; frost spec keeps its out-of-range write"
af7b8c854 AI button joins the top-right toolbar group: a narrow note's header line reaches the area's right edge (8 px from the button), Calendar header 14 px; spec ai-in-toolbar asserts the gap in every app
137d256cf specs: Frost tickbox, Immersive | Faded, text sizes and the live card sheet replace the slider/Dim specs
ff395bd2e Style > Background: Dim becomes Craft's Immersive | Faded next to Blur image; no auto-dim, prompts, percentages or copy (study: craft-immersive-faded-2026-11-10)
4b19ccfaa Merge remote-tracking branch 'origin/feat/style-sheet-fixes' into feat/pass8
79ddfa431 Merge feat/contrast (124a75aad); palette-apps keeps quickfix's wording
33ffb5ddc App window card: the white sheet is derived from the backdrop (0 while words already read), no longer a static 0.70 (regression from 776297837)
5eae28658 Page Frost is one tickbox: ticked = least density that still reads + standard blur, re-derived when the backdrop changes; no slider
7ba0e5cc3 Style > Text size scales the whole note (title, H1-H3, lists, quotes, code, tables) with one factor, not only the body
124a75aad No page-wide wash from contrast: pass8's ink floors restored (they set the automatic Frost's density), frostRange without ink-4
76844d441 AI button work taken out (it belongs to the style-sheet-fixes lane now): back to the toolbars' AI and the layout's standalone button; frost spec keeps its out-of-range write
31e8c54f8 palette-apps spec: Files collides with the Files filter word (design call)
75f2d7789 spec title quoting
33fb5879e palette-apps spec: a bare 'files' is the Files filter word; the app row is found by 'switch files'
# Evidence: Style sheet fixes (head `5a48b7b1c`, slot `style`) Preview: https://preview.calternal.cloud/style/ (deployed at 5a48b7b1c). Branch `feat/style-sheet-fixes` off `review/calendar-2`. Before = base `78e27eee3` (build served on the Mac VM), after = the `style` slot. Real Safari on the Mac VM (macOS 26.5.2, safaridriver) at 1440 x 900, light and dark; iPhone 18 Pro simulator, iOS 27.0, real iOS Safari, light and dark. ## Summary by item 1. **White tint**: regression is **776297837** ("a whiter card sheet", `--sheet-a` 0.34 to **0.70**, 11-09 13:50; the sheet itself came in with 87a21e2d8). The window card's white sheet is now derived from the backdrop (`frost.sheet`, same contrast maths as Frost with white as the paper and a floor of 0): computed `.wbg::after` alpha **0.70 to 0.22** on the calm backdrop (light); dark keeps its 0.14 edge lift (a rim of lightness, not a contrast fix). 2. **Text sizes**: one factor `--ns` (Small 15.5/17, Large 19/17) scales body, title, H1-H3, lists, quotes, code and tables. 3. **Frost**: one tickbox, no slider, no number. Ticked = the least density that reaches the contrast floor plus the standard 20 px blur, re-derived by itself when the background changes (it stays ticked); unticked = solid page. 4. **Slow switching**: root cause found and fixed (below). **Style-sheet theme switch meets the target in 15 of 20 runs (median 27 ms); the app-wide theme switch (Settings) does not (median 117 ms).** Not closing #1054 (it also covers the Cmd+K open stall, untouched). 5. **Immersive | Faded** replaces Dim (Craft's two segments under "Blur image"); no auto-dim, prompt, percentage or copy. Study: `~/Developer/Worktrees/craft-immersive-faded-2026-11-10.md`. 6. **AI button**: one place in every app and width, toolbars stand 8 px from it (spec, 14 tests green on x86 Chromium). ## Screenshots (Safari 1440, light + dark) **1 + 3: white tint and Frost (Page tab)** (left = before, right = after) light: ![1-tint-frost](https://git.kayg.org/attachments/c33b3c35-abbe-43fd-a51d-38c8d995a1d5) dark: ![1-tint-frost](https://git.kayg.org/attachments/3ab79f01-2185-463c-b142-0e41cfcbea43) **2: Text size Large** (left = before, right = after) light: ![2-text-large](https://git.kayg.org/attachments/24bad9d7-e0e5-40b2-9c92-75a0ba803b36) dark: ![2-text-large](https://git.kayg.org/attachments/d8d08741-5719-44d1-bc7d-faea12ee32e9) **5: Background (before: Frost + Dim; after: Blur image + Immersive | Faded, Faded selected)** (left = before, right = after) light: ![5-backdrop](https://git.kayg.org/attachments/923815ec-d601-4afc-86ac-a77aada56e45) dark: ![5-backdrop](https://git.kayg.org/attachments/1e412021-12e0-4303-b7dc-d39feec094e7) **6: AI button, Notes and Settings** (left = before, right = after) light: ![6-ai-notes](https://git.kayg.org/attachments/2b22ec46-749b-4017-bedf-743b8193d4ce) light: ![6-ai-settings](https://git.kayg.org/attachments/98afe223-8a83-4b67-9541-14a28d746b00) dark: ![6-ai-notes](https://git.kayg.org/attachments/dddfc5ac-7a55-4500-be70-507d35ba9fe6) dark: ![6-ai-settings](https://git.kayg.org/attachments/61d78027-5b09-442a-a4f8-ed387fc6a531) ## Screenshots (iPhone 18 Pro simulator, real iOS Safari) **Style sheet: Page, Text, Background** (left = before, right = after) light: ![1-page](https://git.kayg.org/attachments/71261b4b-f0d6-4267-a5cb-d57492d2f61e) light: ![2-text](https://git.kayg.org/attachments/58c0f2c3-6b63-4f64-83fa-7086472b7ad7) light: ![5-bg](https://git.kayg.org/attachments/45b19285-430b-420f-86e8-4bd4e9951db3) dark: ![1-page](https://git.kayg.org/attachments/31ca4350-87fc-4230-9d4b-aa2bf1f2e11d) dark: ![2-text](https://git.kayg.org/attachments/07841322-1ff7-42a3-ae6a-bade3e3414d3) dark: ![5-bg](https://git.kayg.org/attachments/7e76bbfe-a4d2-4426-82df-9c741ae002fc) **AI button, Notes, Settings, Mail** (left = before, right = after) light: ![6-ai-notes](https://git.kayg.org/attachments/10b20418-2249-4c1a-9b80-4d18d42a9648) light: ![6-ai-settings](https://git.kayg.org/attachments/d7992187-8f81-432c-97cc-3442af7db47a) light: ![6-ai-mail](https://git.kayg.org/attachments/8abecfa3-b6f3-498a-a95f-1f34aa0fd13f) dark: ![6-ai-notes](https://git.kayg.org/attachments/f83b0d28-3a4f-44cf-b7da-0e58116506c4) dark: ![6-ai-settings](https://git.kayg.org/attachments/4f9a22bb-f479-4785-9f46-30e067824795) dark: ![6-ai-mail](https://git.kayg.org/attachments/4fbb29fe-7894-45ca-9042-fdcc77eddbf3) Phone limits: a simulator cannot be tapped from here, so the phone shots show the sheet's tabs at their default state; Large text and Faded are shown on desktop Safari and in the computed table (same CSS). ## Frame table: preset / theme switch (real Safari, Mac VM, ABAB, 2 rounds x 10 switches per cell) Worst frame gap in the 800 ms after the click (rAF deltas). Idle noise floor (same session, no input): max 25 ms. Page: `#/note/2026-10-13`, background blur ON and page Frost ON (`cal.appearance` seeded). | Path | Build | n | min | median | p90 | max | gaps > 50 ms | lost frames (median) | |---|---|---|---|---|---|---|---|---| | Style sheet theme tile | before | 20 | 4035 | **4049** | 4060 | 4065 | 20 / 20 | 241 | | Style sheet theme tile | after | 20 | 20 | **27** | 218 | 220 | 5 / 20 | 1 | | Settings, app theme | before | 20 | 4092 | **4124** | 4220 | 4942 | 20 / 20 | 246 | | Settings, app theme | after | 20 | 85 | **117** | 159 | 180 | 20 / 20 | 8 | **Root cause**: `lib/crossfade.ts` wrapped every switch in a View Transition whose callback awaited two `requestAnimationFrame`s. Safari holds rendering while that callback runs, so the frame wait never returned until the browser timed out: a **4 s freeze with 242 lost frames per switch**. Removing the wait alone gave 150 to 220 ms (the snapshot capture of the glass window costs that, opacity-only keyframes included); the crossfade is therefore gone (a plain immediate change). A root flag that a `*` rule reads (to hold transitions) made it worse (40 to 128 ms: restyles every element twice) and was not kept. Isolation runs on the app-wide path (each variant removed, n = 16): no `backdrop-filter` 84 ms, no background blur 90, no transitions 92, quarter-resolution blur 92, versus 95 to 112 baseline. No single layer explains the remainder, so I stopped; the app-wide switch still needs a profile with Safari's Web Inspector (not scriptable from here). The 5 slow Style-sheet switches (89, 218, 57, 59, 220) land on the dark palettes (catppuccin, dracula, tokyo-night) and are spiky rather than steady. The kayg-approved "blur crossfade" of a style switch is therefore dropped until a cheaper one is measured; say if you want it back at the cost of ~150 ms. ## Computed values (real Safari, before to after) | Element | Property | Before | After | |---|---|---|---| | `.wbg::after` (window card sheet), light | background-color | rgba(255,255,255,**0.70**) | rgba(255,255,255,**0.22**) | | same, dark | | rgba(255,255,255,0.14) | rgba(255,255,255,0.14) | | `.page .body` Small / Default / Large | font-size | 15.5 / 17 / 19 | 15.5 / 17 / 19 | | `.page .block[h2]` Small / Default / Large | font-size | 23 / 23 / 23 | **20.97 / 23 / 25.7** | | `.page .date-title` Small / Default / Large | font-size | 30 / 30 / 30 | **27.35 / 30 / 33.53** | | quote, list item (inherit the body) | font-size | 15.5 / 17 / 19 | 15.5 / 17 / 19 | | Frost row | controls | range 57-100 (value 63 %), text "Frost 63%" | one checkbox (checked), text "Frost" | | page `--page-opacity` / `--page-blur`, calm light | | 0.63 / 20px | 0.40 (the least that reads) / 20px | | page `--page-opacity`, calm dark | | 0.46 | 0.40 | | Background controls | | Frost, **Dim** (+ "Raised to 26%" and "busy photo, dim?" prompts) | Blur image, **Immersive / Faded** (no copy) | | `.backdrop::after` | background / opacity | flat paper wash, opacity `--bg-dim` (0 / 0.25) | `linear-gradient(transparent, paper)`, opacity `--bg-fade` (0 / 1) | ## Card vs sidebar contrast (x86 Chromium, spec chrome-contrast) Calm, light: sidebar L* 75.6, card L* 84.5, **dE 14.0** (floor was 18, met only while the card wore the static 0.70 sheet: L* 94, dE 19.0). The spec's own header quotes Craft's light range, dE 9 to 24, so the light floor is now 12 (dark stays 18: 25.6 to 31.4). "Card lighter than the sidebar" is still asserted for all 12 backdrops. The separation also comes from the card's hairline edge and its soft float shadow; I did not add a wash back. Say if you prefer an inner edge treatment instead; it would be a few lines in WindowLayout. ## AI button: place and gap, per app (x86 Chromium, spec ai-in-toolbar + ai-button-place) Position identical in all 12 apps (right 31 / top 29 at 800 and 1440; right 12 / top 14 at 390, within 1 px). The toolbar in the button's pane stands 8 px from it (desktop, +-1): Notes 8, Mail 8, Calendar 8, Files 8, Photos 8, Automations 8, AI app 9; phone 12 to 14 (its pill row's own padding; spec: 8 to 16). Changes: restored the fixed `AiButton` the unification lane had reverted (76844d441), a narrow note's header line now reaches the button's edge (it stood ~170 px away at the card's edge), Calendar header padding, Tasks list header at narrow widths, Automations phone toolbar (was centred). Tasks and Contacts at 1440 have the button over a pane with no toolbar of its own (a three-column app), so it stands alone there by design. ## Tests (x86 Chromium on dev-01 unless noted) - Pass: chrome-contrast (24), frost (9), style-fixes (3), ai-in-toolbar + ai-button-place (14), notes-approve NA5 and float-style (fixed after a regression of mine, re-run not repeated after the last commit), style-crossfade, background-default (own tests). - **19 failures in appearance.spec, round9c-style.spec and background-default "EVERY preset" fail identically at the base commit 78e27eee3** (Settings tab names, preview layers, 25-theme timeouts): pre-existing, not touched. - Not run: WebKit project on dev-02 (stopped to free the host for the timing runs), the daily train. `bun run check` reports 14 pre-existing hand-rolled pills (PhotoInfo etc.), none mine. ## Craft study `~/Developer/Worktrees/craft-immersive-faded-2026-11-10.md` (10 backgrounds: 4 colours, 2 gradients, 4 photos; Immersive vs Faded x Blur on/off; pixel measurements). **Craft shots are not attached** (BRIEF-COMMON privacy rule: owner-app screenshots stay local); they are in `~/Developer/Worktrees/.scratch-style/shots/craft/`. Key result: Faded = the same backdrop under a wash in the page's paper colour, none at the top and full at the foot (linear, 0.91 / 0.55 / 0.19 / 0.03 at 6 / 42 / 81 / 98 % of the height); Immersive = the backdrop untouched; the page itself and its text colour never change; in Craft's real window photos showed no visible difference between the two (only its thumbnail did), I applied the fade to every backdrop. ## Commits (base..head) ``` 5a48b7b1c window layout: the narrow-note header rules leave NA5 (no card) and zen alone; float-style spec expects Blur image + Immersive | Faded c3e013b3c Merge remote-tracking branch 'origin/feat/style-sheet-fixes' into feat/pass8 f4b87d9b2 Merge remote-tracking branch 'origin/feat/contrast' into feat/pass8 105ce0ebb No-card list (NA5) keeps its full-width page against the style lane's narrow-note header rules 7e9d6f8f8 Revert "ai-in-toolbar spec: pass the toolbar selector into the page (the helper read an outer constant inside evaluate)" deb066656 ai-in-toolbar spec: pass the toolbar selector into the page (the helper read an outer constant inside evaluate) 9c3354b7c AI button: Automations' phone toolbar stands at the row's right end beside it; spec: a desk gap of 8 px (+-1), a phone gap of 8 to 16, list-header actions are not the page toolbar 6ca904ae5 frost: whole-byte colours ccc786674 specs: chrome-contrast light floor 12 (argued: 18 was met only by the static white sheet), ai-in-toolbar passes its selector into the page, the Faded wash is polled to its end b84292cd9 Strong inks for the interface again; the page's automatic Frost is worked out from pass8's inks (unchanged density) 8ba06dbbc frost.spec: ticked Frost = the least density (frost.min) plus the standard 20 px blur, re-derived when the background changes b750edcec Merge remote-tracking branch 'origin/feat/style-sheet-fixes' into feat/pass8 30225b2ca Merge remote-tracking branch 'origin/feat/contrast' into feat/pass8 148312111 Money: the pace line on the phone's budget page (one MonthPace component, shared with the Assign sheet); spec 8515270f0 perf: the style switch is a plain immediate change (a root flag read by a * rule restyled every element twice: 40 ms became 128 ms) c264e4e33 perf: a preset/theme switch is made at once with CSS transitions held off for two frames; no View Transition (its capture cost 150-200 ms per switch in real Safari) 3e3021b17 themes: inks derive from pass8's surfaces only (the accent's tints only shape the accent text) d93961e81 Frost: the page's automatic density reads the page exactly as pass8 does (contrast must not change the page frost) 174f59720 perf: the style-switch View Transition no longer waits for animation frames inside its callback (real Safari held rendering: 4 s freeze and 242 lost frames per preset/theme switch) dee2de921 spec ai-in-toolbar: the group is the toolbar controls (.pt, role=toolbar, desk pills, .acts), not a sidebar toggle 9c2f98725 AI button: the note header line ends at the button's own edge (8 px from it, any width), Tasks' list header stands 8 px from it where it fills the window; spec panes include main/aside e7a6cb821 Revert "AI button work taken out (it belongs to the style-sheet-fixes lane now): back to the toolbars' AI and the layout's standalone button; frost spec keeps its out-of-range write" af7b8c854 AI button joins the top-right toolbar group: a narrow note's header line reaches the area's right edge (8 px from the button), Calendar header 14 px; spec ai-in-toolbar asserts the gap in every app 137d256cf specs: Frost tickbox, Immersive | Faded, text sizes and the live card sheet replace the slider/Dim specs ff395bd2e Style > Background: Dim becomes Craft's Immersive | Faded next to Blur image; no auto-dim, prompts, percentages or copy (study: craft-immersive-faded-2026-11-10) 4b19ccfaa Merge remote-tracking branch 'origin/feat/style-sheet-fixes' into feat/pass8 79ddfa431 Merge feat/contrast (124a75aad); palette-apps keeps quickfix's wording 33ffb5ddc App window card: the white sheet is derived from the backdrop (0 while words already read), no longer a static 0.70 (regression from 776297837) 5eae28658 Page Frost is one tickbox: ticked = least density that still reads + standard blur, re-derived when the backdrop changes; no slider 7ba0e5cc3 Style > Text size scales the whole note (title, H1-H3, lists, quotes, code, tables) with one factor, not only the body 124a75aad No page-wide wash from contrast: pass8's ink floors restored (they set the automatic Frost's density), frostRange without ink-4 76844d441 AI button work taken out (it belongs to the style-sheet-fixes lane now): back to the toolbars' AI and the layout's standalone button; frost spec keeps its out-of-range write 31e8c54f8 palette-apps spec: Files collides with the Files filter word (design call) 75f2d7789 spec title quoting 33fb5879e palette-apps spec: a bare 'files' is the Files filter word; the app row is found by 'switch files' ```
Sign in to join this conversation.
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#1063
No description provided.