tools: add a -theme-dir folder/ parameter to v doc (#13550)

This commit is contained in:
gcxfd 2022-02-21 18:08:46 +08:00 committed by GitHub
parent 04654ed518
commit 8b033c3993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 77 additions and 65 deletions

View file

@ -0,0 +1,6 @@
(function() {
var html = document.getElementsByTagName('html')[0];
if (localStorage.getItem('dark-mode') === 'true') {
html.classList.add('dark');
}
})();