Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 1.66 KB

DESIGN.md

File metadata and controls

30 lines (27 loc) · 1.66 KB

Design notes

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: textPrimary for emphasis, textSecondary for ordinary content, textMuted for supporting detail, and textDisabled only for unavailable controls. Empty states remain readable content. Avoid reducing text contrast with additional opacity.
  • Use accent for 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 uiFontFamily for UI text and fontFamily for existing font icons. Reuse shared controls and ShellSymbol; 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.