sidebar: fall back to theme sidebar color when opaque

This commit is contained in:
2026-11-16 05:16:46 +07:00
parent 1cb86c497a
commit a7abeea8c6
7 changed files with 83 additions and 20 deletions
+1
View File
@@ -86,6 +86,7 @@ impl MacosSource {
foreground: Self::color_to_hsla(&NSColor::labelColor()),
surface: Self::color_to_hsla(&NSColor::textBackgroundColor()),
surface_foreground: Self::color_to_hsla(&NSColor::labelColor()),
sidebar: Self::color_to_hsla(&NSColor::windowBackgroundColor()),
primary_foreground: Self::color_to_hsla(&NSColor::alternateSelectedControlTextColor()),
accent_foreground: Self::color_to_hsla(&NSColor::alternateSelectedControlTextColor()),
secondary: None,