Help creating a new theme based on Adwaita?
Ubuntu 18.04
I Just tried it by understanding the README
file from ~/Downloads/gtk-master/gtk/theme/Adwaita/
from the link you provided.. https://gitlab.gnome.org/GNOME/gtk/tree/master/gtk/theme/Adwaita
- Have downloaded the source code zip file..
- edited some colors (just to try) in the file
~/Downloads/gtk-master/gtk/theme/Adwaita/_colors.scss
Content:
$base_color: if($variant == 'light', #00FF00, lighten(desaturate(#241f31, 100%), 2%));
$text_color: if($variant == 'light', black, white);
$bg_color: if($variant == 'light', #0000FF, darken(desaturate(#3d3846, 100%), 4%));
$fg_color: if($variant == 'light', #2e3436, #eeeeec);
$selected_fg_color: #FF0000;
Saved & Closed
sudo apt install sassc
cd ~/Downloads/gtk-master/gtk/theme/Adwaita
sassc -M -t compact gtk-contained.scss MyCustomized.css
copied this MyCustomized.css file into a newly created theme folder in
/usr/share/themes/MyCustomized/gtk-3.0/
and renamed it asgtk.css
copied the
assets
folder from~/Downloads/gtk-master/gtk/theme/Adwaita/
to/usr/share/themes/MyCustomized/gtk-3.0/
this MyCustomized theme can be selected from
gnome-tweaks
and the result is