pyfedi/app/static/update_assets.sh
rimu 7885cfcdf4 Combine structure.scss and style.scss
The distinction between the two was never very clear and it is annoying to have to guess which file one needs to edit.
2024-07-05 16:27:53 +08:00

22 lines
918 B
Bash

#!/usr/bin/env bash
# Compile SCSS
sass --style expanded styles.scss styles.css
# https://github.com/feimosi/baguetteBox.js (MIT license)
curl -o js/lightbox/baguetteBox.css -L https://github.com/feimosi/baguetteBox.js/raw/dev/dist/baguetteBox.min.css
curl -o js/lightbox/baguetteBox.js -L https://github.com/feimosi/baguetteBox.js/raw/dev/dist/baguetteBox.min.js
# https://github.com/fatihege/downarea (MIT license)
curl -o js/markdown/downarea.css -L https://codeberg.org/PieFed/downarea2/raw/branch/main/src/downarea.css
curl -o js/markdown/downarea.js -L https://codeberg.org/PieFed/downarea2/raw/branch/main/src/downarea.js
# https://htmx.org/ (Zero-Clause BSD)
curl -o js/htmx.min.js -L https://unpkg.com/htmx.org@2.0.0
# https://momentjs.com/ (MIT license)
curl -o js/moment-with-locales.min.js -L https://momentjs.com/downloads/moment-with-locales.min.js
# ToDo: coolfieldset.js
# ToDo: Feather webfont