forgejo-themes/build.sh
Sainnhe Park a0acda9f38 Add nord
2022-10-31 12:13:06 +08:00

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