Spacing scale shared by every Hyprforge app, so a sidebar, a settings
row, and a dialog all breathe the same amount no matter which app they’re
in (vision pillar #2: one shared visual grammar).
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.
A single scale factor threaded through every text/spacing measurement in
the shared widget layer, so accessibility (larger text) is a property of
the theme rather than something bolted onto individual screens later.
Builds the iced::Theme every window in this process is created
with, from the resolved active palette rather than an iced
built-in — so a window matches the compositor’s own accent instead of
iced’s stock dark theme.
Something the user should look at before saving — a chord already bound,
a combination the compositor will refuse. Not an error: nothing has gone
wrong yet.