Skip to content
Snippets Groups Projects
Forked from SCS / docs.it4i.cz
1529 commits behind, 548 commits ahead of the upstream repository.
colors.sh 531 B
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/ /_}
  git checkout color_${i/ /_}
  sed -ri "s/(primary: ').*'/\1$i'/" mkdocs.yml
  git cherry-pick 64ca62c16c5fd5724f415ccb6413e5fd3cb51076
  git commit -am "Setting color to: $i"
  git push --set-upstream origin color_${i/ /_}
  git checkout colors
done