1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-02 19:16:23 -07:00
gochan/sass
Eggbertx e361223084 Add HTML, JS, and JSON minification
Also remove that stupid filter for password input fields that Firefox (and maybe other browsers) adds
2019-12-07 12:52:36 -08:00
..
burichan Rewrite CSS as Sass (.scss) files for better organization/loading 2018-11-25 14:16:22 -08:00
global Completely redo front.html to make it more mobile-friendly 2019-02-16 19:18:00 -08:00
leetchan Rewrite CSS as Sass (.scss) files for better organization/loading 2018-11-25 14:16:22 -08:00
photon Completely redo front.html to make it more mobile-friendly 2019-02-16 19:18:00 -08:00
pipes Add HTML, JS, and JSON minification 2019-12-07 12:52:36 -08:00
_util.scss use QR file input when posting, improve front page formatting 2018-12-04 15:38:19 -08:00
burichan.scss Rewrite CSS as Sass (.scss) files for better organization/loading 2018-11-25 14:16:22 -08:00
global.scss Add QR box 2018-12-03 12:34:36 -08:00
leetchan.scss Rewrite CSS as Sass (.scss) files for better organization/loading 2018-11-25 14:16:22 -08:00
photon.scss Completely redo front.html to make it more mobile-friendly 2019-02-16 19:18:00 -08:00
pipes.scss use QR file input when posting, improve front page formatting 2018-12-04 15:38:19 -08:00
README.md Add HTML, JS, and JSON minification 2019-12-07 12:52:36 -08:00

Theme development using Sass

If you want, you can install Sass 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. If you replace expanded with compressed, it will minify the generated CSS files. 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)