Skip to content

Fix theme colors in calendar settings - #232

Merged
huacnlee merged 1 commit into
huacnlee:mainfrom
Dandiccf:fix/calendar-settings-theme-palette
Sep 17, 2026
Merged

huacnlee merged 1 commit into
huacnlee:mainfrom
Dandiccf:fix/calendar-settings-theme-palette

Conversation

@Dandiccf

Copy link
Copy Markdown
Contributor

Calendar settings rendered five theme-color choices and the corresponding saved-calendar indicators as gray. CalendarPalette has required its caller to supply the host palette path since #206, but the settings instance added by #183 omitted that binding. Pass service.calendarPalettePath just as the other calendar views already do; hosts without a palette retain the existing semantic fallbacks.

This is a separate fix based directly on upstream main at 13f4f5cd54d7d3d766e80ec0cbcb166a2e1e1c02 (0.10.5). It contains no earlier feature-branch commits, backend changes, release-pin changes, or settings migrations.

Verification

  • make validate passes on Linux / Qt 6.11: Rust, JavaScript and shell suites, 934 main QML cases, 6 HTTP cases, 64 sidebar cases, standalone composition, both lint targets and plugin validation.
  • The new composition regression fails against the unchanged palette binding and passes with this fix. It reads through the host FileView adapter and checks the actual seven swatch colors, a saved calendar's blue indicator, live theme updates and the no-palette fallback.
  • An isolated on-screen Quickshell harness instantiated the production settings component and real Omarchy controls with synthetic accounts. Opening the picker by mouse and choosing blue by keyboard succeeded in Catppuccin and Catppuccin Latte at both 760×800 and 1180×800 logical capture sizes. The matched images below were captured at the same desktop scale (1.6).
  • Security review: PASS for this scoped change. The palette path comes from the existing host service; the change adds no provider requests, credential access or settings writes. This is not a platform-wide security audit.

Visual comparison

Before: accent and red use fallback colors, while the other five choices and the green/blue/magenta source indicators are gray. After: both the picker and source indicators use the selected theme palette. Each pair uses the same view, synthetic account state, size, theme and scale.

Catppuccin (dark), compact
Before After
Before: Catppuccin (dark), compact After: Catppuccin (dark), compact
Catppuccin (dark), wide
Before After
Before: Catppuccin (dark), wide After: Catppuccin (dark), wide
Catppuccin Latte (light), compact
Before After
Before: Catppuccin Latte (light), compact After: Catppuccin Latte (light), compact
Catppuccin Latte (light), wide
Before After
Before: Catppuccin Latte (light), wide After: Catppuccin Latte (light), wide

Release Notes

  • Fix gray theme-color choices and calendar color indicators in calendar settings when an Omarchy theme palette is available.

@huacnlee
huacnlee merged commit 44682bc into huacnlee:main Sep 17, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants