gitea-themes/build.sh

15 lines
477 B
Bash
Raw Normal View History

2022-10-31 02:32:46 +00:00
#!/usr/bin/env bash
BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
cd "${BASEDIR}"
2022-10-31 03:55:37 +00:00
for theme in edge gruvbox gruvbox-material everforest; do
2022-10-31 03:21:54 +00:00
for variant in dark light auto; do
lessc -x "src/${theme}-${variant}.less" > "dist/theme-${theme}-${variant}.css"
done
2022-10-31 02:42:56 +00:00
done
2022-10-31 04:13:06 +00:00
2022-10-31 09:04:16 +00:00
for theme in nord palenight soft-era sonokai sonokai-andromeda sonokai-atlantis sonokai-espresso sonokai-maia sonokai-shusia; do
2022-10-31 04:13:06 +00:00
lessc -x "src/${theme}.less" > "dist/theme-${theme}.css"
done