Split css (#1959)
Divides the css into sub-files and normalizes how colors are defined. Co-authored-by: Joachim <joachim.robert@protonmail.com>
This commit is contained in:
parent
6daaffeaa7
commit
c77e5a1a90
54 changed files with 1670 additions and 1524 deletions
10
bw-dev
10
bw-dev
|
@ -143,13 +143,15 @@ case "$CMD" in
|
|||
;;
|
||||
stylelint)
|
||||
docker-compose run --rm dev-tools npx stylelint \
|
||||
bookwyrm/static/css/*.scss --fix \
|
||||
bookwyrm/static/css/bookwyrm.scss bookwyrm/static/css/bookwyrm/**/*.scss --fix \
|
||||
--config dev-tools/.stylelintrc.js
|
||||
;;
|
||||
formatters)
|
||||
docker-compose run --rm dev-tools black celerywyrm bookwyrm && \
|
||||
npx prettier --write bookwyrm/static/js/*.js && \
|
||||
npx stylelint bookwyrm/static/css/*.scss --fix --config dev-tools/.stylelintrc.js
|
||||
docker-compose run --rm dev-tools black celerywyrm bookwyrm
|
||||
docker-compose run --rm dev-tools npx prettier --write bookwyrm/static/js/*.js
|
||||
docker-compose run --rm dev-tools npx stylelint \
|
||||
bookwyrm/static/css/bookwyrm.scss bookwyrm/static/css/bookwyrm/**/*.scss --fix \
|
||||
--config dev-tools/.stylelintrc.js
|
||||
;;
|
||||
compilescss)
|
||||
runweb python manage.py compilescss
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue