Skip to content

Oomox-gtk-theme is a fork of Numix-gtk-theme with slightly different visual design choices and more customization capabilities. It can be used in Themix/Oomox app.

License

Notifications You must be signed in to change notification settings

themix-project/oomox-gtk-theme

 
 

Repository files navigation

oomox-gtk-theme

SCSS Lint Shellcheck Tests

Oomox-gtk-theme is a fork of Numix-gtk-theme. It is used in oomox app: https://github.com/themix-project/oomox

Theme examples

Screenshot Light Screenshot Medium Screenshot Dark

Prerequisites

You need to have those dependencies:

  • glib-compile-schemas
  • gdk-pixbuf-pixdata
  • sassc>=3.4
  • gtk3>=3.18

For GTK2 you need murrine engine which can be not installed by default.

Arch Linux
sudo pacman -S --needed bash grep sed bc glib2 gdk-pixbuf2 sassc gtk-engine-murrine gtk-engines librsvg
Ubuntu
sudo apt install libgdk-pixbuf2.0-dev libxml2-utils gtk2-engines-murrine librsvg2-bin

And install sassc>=3.4: https://askubuntu.com/questions/849057/how-to-install-libsass-on-ubuntu-16-04

How to generate the theme using CLI:

bash:
git clone https://github.com/themix-project/oomox-gtk-theme.git
cd oomox-gtk-theme
./change_color.sh -o my-test-theme <(echo -e "BG=888a85\nBTN_BG=85509b\nBTN_FG=0e0021\nFG=0e0021\nGRADIENT=0.0\nHDR_BTN_BG=85509b\nHDR_BTN_FG=0e0021\nHDR_BG=0e0021\nHDR_FG=888a85\nROUNDNESS=4\nSEL_BG=dc5e86\nSEL_FG=000000\nSPACING=3\nTXT_BG=c0bbbb\nTXT_FG=000000\nWM_BORDER_FOCUS=9edc60\nWM_BORDER_UNFOCUS=0e0021\n")
fish:
git clone https://github.com/themix-project/oomox-gtk-theme.git
cd oomox-gtk-theme
./change_color.sh -o my-test-theme (echo -e "BG=888a85\nBTN_BG=85509b\nBTN_FG=0e0021\nFG=0e0021\nGRADIENT=0.0\nHDR_BTN_BG=85509b\nHDR_BTN_FG=0e0021\nHDR_BG=0e0021\nHDR_FG=888a85\nROUNDNESS=4\nSEL_BG=dc5e86\nSEL_FG=000000\nSPACING=3\nTXT_BG=c0bbbb\nTXT_FG=000000\nWM_BORDER_FOCUS=9edc60\nWM_BORDER_UNFOCUS=0e0021\n" | psub)

next select my-test-theme in your appearance config tool (for example, lxappearance)

Hacking

Running tests locally:

cd ./docker_scripts/

# build container:
./build_docker_image.sh

# start container:
./start_docker_container.sh

# run tests:
./run_docker_tests.sh

Alternatively, to avoid rebuilding the container after each small theme change, you can start already built container and mount the current working directory inside that container:

# start container:
./docker_scripts/dev_docker_container.sh

Generate new screenshots:

# assuming container is already started:
./docker_scripts/run_docker_tests.sh -e GENERATE_ASSETS=1

Generate screenshots only for specific theme variant:

./docker_scripts/run_docker_tests.sh -e GENERATE_ASSETS=1 -e SKIP_GTK2=1 -e TEST_THEMES=clearlooks -e TESTSUITE_HIDPI=1

About

Oomox-gtk-theme is a fork of Numix-gtk-theme with slightly different visual design choices and more customization capabilities. It can be used in Themix/Oomox app.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 70.0%
  • SCSS 25.0%
  • Smarty 2.2%
  • Shell 2.0%
  • Python 0.5%
  • Makefile 0.2%
  • Dockerfile 0.1%