diff --git a/css/styles.css b/css/styles.css index 92fd33c4..27d217e2 100644 --- a/css/styles.css +++ b/css/styles.css @@ -61,9 +61,6 @@ radio { .roundedcorners { border-radius: 8px; } -.adwthemedark scale trough highlight { - filter: brightness(120%); -} .videowidget { min-width: 320px; diff --git a/src/appBase.js b/src/appBase.js index 7afcd015..c5ea5c13 100644 --- a/src/appBase.js +++ b/src/appBase.js @@ -111,7 +111,6 @@ class ClapperAppBase extends Gtk.Application { const theme = gtkSettings.gtk_theme_name; const window = this.active_window; - const hasAdwThemeDark = window.has_css_class('adwthemedark'); debug(`user selected theme: ${theme}`); @@ -119,17 +118,6 @@ class ClapperAppBase extends Gtk.Application Having 2/4 corners rounded in floating mode is not good. */ if(!window.has_css_class('adwrounded')) window.add_css_class('adwrounded'); - - if(theme.startsWith('Adwaita') || theme.startsWith('Default')) { - const isDarkTheme = settings.get_boolean('dark-theme'); - - if(isDarkTheme && !hasAdwThemeDark) - window.add_css_class('adwthemedark'); - else if(!isDarkTheme && hasAdwThemeDark) - window.remove_css_class('adwthemedark'); - } - else if(hasAdwThemeDark) - window.remove_css_class('adwthemedark'); } _onIconThemeChanged(gtkSettings)