Fix fomantic

This commit is contained in:
wvffle 2022-07-20 18:49:11 +00:00 committed by Georg Krause
commit c56627bfcf
5 changed files with 43 additions and 62 deletions

View file

@ -8,3 +8,5 @@ echo 'Removing google font…'
sed -i '/@import url(/d' node_modules/fomantic-ui-css/components/site.css
echo "Replacing hardcoded values by CSS vars…"
scripts/fix-fomantic-css.py node_modules/fomantic-ui-css node_modules/fomantic-ui-css/tweaked
echo 'Fixing jQuery import…'
sed -i '1s/^/import jQuery from "jquery"\n/' `find node_modules/fomantic-ui-css/ -name '*.js'`