1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-02 02:36:24 -07:00
gochan/sass
2021-08-24 12:00:50 -07:00
..
bunkerchan Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
burichan Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
clear Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
dark Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
global Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
photon Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
pipes Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
yotsuba Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
yotsubab Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
_util.scss Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
_yotsubacommon.scss Add Yotsuba B theme, use yotsuba mixin 2021-03-23 00:05:51 -07:00
bunkerchan.scss Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
burichan.scss Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
clear.scss Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
dark.scss Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
global.scss Add QR box 2018-12-03 12:34:36 -08:00
photon.scss Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
pipes.scss Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
README.md Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
yotsuba.scss Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
yotsubab.scss Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07: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)

Attribution

The BunkerChan, Clear, and Dark themes come from the imageboard BunkerChan. Burichan is based on the theme with the same name from Kusaba X. Photon comes from nol.ch (I think?) that as far as I know no longer exists. Pipes was created by a user (Mbyte?) on Lunachan (defunct). Yotsuba and Yotsuba B are based on the themes with the same names from 4chan.