Spaces:
Running
Running
Download webapp/static/theme.js from claessonlab/Taxonova: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/claessonlab/Taxonova/resolve/main/webapp/static/theme.js
- Command line
-
hf download hf://spaces/claessonlab/Taxonova/webapp/static/theme.js
-
curl -L -o theme.js https://huggingface.co/spaces/claessonlab/Taxonova/resolve/main/webapp/static/theme.js
320 Bytes
| // Apply a saved colour theme before the page paints. "auto" follows the system. | |
| (function () { | |
| try { | |
| var t = localStorage.getItem("taxonova-theme"); | |
| if (t === "light" || t === "dark") document.documentElement.setAttribute("data-theme", t); | |
| } catch (e) { /* storage unavailable: follow the system */ } | |
| })(); | |