add font orbitron for ui-v1.5

This commit is contained in:
ed 2026-05-23 17:54:10 +00:00
parent 7d81b9e837
commit 2c778e0828
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,8 @@ ENV ver_hashwasm=4.12.0 \
# download; # download;
# the scp url is regular latin from https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap # the scp url is regular latin from https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap
RUN mkdir -p /z/dist/no-pk \ RUN mkdir -p /z/dist/no-pk \
&& wget https://ocv.me/dev/fonts/orbitron.woff2 -O /z/dist/no-pk/orbitron.woff2 \
&& sha512sum /z/dist/no-pk/orbitron.woff2 | tee /dev/stderr | grep -q b36a69a1b483ca735a3e7d026cdc5e993b8359bbf69b05deadc369fa759f88fe6087bbbbc0be51e62daf034c090df7ee096e5b07884c494aebf56db0e2bc53f7 \
&& wget https://fonts.gstatic.com/s/sourcecodepro/v11/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevW.woff2 -O scp.woff2 \ && wget https://fonts.gstatic.com/s/sourcecodepro/v11/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevW.woff2 -O scp.woff2 \
&& apk add \ && apk add \
bash brotli cmake make g++ git gzip lame npm patch pigz \ bash brotli cmake make g++ git gzip lame npm patch pigz \

View file

@ -511,6 +511,7 @@ unhelpg() {
[ $no_hl ] && [ $no_hl ] &&
rm -rf copyparty/web/deps/prism* rm -rf copyparty/web/deps/prism*
rm -f copyparty/web/deps/orbitron.woff2 # todo:uiv15
[ $no_fnt ] && { [ $no_fnt ] && {
rm -f copyparty/web/deps/scp.woff2 rm -f copyparty/web/deps/scp.woff2
f=copyparty/web/ui.css f=copyparty/web/ui.css