mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-12-22 09:00:14 +00:00
Harvey Tindall
781306f1ef
The grabbing of dependencies and compilation of SCSS can now simply be done with a: poetry run task compile-css before a: poetry build When building from source. The issue where the .gitignore had to be removed before building has been fixed, too. |
||
---|---|---|
.. | ||
bs4 | ||
bs5 | ||
compile.py | ||
get_node_deps.py | ||
README.md |
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 commandsscss/compile.py
runs to build your css and then setcustom_css
in your config as the path to your minified css and change thetheme
option toCustom CSS
.