All features

The splash screen follows the OS scheme

Try the real interface

Explore this workspace.

Real Torbie UI · mock sessions
Tab bar
Loading Torbie…
Technical background

The window's backing colour already followed the OS; only the splash CSS was hardcoded dark, so a light desktop got a black flash before the window drew. One appended media block, so the dark path's diff is nil.

The problem

The window's backing colour already followed the OS scheme; only the splash CSS was hardcoded dark, so a light desktop got a black flash before the window drew.

How it works

app/src/preload.scss keeps its dark values exactly as they were and appends a @media (prefers-color-scheme: light) block overriding four of them — an override rather than a pair of themes, so the dark path's diff is nil and the rebase surface on an upstream file stays one appended block.

Details
  • prefers-color-scheme is already correct when the splash paints. setDarkMode() runs during window construction, before the page is shown, so the media query reflects the user's colorSchemeMode choice rather than merely the OS default.
  • The light background is #f5f7f9, deliberately not white: the logo's palest gradient stops all but vanish against pure white.
  • Verified by extracting the compiled stylesheet out of the built preload bundle and rendering the real splash markup under both theme sources in an off-screen window — dark stays exactly #1d272d/#a1c5e4, light comes back #f5f7f9/#2f5d80.
What this does not claim
  • The source catalogue records no separate caveats for this entry. The implementation and evidence above define its scope.
Source commits
UI & themingAdded 2026-09-042 files+89 / −16 lines