mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vdoc: move to it's own directory cmd/tools/vdoc/ (#7606)
This commit is contained in:
6
cmd/tools/vdoc/resources/dark-mode.js
Normal file
6
cmd/tools/vdoc/resources/dark-mode.js
Normal file
@ -0,0 +1,6 @@
|
||||
(function() {
|
||||
var html = document.getElementsByTagName('html')[0];
|
||||
if (localStorage.getItem('dark-mode') === 'true') {
|
||||
html.classList.add('dark');
|
||||
}
|
||||
})();
|
Reference in New Issue
Block a user