Better fix for QT5/6 themes with Kvantum

This commit is contained in:
exu 2024-03-02 00:07:07 +01:00
parent 6b3e77d94f
commit 09e17edccb
4 changed files with 38 additions and 10 deletions

View File

@ -0,0 +1,14 @@
# fixes Okular issues with wrong colors and icons
QTabBar::tab:selected {
color: palette(bright-text);
}
QScrollBar {
background: palette(dark);
}
QScrollBar::handle {
background: palette(highlight);
border-radius: 4px;
}
QScrollBar::add-line, QScrollBar::sub-line {
background: palette(window);
}

View File

@ -1,9 +1,9 @@
[Appearance] [Appearance]
color_scheme_path=/usr/share/qt5ct/colors/airy.conf color_scheme_path=/usr/share/qt5ct/colors/airy.conf
custom_palette=false custom_palette=false
icon_theme=Sardi-Arc icon_theme=Sweet-Rainbow
standard_dialogs=default standard_dialogs=default
style=kvantum-dark style=kvantum
[Fonts] [Fonts]
fixed="Fira Code,11,-1,5,50,0,0,0,0,0" fixed="Fira Code,11,-1,5,50,0,0,0,0,0"
@ -19,16 +19,16 @@ gui_effects=@Invalid()
keyboard_scheme=2 keyboard_scheme=2
menus_have_icons=true menus_have_icons=true
show_shortcuts_in_context_menus=true show_shortcuts_in_context_menus=true
stylesheets=/usr/share/qt5ct/qss/fusion-fixes.qss stylesheets=/home/exu/.config/qt5ct/qss/fixes-light.qss
toolbutton_style=4 toolbutton_style=4
underline_shortcut=1 underline_shortcut=1
wheel_scroll_lines=1 wheel_scroll_lines=1
[QSSEditor] [QSSEditor]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1<\0\0\x1\xdb\0\0\x3\xc4\0\0\x3\xd3\0\0\x1?\0\0\x1\xde\0\0\x3\xc1\0\0\x3\xd0\0\0\0\0\0\0\0\0\n\0\0\0\x1?\0\0\x1\xde\0\0\x3\xc1\0\0\x3\xd0) geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\bU\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2)
[SettingsWindow] [SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5\x83\0\0\0\x3\0\0\0\x3\0\0\t\xfc\0\0\x5\x80\0\0\0\0\0\0\0\0\n\0\0\0\0\x3\0\0\0\x3\0\0\t\xfc\0\0\x5\x80) geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4&\0\0\x4\x81\0\0\0\0\0\0\0\0\0\0\t\xf9\0\0\x5}\0\0\0\0\x2\0\0\0\bU\0\0\0\0\0\0\0\0\0\0\x4&\0\0\x4\x81)
[Troubleshooting] [Troubleshooting]
force_raster_widgets=0 force_raster_widgets=0

View File

@ -0,0 +1,14 @@
# fixes Okular issues with wrong colors and icons
QTabBar::tab:selected {
color: palette(bright-text);
}
QScrollBar {
background: palette(dark);
}
QScrollBar::handle {
background: palette(highlight);
border-radius: 4px;
}
QScrollBar::add-line, QScrollBar::sub-line {
background: palette(window);
}

View File

@ -1,9 +1,9 @@
[Appearance] [Appearance]
color_scheme_path=/usr/share/qt6ct/colors/airy.conf color_scheme_path=/usr/share/qt6ct/colors/airy.conf
custom_palette=false custom_palette=false
icon_theme=Sardi-Arc icon_theme=Sweet-Rainbow
standard_dialogs=default standard_dialogs=default
style=kvantum-dark style=kvantum
[Fonts] [Fonts]
fixed="Fira Code,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular" fixed="Fira Code,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
@ -19,16 +19,16 @@ gui_effects=@Invalid()
keyboard_scheme=2 keyboard_scheme=2
menus_have_icons=true menus_have_icons=true
show_shortcuts_in_context_menus=true show_shortcuts_in_context_menus=true
stylesheets=/usr/share/qt6ct/qss/fusion-fixes.qss stylesheets=/home/exu/.config/qt6ct/qss/fixes-light.qss
toolbutton_style=4 toolbutton_style=4
underline_shortcut=1 underline_shortcut=1
wheel_scroll_lines=1 wheel_scroll_lines=1
[QSSEditor] [QSSEditor]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x4\xbc\0\0\x1J\0\0\aB\0\0\x3@\0\0\x4\xbe\0\0\x1L\0\0\a@\0\0\x3>\0\0\0\0\0\0\0\0\b\0\0\0\x4\xbe\0\0\x1L\0\0\a@\0\0\x3>) geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\bU\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2)
[SettingsWindow] [SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x4\0\0\0\0\0\0\0\a\xfe\0\0\x4h\0\0\x4\x2\0\0\0\x2\0\0\a\xfc\0\0\x4\x66\0\0\0\0\0\0\0\0\b\0\0\0\x4\x2\0\0\0\x2\0\0\a\xfc\0\0\x4\x66) geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\bP\0\0\x4\x81\0\0\0\0\0\0\0\0\0\0\bP\0\0\x4\x81\0\0\0\0\0\0\0\0\bU\0\0\0\0\0\0\0\0\0\0\bP\0\0\x4\x81)
[Troubleshooting] [Troubleshooting]
force_raster_widgets=1 force_raster_widgets=1