Light theme icons

main2
Bob Mottram 2019-09-18 12:26:46 +01:00
parent b7ea51227a
commit 9881a8b333
1 changed files with 5 additions and 2 deletions

7
theme
View File

@ -181,8 +181,11 @@ fi
if [[ "$themeName" == 'light'* ]]; then
if [ -f config.json ]; then
if grep -q '"theme"' config.json; then
sed -i '/"theme"/d' config.json
fi
sed -i 's|"theme".*|"theme": "light",|g' config.json
else
sed -i '/"admin"/a "theme": "light",' config.json
sed -i 's|"theme"| "theme"|g' config.json
fi
fi
cp epicyon-profile.css epicyon.css
filename=epicyon.css