Switch file manager to Thunar, fix GTK3 theming from the ground up

Dolphin's selection color is stuck on stock Breeze blue outside a full
Plasma session (unfixed upstream regression, see README) - dropped it
for Thunar. Getting Thunar themed exposed a chain of GTK3-specific
issues fixed along the way: !important is silently rejected by GTK3's
CSS parser (not just deprioritized), the widget and icon themes resolve
via completely different mechanisms under Hyprland (no XSETTINGS
daemon), and Thunar's ExoIconView grid reads its selection color from a
named @define-color instead of normal :selected matching. Folder icon
colors are now generated to match the accent exactly (theme/icon_theme.py,
no sudo) instead of snapping to a papirus-folders preset.

Also adds the kde-colorscheme template (the missing piece
KColorSchemeManager actually resolves ColorScheme= against) and new
gtk_selection_color/gtk_selection_opacity palette keys with widget
controls, following the existing bar/pill/popup color+opacity pattern.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
This commit is contained in:
nico
2026-09-29 01:19:42 +02:00
parent 1ca9812608
commit 823277f535
22 changed files with 573 additions and 99 deletions

View File

@@ -16,50 +16,50 @@ widgetStyle=Fusion
# (a lighter tint in View/Button, a darker one in Window/Tooltip/Complementary) - left as a
# static literal rather than mapped to something that wouldn't mean the same thing.
[Colors:View]
BackgroundNormal=42,27,38
BackgroundNormal=26,27,38
BackgroundAlternate=32,33,44
ForegroundNormal=255,255,255
ForegroundNormal=192,202,245
ForegroundInactive=86,95,137
ForegroundActive=255,255,255
ForegroundLink=247,118,142
ForegroundActive=192,202,245
ForegroundLink=122,162,247
ForegroundVisited=203,166,247
ForegroundNegative=247,118,142
ForegroundNeutral=249,226,175
ForegroundPositive=166,227,161
DecorationFocus=247,118,142
DecorationHover=247,118,142
DecorationFocus=23,147,209
DecorationHover=122,162,247
[Colors:Window]
BackgroundNormal=42,27,38
BackgroundNormal=26,27,38
BackgroundAlternate=15,17,26
ForegroundNormal=255,255,255
ForegroundNormal=192,202,245
ForegroundInactive=86,95,137
ForegroundActive=255,255,255
ForegroundLink=247,118,142
ForegroundActive=192,202,245
ForegroundLink=122,162,247
ForegroundVisited=203,166,247
ForegroundNegative=247,118,142
ForegroundNeutral=249,226,175
ForegroundPositive=166,227,161
DecorationFocus=247,118,142
DecorationHover=247,118,142
DecorationFocus=23,147,209
DecorationHover=122,162,247
[Colors:Button]
BackgroundNormal=42,27,38
BackgroundNormal=26,27,38
BackgroundAlternate=32,33,44
ForegroundNormal=255,255,255
ForegroundNormal=192,202,245
ForegroundInactive=86,95,137
ForegroundActive=255,255,255
ForegroundLink=247,118,142
ForegroundActive=192,202,245
ForegroundLink=122,162,247
ForegroundVisited=203,166,247
ForegroundNegative=247,118,142
ForegroundNeutral=249,226,175
ForegroundPositive=166,227,161
DecorationFocus=247,118,142
DecorationHover=247,118,142
DecorationFocus=23,147,209
DecorationHover=122,162,247
[Colors:Selection]
BackgroundNormal=247,118,142
BackgroundAlternate=247,118,142
BackgroundNormal=23,147,209
BackgroundAlternate=122,162,247
ForegroundNormal=15,17,26
ForegroundInactive=15,17,26
ForegroundActive=15,17,26
@@ -68,39 +68,39 @@ ForegroundVisited=15,17,26
ForegroundNegative=247,118,142
ForegroundNeutral=249,226,175
ForegroundPositive=166,227,161
DecorationFocus=247,118,142
DecorationHover=247,118,142
DecorationFocus=23,147,209
DecorationHover=122,162,247
[Colors:Tooltip]
BackgroundNormal=15,17,26
BackgroundAlternate=42,27,38
ForegroundNormal=255,255,255
BackgroundAlternate=26,27,38
ForegroundNormal=192,202,245
ForegroundInactive=86,95,137
ForegroundActive=255,255,255
ForegroundLink=247,118,142
ForegroundActive=192,202,245
ForegroundLink=122,162,247
ForegroundVisited=203,166,247
ForegroundNegative=247,118,142
ForegroundNeutral=249,226,175
ForegroundPositive=166,227,161
DecorationFocus=247,118,142
DecorationHover=247,118,142
DecorationFocus=23,147,209
DecorationHover=122,162,247
[Colors:Complementary]
BackgroundNormal=15,17,26
BackgroundAlternate=42,27,38
ForegroundNormal=255,255,255
BackgroundAlternate=26,27,38
ForegroundNormal=192,202,245
ForegroundInactive=86,95,137
ForegroundActive=255,255,255
ForegroundLink=247,118,142
ForegroundActive=192,202,245
ForegroundLink=122,162,247
ForegroundVisited=203,166,247
ForegroundNegative=247,118,142
ForegroundNeutral=249,226,175
ForegroundPositive=166,227,161
DecorationFocus=247,118,142
DecorationHover=247,118,142
DecorationFocus=23,147,209
DecorationHover=122,162,247
[WM]
activeBackground=42,27,38
activeForeground=255,255,255
activeBackground=26,27,38
activeForeground=192,202,245
inactiveBackground=15,17,26
inactiveForeground=86,95,137