mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-12 11:43:42 +08:00
refactor(projects): 名称变更
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 6.7 KiB |
@@ -5,10 +5,10 @@ export default function setupWindicssDarkMode() {
|
||||
const app = useAppStore();
|
||||
|
||||
const DARK_CLASS = 'dark';
|
||||
|
||||
function getHtmlElement() {
|
||||
return document.querySelector('html')!;
|
||||
}
|
||||
|
||||
function addDarkClass() {
|
||||
const html = getHtmlElement();
|
||||
html.classList.add(DARK_CLASS);
|
||||
|
||||
Reference in New Issue
Block a user