Download src/static/js/theme.js from humut/WordGame: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/spaces/humut/WordGame/resolve/main/src/static/js/theme.js
- Command line
-
hf download hf://spaces/humut/WordGame/src/static/js/theme.js
-
curl -L -o theme.js https://huggingface.co/spaces/humut/WordGame/resolve/main/src/static/js/theme.js
513 Bytes
| /** | |
| * Theme functionality for Verbumix | |
| * Always dark theme (dark green monochrome) | |
| */ | |
| (function() { | |
| 'use strict'; | |
| function initTheme() { | |
| document.documentElement.classList.add('dark'); | |
| } | |
| function getTheme() { | |
| return 'dark'; | |
| } | |
| if (document.readyState === 'loading') { | |
| document.addEventListener('DOMContentLoaded', initTheme); | |
| } else { | |
| initTheme(); | |
| } | |
| window.toggleVerbumixTheme = function() {}; | |
| window.getVerbumixTheme = getTheme; | |
| })(); |