Shell Background Is Not Scheme Background

The moment an app shell paints its content panels in anything other than colorScheme.background, every gradient, scrim and fade whose tail converges on colorScheme.background ends on a hard seam — the decoration is still correct, its destination colour is just no longer on screen. Covers resolving one page-background value and handing it to every decoration, the two valid answers (aim at the shell colour, or paint your own ground), and sizing a decoration with matchParentSize over the content it decorates rather than a constant measured on one form factor. Use when a gradient stops mid-screen with a visible edge, when a fade looks right on a phone and wrong in a desktop window, or when adding a window chrome breaks screens that were never touched.

maxrave-dev 1dc2b2b 8.9 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/shell-background-is-not-scheme-background commit 1dc2b2b6f3

Frequently asked questions

npx skillmds@latest add maxrave-dev/shell-background-is-not-scheme-background