mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-02 02:36:24 -07:00
Rewrite CSS as Sass (.scss) files for better organization/loading
This commit is contained in:
parent
0d36172570
commit
a6d7e9f188
56 changed files with 1751 additions and 1511 deletions
9
sass/README.md
Normal file
9
sass/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
## Theme development using Sass
|
||||
If you want, you can install [Sass](https://sass-lang.com/install) to streamline writing CSS stylesheets. It requires node.js as a dependency so if you don't want to install it and Sass's dependencies (and its dependencies' dependencies,...) the CSS files generated by Sass are provided.
|
||||
|
||||
To use sass, run `sass --style expanded --no-source-map sass:html/css`.
|
||||
To have sass watch the input directory for changes as you edit and save the files, run `sass --style expanded --no-source-map --watch sass:html/css`
|
||||
|
||||
In either case, `--style expanded` is optional. Run `sass -h` for more info about it.
|
||||
|
||||
If you are upgading from gochan 2.2, delete your html/css directory unless you have made themes that you want to keep. Then rebuild the pages. (/manage?action=rebuildall)
|
Loading…
Add table
Add a link
Reference in a new issue