#!/bin/bash # folder Name read -p 'folder name : ' folderName # Theme Label read -p 'Theme label : ' themeLabel # Theme Color read -p 'Theme Color (hexa) : ' themeColor # custom template read -p 'Need custom templates (0/1) : ' variant cd ~/src/publik-base-theme/ # create folders staticfolderPath=static/$folderName mkdir $staticfolderPath if [ $variant == 1 ] then variantfolderPath=templates/variants/$folderName mkdir $variantfolderPath fi # create config.json file cat >${staticfolderPath}/config.json <${staticfolderPath}/_vars.scss <${staticfolderPath}/style.scss <