Elegance Colors is a new, chameleonic, GNOME Shell (3.4) theme that can change colors according to the current GTK theme, wallpaper or an user-defined color, using a script that runs each time you login. The colors change immediately after changing the wallpaper or GTK theme (it may have a few seconds delay though).
To install Elegance Colors in Ubuntu 12.04, use the commands below:
sudo add-apt-repository ppa:satyajit-happy/themes sudo apt-get update sudo apt-get install gnome-shell-theme-elegance-colors
For other Linux distributions, download it from DeviantArt.
From the same author, Satya, there's also a Cinnamon chameleonic theme called Minty Colors which you can install it using the commands below:
sudo add-apt-repository ppa:satyajit-happy/themes sudo apt-get update sudo apt-get install cinnamon-theme-minty-colors
Or download it from DeviantArt.
How to use and tweak Elegance Colors / Minty Colors
Firstly, you'll have to run "Elegance Colors" / "Minty Colors" from the Activities Overview - you only need to do this once, or logout and login. After this, set Elegance Colors as your GNOME Shell theme using GNOME Tweak Tool (or Minty Colors using Cinnamon Settings). The script is added to startup during installation and starts automatically each time you login.
By default, the theme will change its colors depending on your current GTK theme so try changing the GTK theme and after a few seconds, the GNOME Shell / Cinnamon theme should change its colors. If you want the theme to change colors depending on your wallpaper, open the ".elegance-colors.conf" or ".minty-colors.conf" file from your home folder:
And change mode="automatic" to mode="wallpaper", then save the file. Now, after changing your wallpaper, Elegance Colors / Minty Colors should change its colors. You can also use a custom color by setting mode="other" and then changing the color field in the same .elegance-colors.conf file.
Thanks to Satya for the tip!