Yaru-Colors is a theme project to bring different colors to Ubuntu's awesome Yaru theme.
Version 20.10.1
Update 20.10.1:
- Updated every theme to 20.10!
- Added new Wallpapers made by @fer-moreira (They're awesome, thanks a lot!)
- Icons and Cursors are unchanged
Update 20.04.6:
- Added Cinnamon as color based on Ubuntu Cinnamon Remix' orange (slightly change to Yaru-Orange)
- Added snap! Thanks for @Muqtxdir for helping creating this!
Update 20.04.5: Rewritten install.sh script to make it way shorter than before and a bit more user friendly. Also added Teal and Amber themes
Update 20.04.4: Broken symlinks were now removed, yay! Updated compiling script for this, as well.
Update 20.04.3: Some other fixes - tried to remove broken symlinks. Didn't work somehow.
Update 20.04.2: Just some fixes
Update 20.04.1: Updated everything with Yaru's source for Ubuntu 20.04, including new icons, new orange theme and new purple color.
Update 2.0: Yaru developers updated the original theme, so I did. It cointains now the new light version from 19.10. Maybe I'm able to create "Yaru-Classic" theme with the old darker header bars, but for now it was enough work to create 2.0
Screenshots included for every theme
Yaru-Colors themes are containing following:
- GTK 2 / 3 theme
- Gnome-Shell theme
- Recolored icons (more information below)
- Recolored cursors
- Ubuntu-Dock theme (indicators)
- Unity support (brought with Yaru 20.04)
- Wallpapers (see below) Please note: I've added Yarus source files for gtk2/3, gnome-shell, unity, icons and cursors to my git, to be able to work with them. I'll update them as soon as I'm working on a next version of Yaru-Colors.
Following changes are made by me:
- .css files for GTK3 and Gnome-Shell are edited. I changed all orange and purple tinted colors
- The Unity files are edited (20.04 only)
- GTK2 images and Gnome-Shell graphics which were orange tinted are changed
- For the icon pack I just recolored the folder icons and some others, the icon packs are set to inherit to Yaru (see below)
- The cursors are recolored
- The dock got recolored app running indicators, which are changed by script, not by file
Icons: To safe space, I decided to ditch the whole Suru theme for just the edited files. The icon packs will inherit to Yarus icons in first place. To get this to work, you need to install Yarus icons (instructions on Yaru's git). To change the inherit icons, you can change the index.theme file in the icons directory of each theme.
I tried to make the installation as easy as possible. Therefore I created an installation script called install.sh.
The installer will do a backup if something needs to be overwritten (only Ubuntu 18.10+). It will guide you through everything and allows you to choose what you want to install.
Installation with script:
- Run the installer with
./install.sh
- Follow the installer
- Set your themes with gnome-tweak-tool (if not done with the script)
- For gnome-shell you need the User Themes Extension for Gnome-Shell
- To change the dock indicators, simply run the dock-indicators.sh in
src
- Done
Installation notes: Due to an old bug in user-themes, the glib-2 schemas for this extensions aren't available systemwide. This causes and error, when trying to change the shell theme with gsettings command, because the schema for this is missing. I've added the fix from https://gist.github.com/atiensivu/fcc3183e9a6fd74ec1a283e3b9ad05f0 to the installer. It needs root privileges but the script will ask for this.
GDM3 support:
The installer will ask for gdm3 enabling on Ubuntu with installed Yaru, only.
Please note: I didn't tried it on other distros, yet (testers welcome!).
I don't know how gnome-shell / gdm3 works on other distros and if it's using the same files.
This tutorial will work on Ubuntu, but may also on other distros, if the files are the same.
Please let me know, if there are any problems with it. Modifying gdm3 / gnome-shell isn't that easy to handle, espacially if distros like Ubuntu do their own stuff.
Manual gdm3 installation (tested on Ubuntu 20.10 only, yet. Please give me a note if something's wrong!):
- Check if following file exists and create a backup:
/usr/share/gnome-shell/gnome-shell-theme.gresource
- if done copy the .gresource file of your theme to the gnome-shell directory by entering following command:
sudo cp THEME_DIR/Yaru-COLOR/gnome-shell/yaru-COLOR-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource
- update the alternatives by using the command:
sudo update-alternatives --config gdm3-theme.gresouce
- this will ask you to choose a file, choose the one from above.
or the direct command:sudo update-alternatives --set gdm3-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource
- Reboot or restart shell by using Alt+F2, enter r and hit Enter
Removal with script:
- Run the uninstaller with
./uninstall.sh
- Follow the script
- Done
Manual install:
- Copy your desired theme into your desired theme directory (example
~/.themes
) - Copy you desired icon pack into your desired theme directory (example
/usr/share/icons
or~/.icons
) - Enable your themes with gsettings commands or with gnome-tweak-tool
- To change the dock indicator color (Ubuntu's Dash-To-Dock only), find the hex code for your desired color in the list below and enter following two commands (replace HEXCODE with your color code including #):
gsettings set org.gnome.shell.extensions.dash-to-dock custom-theme-running-dots-color '#HEXCODE' 2> /dev/null
gsettings set org.gnome.shell.extensions.dash-to-dock custom-theme-running-dots-border-color '#HEXCODE' 2> /dev/null
(or do it with the script, it'll do it for you...)
Snap install
special thanks to Muqtxdir
- Install snap package with
snap install yaru-colors
(TBR) - Add the themes to the snap theme list by following 3 commands:
for i in $(snap connections | grep gtk-common-themes:gtk-3-themes | awk '{print $2}'); do sudo snap connect $i yaru-colors:gtk-3-themes; done
for i in $(snap connections | grep gtk-common-themes:gtk-2-themes | awk '{print $2}'); do sudo snap connect $i yaru-colors:gtk-2-themes; done
for i in $(snap connections | grep gtk-common-themes:icon-themes | awk '{print $2}'); do sudo snap connect $i yaru-colors:icon-themes; done
- Reboot or re-login
Other distros than Ubuntu
Or when you notice any issues with the icon packs
Thanks to tur1ngb0x for this hint
- Install dependencies
-
- Debian/Ubuntu:
sudo apt install humanity-icon-theme yaru-theme-icon hicolor-icon-theme
- Debian/Ubuntu:
-
- Arch/Manjaro:
yay -S humanity-icon-theme yaru-icon-theme hicolor-icon-theme
- Arch/Manjaro:
- Apply any Yaru-Color icon pack.
- Restart GNOME Shell / Cinnamon Shell.
- Panel icons will now show applied Yaru-Color icon pack.
Have fun with it!
For any suggestions send me a message here or on Reddit /u/jannomag
Wallpaper information All wallpapers are made by me from scratch. I made a wallpaper for each color and one with Ubuntu's stock colors. I also added a bonus photo wallpaper, also made by me.
Hex-Color codes of all base colors
First color is the Ubuntu-Orange, second the Ubuntu-Purple
All other colors in the themes are generated while compiling the css from Yaru's source.
KNOWN BUGS
Transparent window borders
Snap applications like Ubuntu Software become transparent.
This isn't really a Yaru-Colors issue. Snap has its own theme directory and I'm not able to add Yaru-Colors to this.
Currently, I don't have any way to create a Yaru-Colors Snap.
There are two solutions:
- Set Yaru as theme using GTK Inspector - this is just temporary.
- Completely remove Snap and install Ubuntu Software and other applications via the repositories.
For this there are many tutorials on the WWW.
FIX: Install yaru-colors snap package and read above!
Missing icons in gnome / failing to apply Yaru-Colors
On some distros the icon pack fails to apply (Arch in this case).
Fix by @tur1ngb0x (see issue #55):
- Install humanity-icon-theme (dependency)
- Debian/Ubuntu (should be installed by default):
sudo apt install humanity-icon-theme
- Arch/Manjaro:
sudo yay -S humanity-icon-theme
- Debian/Ubuntu (should be installed by default):
- Open GNOME Tweak Tool, apply any Yaru-Color icon pack.
- Restart GNOME Shell.
- GNOME panel icons will now show applied Yaru icon pack.
Red checkboxes (mostly nautilus)
Install the whole color, not just dark or light.
So your theme directory has to contain (for example) the directories:
Yaru-Blue, Yaru-Blue-dark, Yaru-Blue-light.
Reason: to save space and work the needed asset files are in the default directory only and symlinked from light/dark to default.