.. | ||
assets | ||
sass | ||
.nvmrc | ||
assets.svg | ||
assets.txt | ||
gtk-dark.css | ||
gtk-darker.css | ||
gtk-solid-dark.css | ||
gtk-solid-darker.css | ||
gtk-solid.css | ||
gtk.css | ||
gulpfile.js | ||
package.json | ||
README.md | ||
render-assets.sh |
This theme uses libsass/gulp to process the sass/*.scss. Never edit any of the .css files manually.
Editing the theme
-
Install
nvm
(https://github.com/creationix/nvm) -
Run
nvm i
from the directory containing.nvmrc
-
Run
npm i
from the directory containinggulpfile.js
. It's the same directory as the one that contains.nvmrc
in this case. -
Install
gulp
withnpm i -g gulp
-
Edit the sass/*.scss files
-
Regenerate the .css files by executing
gulp
from the directory that containsgulpfile.js
--
Editing the images in the assets
folder
-
Open the
assets.svg
file in inkscape. Each object in the .svg file corresponds to an image in theassets
folder. -
Find the object you want to edit and make your changes. Important: Don't change the obejct id.
-
Save
assets.svg
and delete the images corresponding to the edited .svg objects from theassets
folder (or just delete everything in theassets
folder). -
Run
./render-assets.sh
from a terminal.