add darkmode button

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2023-05-01 15:13:50 +02:00
parent 9f53ae7593
commit b180244edf
6 changed files with 34 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ jobs:
yarn eslint . --fix
- name: update
run: |
curl -L https://cdn.jsdelivr.net/npm/darkreader -o darkreader.js
curl -L https://unpkg.com/xregexp/xregexp-all.js -o rootfs/nftd/xregexp-all.js
curl -L https://unpkg.com/showdown/dist/showdown.min.js -o rootfs/nftd/showdown.min.js
curl -L https://code.jquery.com/jquery-"$(git ls-remote --tags https://github.com/jquery/jquery | cut -d/ -f3 | sort -V | tail -1 | sed -E "s/\^\{\}//")".min.js -o rootfs/nftd/jquery.min.js