nana-4 / materia-theme

A Material Design theme for GNOME/GTK based desktop environments
GNU General Public License v2.0
3.42k stars 254 forks source link

Issue with trying to change colors through a script #214

Closed illright closed 6 years ago

illright commented 6 years ago

Info:

I want to change the colors to the following:

BG=FAFAFA
FG=212121
MENU_BG=FFFFFF
MENU_FG=212121
SEL_BG=66BB6A
SEL_FG=FFFFFF
TXT_BG=FFFFFF
TXT_FG=000000
BTN_BG=FAFAFA
BTN_FG=000000
ACCENT_BG=00C853

I've cloned the repo and executed the following command:

$ ./change_color.sh -o materia-custom <(echo -e "BG=FAFAFA\nFG=212121\nMENU_BG=FFFFFF\nMENU_FG=212121\nSEL_BG=66BB6A\nSEL_FG=FFFFFF\nTXT_BG=FFFFFF\nTXT_FG=000000\nBTN_BG=FAFAFA\nBTN_FG=000000\nACCENT_BG=00C853")
== Converting theme into template...
== Filling the template with the new colorscheme...
rm: cannot remove './src/gtk/3.18/gtk-compact.scss': No such file or directory
== Generating the CSS...
Error: Undefined variable: "$tooltip-bg-color".
        on line 2056 of src/_sass/gtk/_common-3.18.scss
>>     background-color: rgba($tooltip_bg_color, $higher_opacity);
   ---------------------------^

What's up with this error and how to fix it?

actionless commented 6 years ago

see this thread: https://github.com/nana-4/materia-theme/issues/210

nana-4 commented 6 years ago

It's my fault. Sorry for the trouble. I've fixed it now.