chore: update deps
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
"dependencies": {
|
||||
"@vben-core/toolkit": "workspace:*",
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"@vueuse/core": "^10.9.0",
|
||||
"@vueuse/core": "^10.10.0",
|
||||
"vue": "3.4.27"
|
||||
}
|
||||
}
|
||||
|
@@ -110,8 +110,8 @@ function updateTheme(preference: Preference) {
|
||||
function updateColorMode(preference: Preference) {
|
||||
const { colorGrayMode, colorWeakMode } = preference;
|
||||
const body = document.body;
|
||||
const COLOR_WEAK = 'invert';
|
||||
const COLOR_GRAY = 'grayscale';
|
||||
const COLOR_WEAK = 'invert-mode';
|
||||
const COLOR_GRAY = 'grayscale-mode';
|
||||
colorWeakMode
|
||||
? body.classList.add(COLOR_WEAK)
|
||||
: body.classList.remove(COLOR_WEAK);
|
||||
|
Reference in New Issue
Block a user