Skip to content

fix: dark mode for FilamentGroupPopup#10822

Open
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:fix/10530-filament-group-popup-dark-mode
Open

fix: dark mode for FilamentGroupPopup#10822
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:fix/10530-filament-group-popup-dark-mode

Conversation

@BenJule
Copy link
Copy Markdown

@BenJule BenJule commented May 20, 2026

Summary

The filament grouping popup in the Preview tab always rendered with a hardcoded white (#FFFFFF) background regardless of dark mode. The static BackGroundColor constant was a compile-time value that UpdateDarkUIWin alone could not reliably remap.

Replaced with bg_color() / label_clr() runtime helpers that return the correct colors at call time (#2D2D31 background, #EFEFF0 text in dark mode), including the SmartFilament section border and background.

Test plan

  • Enable dark mode in Preferences
  • Open Preview tab → click the filament grouping icon
  • Popup background should be dark gray, text should be readable

Closes #10530

BenJule added 3 commits May 21, 2026 10:52
The upstream build_all.yml only listed 'main' as a push trigger.
BenJule/BambuStudio uses 'master' as its default branch, so CI never
fired on fork-local pushes. Adding 'master' alongside 'main' makes
the full multi-platform build run when master is updated.
The filament grouping popup always rendered with a hardcoded white
background (#FFFFFF) regardless of dark mode.  Replace the static
BackGroundColor constant with bg_color() / label_clr() runtime helpers
that return the correct dark-mode colors at call time, including the
SmartFilament section border and background.

Closes bambulab#10530
@BenJule BenJule force-pushed the fix/10530-filament-group-popup-dark-mode branch from a69c7a0 to e3e6505 Compare May 21, 2026 08:55
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.

[Sliced Preview] Filament Grouping box does not respect dark mode configuration

1 participant