Skip to content
Snippets Groups Projects
Commit eb81e3ca authored by David Hrbáč's avatar David Hrbáč
Browse files

script to prepare color deviations II

parent d5ec6502
No related branches found
No related tags found
No related merge requests found
for i in {"red","pink","purple","deep purple","indigo","blue","light blue","cyan","teal","green","light green","lime","yellow","amber","orange","deep orange","brown","grey","blue grey"}
do
echo "Setting color to: $i, ${i/ /_}, color_${i/ /_}"
git checkout -b color_${i/ /_}
sed -ri "s/(accent: ').*'/\1$i'/" mkdocs.yml
#git checkout -b color_${i/ /_}
git checkout color_${i/ /_}
sed -ri "s/(primary: ').*'/\1$i'/" mkdocs.yml
git commit -am "Setting color to: $i"
git push --set-upstream origin color_${i/ /_}
git checkout colors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment