blob: 4a159a5019dfc212605dd8b69a7ccf120d4c9107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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.
|