We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c2df0 commit bf8c605Copy full SHA for bf8c605
index.html
@@ -32,6 +32,8 @@
32
33
background-color: #f8f8f8;
34
color: #484848;
35
+
36
+ transition: color 0.5s, background-color 0.5s;
37
}
38
39
#title-bar.dark {
renderer.js
@@ -38,8 +38,10 @@ onload = () => {
// set dark theme if in home page
40
if (webview.getURL().split('?')[0].split('#')[0].match(/https:\/\/hackmd.io\/$/)) {
41
+ document.querySelector('#title-bar').className = 'dark';
42
document.querySelector('navbar').className = 'dark';
43
} else {
44
+ document.querySelector('#title-bar').className = '';
45
document.querySelector('navbar').className = '';
46
47
0 commit comments