vinceliuice / Lavanda-gtk-theme

Lavanda gtk theme for linux desktops
GNU General Public License v3.0
276 stars 12 forks source link

Appears that when the mouse highlights over the minimize, maximize and close buttons in GNOME Files 44, the colours do not change. #14

Open I-Iawk opened 1 year ago

I-Iawk commented 1 year ago
          Appears that when the mouse highlights over the minimize, maximize and close buttons in GNOME Files 44, the colours do not change.

image

Originally posted by @I-Iawk in https://github.com/vinceliuice/Lavanda-gtk-theme/issues/11#issuecomment-1499712175

vinceliuice commented 1 year ago

Run ./install.sh -l

I-Iawk commented 1 year ago

I see... well that works! However, a new bug occurs... it appears this break's the ability to switch between light and dark mode via Settings -> Appearance.

In order to go all dark mode, I had to remove the previous files and run this:

./install.sh -l -c dark

Hope this helps @vinceliuice ?

claytonwramsey commented 1 year ago

As far as I know, Lavanda doesn't have a dark or light subtheme - each coloration is actually a completely different theme. The workaround that I use is by running a shell script when changing colorations via the Night Theme Switcher extension.

Here's the source for my scripts:

sunrise.sh

THEME="Lavanda-Light-Compact"
THEME_DIR="${HOME}/.themes/${THEME}"

mkdir -p "${HOME}/.config/gtk-4.0"
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"

sunset.sh

THEME="Lavanda-Dark-Compact"
THEME_DIR="${HOME}/.themes/${THEME}"

mkdir -p "${HOME}/.config/gtk-4.0"
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"

(all these scripts do is soft-link the theme into the gtk-4.0 theme directory)

Saliizan commented 1 year ago

As far as I know, Lavanda doesn't have a dark or light subtheme - each coloration is actually a completely different theme. The workaround that I use is by running a shell script when changing colorations via the Night Theme Switcher extension.

Here's the source for my scripts:

sunrise.sh

THEME="Lavanda-Light-Compact"
THEME_DIR="${HOME}/.themes/${THEME}"

mkdir -p "${HOME}/.config/gtk-4.0"
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"

sunset.sh

THEME="Lavanda-Dark-Compact"
THEME_DIR="${HOME}/.themes/${THEME}"

mkdir -p "${HOME}/.config/gtk-4.0"
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"

(all these scripts do is soft-link the theme into the gtk-4.0 theme directory)

How to use this script, Do I have to copy these codes somewhere?