diff options
Diffstat (limited to 'res')
-rwxr-xr-x | res/css/dark.css (renamed from res/css/dark.min.css) | 4 | ||||
-rwxr-xr-x | res/css/light.css (renamed from res/css/light.min.css) | 0 | ||||
-rwxr-xr-x | res/js/themeswap.js | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/res/css/dark.min.css b/res/css/dark.css index ebfa8a8..5c66ade 100755 --- a/res/css/dark.min.css +++ b/res/css/dark.css @@ -5,6 +5,10 @@ been moved to global.css and imported below. */ @import url('global.css'); +html { + color-scheme: dark; +} + div.project pre { border: 1px solid #666666 } diff --git a/res/css/light.min.css b/res/css/light.css index 96b5b4d..96b5b4d 100755 --- a/res/css/light.min.css +++ b/res/css/light.css diff --git a/res/js/themeswap.js b/res/js/themeswap.js index 6ea7268..e619471 100755 --- a/res/js/themeswap.js +++ b/res/js/themeswap.js @@ -1,5 +1,5 @@ function addStyleSheet(name, id) { - var path = '/res/css/' + name + '.min.css'; + var path = '/res/css/' + name + '.css'; var old = document.getElementById(id); if (old && (old.href != path)) { old.href = path; |