Fixed replacements

This commit is contained in:
Jordan Roher 2023-04-21 16:46:52 -07:00
parent faf2cb304d
commit 26649e6289

View File

@ -15,7 +15,7 @@ sed -i -e 's/SHOWHEADERTOP = false/SHOWHEADERTOP = '"${HEADERTOP}"'/g' /app/src/
sed -i -e 's/CATEGORIES = "normal"/CATEGORIES = "'"${CATEGORIES}"'"/g' /app/src/variables.ts sed -i -e 's/CATEGORIES = "normal"/CATEGORIES = "'"${CATEGORIES}"'"/g' /app/src/variables.ts
# CSS replacement # CSS replacement
sed -i -e 's/background-color: theme\(colors\.slate\.50\)/background-color: '"${BGCOLOR}"'/g' /app/src/tailwind.css sed -i -e 's/background-color: theme(\(colors\.slate\.50\))/background-color: '"${BGCOLOR}"'/g' /app/src/tailwind.css
sed -i -e 's/background-color: theme\(colors\.gray\.950\)/background-color: '"${BGCOLORDARK}"'/g' /app/src/tailwind.css sed -i -e 's/background-color: theme(\(colors\.gray\.950\))/background-color: '"${BGCOLORDARK}"'/g' /app/src/tailwind.css
exec "$@" exec "$@"