1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00
jfa-go/scss
Harvey Tindall 3c952d21f7
fix 10.7.0 compatibility, simplify scss
Hyphens are added to user IDs from 10.7.0, so if the server is running
it, emails.json will be modified to include them. The existing file is
backed up. Also, scss files have been simplified since bs4-jf and bs5-jf share
much of the same content.
2020-11-29 18:01:10 +00:00
..
bs4 fix 10.7.0 compatibility, simplify scss 2020-11-29 18:01:10 +00:00
bs5 fix 10.7.0 compatibility, simplify scss 2020-11-29 18:01:10 +00:00
base.scss use bs5 alpha2, config description changes 2020-10-23 14:39:04 +01:00
compile.py use npx to avoid looking for node_modules, get rid of useless 2020-10-18 00:57:53 +01:00
jf-post.scss fix 10.7.0 compatibility, simplify scss 2020-11-29 18:01:10 +00:00
jf-pre.scss fix 10.7.0 compatibility, simplify scss 2020-11-29 18:01:10 +00:00
README.md CLI flags, start setting up goreleaser, add build scripts 2020-08-01 21:20:02 +01:00

SCSS

  • bs<4/5>-jf.scss contains the source for the customizations to bootstrap. To customize the UI, you can make modifications to this file and then compile it.

Note: It is assumed that Bootstrap 5 is installed in ../../node_modules/bootstrap relative to itself, and Bootstrap 4 in ../../node_modules/bootstrap4.

  • Compilation requires dev dependencies (poetry update), bootstrap and some extra npm packages.
  • If you're buildings from source, you can simply run poetry run task compile-css before building to automatically get deps and compile CSS.
  • If you are creating custom css, run poetry run task get-npm-deps to only install the necessary dependencies. Follow along with the commands scss/compile.py runs to build your css and then set custom_css in your config as the path to your minified css and change the theme option to Custom CSS.