forgejo-themes/build.sh

15 lines
370 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
for theme in nord; do
lessc -x "src/${theme}.less" > "dist/theme-${theme}.css"
done