jellyfin-accounts/scss
2020-08-17 11:45:42 +01:00
..
bs4 Small CSS tweaks, add days input 2020-07-07 15:30:16 +01:00
bs5 Small CSS tweaks, add days input 2020-07-07 15:30:16 +01:00
compile.py add non interactive modes to build scripts 2020-08-17 11:45:42 +01:00
get_node_deps.py actually fixed windows scss build 2020-08-04 18:12:18 +01:00
README.md Automation of CSS compilation, fixed .gitignore build issue 2020-07-06 15:04:28 +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.