quickshell: refactor — Theme tokens, reusable components, dedup

Reduces the shell from 2898 → 2712 lines (~316 lines of duplication removed,
~130 of reusable scaffolding added). Rollback point: tag quickshell-pre-refactor.

- Theme tokens: barHeight, radius/radiusSmall/radiusTiny, cardPad, animMorph/
  animContent/animFade — bar height and the shader cutout math now derive from
  one constant instead of ~10 scattered 30/26 literals
- SText/SIcon base components default the two fonts (removed 58 font.family lines)
- Card component: the rounded base01 section surface, now one definition driving
  7 cards (volume ×2, network ×2, battery ×2, calendar)
- PillSlider component: master + per-app volume sliders share one slider
- NotifContent component: calendar list + toast notification bodies deduped
- dead code: dropped unused QtQuick.Shapes import, collapsed redundant
  weatherGlyph branches, converted the lone RowLayout to drop QtQuick.Layouts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-06-13 13:05:01 +01:00
parent 479c6c6906
commit f1b8d5d57d

File diff suppressed because it is too large Load diff