Skip to main content

Module surface

Module surface 

Source
Expand description

Explicit surface colors, used directly by the shared widget layer instead of leaning on Theme::extended_palette()’s auto-derived shades. Auto-derivation (deviate(base, 0.1) etc.) only shifts lightness a few percent, which reads as “everything is the same flat gray” at normal monitor brightness — real elevation (root vs sidebar vs card) needs a deliberately chosen jump, the way macOS/Windows layer system chrome vs content vs cards.

Functions§

card
Card/section background — raised a step lighter than root.
card_border
Card border.
root
Window root — behind everything.
row
A list row’s background on hover/emphasis, between root and card.
sidebar
Sidebar — recessed a step darker than root.