Files
gitea-themes/build.sh
2024-06-26 07:05:27 -05:00

15 lines
497 B
Bash
Executable File

#!/usr/bin/env bash
BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
cd "${BASEDIR}"
for theme in edge gruvbox gruvbox-material everforest; do
for variant in dark light auto; do
lessc -x "src/${theme}-${variant}.less" > "dist/theme-${theme}-${variant}.css"
done
done
for theme in nord palenight soft-era sonokai sonokai-andromeda sonokai-atlantis sonokai-espresso sonokai-maia sonokai-shusia io io-light io-auto; do
lessc -x "src/${theme}.less" > "dist/theme-${theme}.css"
done