Skip to content

Commit

Permalink
Fix #232
Browse files Browse the repository at this point in the history
  • Loading branch information
lassekongo83 committed Jun 9, 2023
1 parent 70a4d91 commit 7ee024e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions gtk/src/adw-gtk3-dark/gtk-3.0/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ install_subdir('../../adw-gtk3/gtk-3.0/assets', install_dir : gtk3_dark_dir, str
# Provide a copy of libadwaita as is.
# In the gtk3 directory so we don't have duplicate the assets.
install_data(['../../adw-gtk3/gtk-3.0/libadwaita.css'], install_dir: gtk3_dark_dir)
install_data(['../../adw-gtk3/gtk-3.0/libadwaita-tweaks.css'], install_dir: gtk3_dark_dir)
1 change: 1 addition & 0 deletions gtk/src/adw-gtk3-dark/gtk-4.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);

@import '../gtk-3.0/libadwaita.css';
@import '../gtk-3.0/libadwaita-tweaks.css';
1 change: 1 addition & 0 deletions gtk/src/adw-gtk3-dark/gtk-4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);

@import '../gtk-3.0/libadwaita.css';
@import '../gtk-3.0/libadwaita-tweaks.css';
9 changes: 9 additions & 0 deletions gtk/src/adw-gtk3/gtk-3.0/libadwaita-tweaks.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
This file will fix some legacy widget styles that aren't styled in libadwaita
*/

/* add a bg color to notebook headers */
notebook > header {
background-color: @headerbar_bg_color;
border-color: mix(currentColor,@window_bg_color,0.85);
}
1 change: 1 addition & 0 deletions gtk/src/adw-gtk3/gtk-3.0/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ endforeach
# Provide a copy of libadwaita as is.
# In the gtk3 directory so we don't have duplicate the assets.
install_data(['libadwaita.css'], install_dir: gtk3_dir)
install_data(['libadwaita-tweaks.css'], install_dir: gtk3_dir)
1 change: 1 addition & 0 deletions gtk/src/adw-gtk3/gtk-4.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);

@import '../gtk-3.0/libadwaita.css';
@import '../gtk-3.0/libadwaita-tweaks.css';
1 change: 1 addition & 0 deletions gtk/src/adw-gtk3/gtk-4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
@define-color scrollbar_outline_color white;

@import '../gtk-3.0/libadwaita.css';
@import '../gtk-3.0/libadwaita-tweaks.css';

0 comments on commit 7ee024e

Please sign in to comment.