Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1004 Bytes

HACKING.md

File metadata and controls

27 lines (14 loc) · 1004 Bytes

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 containing gulpfile.js. It's the same directory as the one that contains .nvmrc in this case.

  • Install gulp with npm i -g gulp

  • Edit the sass/*.scss files

  • Regenerate the .css files by executing gulp from the directory that contains gulpfile.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 the assets 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 the assets folder (or just delete everything in the assets folder).

  • Run ./render-assets.sh from a terminal.