Commit c72c8729 authored by David Hrbáč's avatar David Hrbáč

modified colors.sh script

parent b89f49bf
Pipeline #1379 failed with stages
in 31 seconds
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"} 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 do
git pull --rebase origin colors
git pull --rebase
echo "Setting color to: $i, ${i/ /_}, color_${i/ /_}" echo "Setting color to: $i, ${i/ /_}, color_${i/ /_}"
#git checkout -b color_${i/ /_} #git checkout -b color_${i/ /_}
git checkout color_${i/ /_} git checkout color_${i/ /_}
sed -ri "s/(primary: ').*'/\1$i'/" mkdocs.yml sed -ri "s/(primary: ').*'/\1$i'/" mkdocs.yml
#git cherry-pick bd8e358 #git cherry-pick bd8e358
#git commit -am "Setting color to: $i" git commit -am "Setting color to: $i"
git pull --rebase origin colors
git pull --rebase
git push --set-upstream origin color_${i/ /_} git push --set-upstream origin color_${i/ /_}
git checkout colors git checkout colors
done done
...@@ -190,8 +190,13 @@ pages: ...@@ -190,8 +190,13 @@ pages:
extra: extra:
logo: img/logo2.png logo: img/logo2.png
palette: palette:
primary: 'purple' <<<<<<< HEAD
primary: 'blue grey'
accent: 'light blue' accent: 'light blue'
=======
primary: 'blue grey'
accent: 'red'
>>>>>>> Setting color to: red
font: font:
text: 'Roboto' text: 'Roboto'
code: 'Roboto Mono' code: 'Roboto Mono'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment