1
0
Fork 0

Compiles css framework from sass (#1956)

* Compiles css framework from sass

* Adds watch commands

* Copies existing css to sass file

* Moves sass out of static path

* Removes global linter

I wasn't sure how to customize this, and it's not providing a lot of
additional value on top of the domain-specific linters

* Reverts invalid change to dockerfile

* Changes stylelint path

* Remove unused bulma files

* Properly minifies generated css

* Fixes regression in thread display

* rgba function only works with percents for whatever reason

* Hush stylelint

* Removes trailing zeros

* Compile sass in Django

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Python formatting

* Updates linter

* Updates commands

* Adds css-config file

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Stylelint fix

* Removes unused compiled bulma files

Co-authored-by: Joachim <joachim.robert@protonmail.com>
This commit is contained in:
Mouse Reeve 2022-02-19 15:29:47 -08:00 committed by GitHub
parent c5f8715c59
commit 6daaffeaa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
82 changed files with 5634 additions and 46 deletions

View file

@ -27,7 +27,7 @@ jobs:
# See .stylelintignore for files that are not linted.
- name: Run stylelint
run: >
npx stylelint bookwyrm/static/css/*.css \
npx stylelint bookwyrm/static/css/*.scss \
--config dev-tools/.stylelintrc.js
# See .eslintignore for files that are not linted.