fix-fomantic-css.sh 446 Bytes
Newer Older
heyarne's avatar
heyarne committed
1
2
3
#!/usr/bin/env -S bash -eux

cd "$(dirname $0)/.." # change into base directory
Agate's avatar
Agate committed
4
5
6
7

find node_modules/fomantic-ui-css/components -name "*.min.css" -delete
mkdir -p node_modules/fomantic-ui-css/tweaked
echo 'Removing google font…'
8
sed -i '/@import url(/d' node_modules/fomantic-ui-css/components/site.css
Agate's avatar
Agate committed
9
10
echo "Replacing hardcoded values by CSS vars…"
scripts/fix-fomantic-css.py node_modules/fomantic-ui-css node_modules/fomantic-ui-css/tweaked