File size: 513 Bytes
7ef7240 b8bd724 7ef7240 b8bd724 7ef7240 b8bd724 7ef7240 b8bd724 7ef7240 b8bd724 7ef7240 b8bd724 7ef7240 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /**
* 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;
})(); |