Desktop Shell is a compact, keyboard-first desktop control surface with cool neutral text, semantic accents, and translucent surfaces.
Defaults live in nix/theme.nix. Runtime theme resolution and shared shape tokens belong to Theme.qml; configured theme overrides take precedence over defaults. See Configuration for the supported interface. Change defaults in those files.
- Use text roles consistently across surfaces:
textPrimaryfor emphasis,textSecondaryfor ordinary content,textMutedfor supporting detail, andtextDisabledonly for unavailable controls. Empty states remain readable content. Avoid reducing text contrast with additional opacity. - Use
accentfor navigation and focus, domain accents for icons and section markers, and state colors for outcomes or problems. Error and status colors take precedence; keep long text neutral. - Use semantic surface tokens and borders for depth. Surface tokens own opacity; the compositor owns backdrop blur. Check legibility against both light and dark wallpapers.
- Use
uiFontFamilyfor UI text andfontFamilyfor existing font icons. Reuse shared controls andShellSymbol; keep symbols centered and hover feedback covering the clickable area. - Keep keyboard focus visible and give controls accessible names. Show action progress and failures from the backend.
- Keep related controls compact and groups distinguishable. Components own their geometry; bar spacing belongs to BarSpacing.qml, and animation roles belong to Motion.qml.