feat: theme color switch
正在显示
build/config/lessModifyVars.ts
deleted
100644 → 0
build/config/themeConfig.ts
0 → 100644
build/vite/plugin/theme.ts
0 → 100644
... | ... | @@ -21,9 +21,9 @@ |
}, | ||
"dependencies": { | ||
"@iconify/iconify": "^2.0.0-rc.6", | ||
"@vueuse/core": "^4.0.11", | ||
"@vueuse/core": "^4.0.12", | ||
"ant-design-vue": "2.0.0-rc.9", | ||
"apexcharts": "^3.23.1", | ||
"apexcharts": "^3.24.0", | ||
"axios": "^0.21.1", | ||
"crypto-es": "^1.2.6", | ||
"echarts": "^4.9.0", | ||
... | ... | @@ -33,12 +33,12 @@ |
"path-to-regexp": "^6.2.0", | ||
"qrcode": "^1.4.4", | ||
"sortablejs": "^1.13.0", | ||
"vditor": "^3.7.7", | ||
"vditor": "^3.8.0", | ||
"vue": "^3.0.5", | ||
"vue-i18n": "9.0.0-rc.2", | ||
"vue-router": "^4.0.3", | ||
"vue-types": "^3.0.1", | ||
"vuex": "^4.0.0-rc.2", | ||
"vue-types": "^3.0.2", | ||
"vuex": "^4.0.0", | ||
"vuex-module-decorators": "^1.0.1", | ||
"xlsx": "^0.16.9", | ||
"zxcvbn": "^4.4.2" | ||
... | ... | @@ -46,7 +46,7 @@ |
"devDependencies": { | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@iconify/json": "^1.1.294", | ||
"@iconify/json": "^1.1.296", | ||
"@ls-lint/ls-lint": "^1.9.2", | ||
"@purge-icons/generated": "^0.6.0", | ||
"@types/echarts": "^4.9.3", | ||
... | ... | @@ -61,10 +61,10 @@ |
"@types/sortablejs": "^1.10.6", | ||
"@types/yargs": "^16.0.0", | ||
"@types/zxcvbn": "^4.4.0", | ||
"@typescript-eslint/eslint-plugin": "^4.14.1", | ||
"@typescript-eslint/parser": "^4.14.1", | ||
"@vitejs/plugin-legacy": "^1.2.2", | ||
"@vitejs/plugin-vue": "^1.1.3", | ||
"@typescript-eslint/eslint-plugin": "^4.14.2", | ||
"@typescript-eslint/parser": "^4.14.2", | ||
"@vitejs/plugin-legacy": "^1.2.3", | ||
"@vitejs/plugin-vue": "^1.1.4", | ||
"@vitejs/plugin-vue-jsx": "^1.0.2", | ||
"@vue/compiler-sfc": "^3.0.5", | ||
"@vuedx/typecheck": "^0.6.3", | ||
... | ... | @@ -74,14 +74,14 @@ |
"conventional-changelog-cli": "^2.1.1", | ||
"cross-env": "^7.0.3", | ||
"dotenv": "^8.2.0", | ||
"eslint": "^7.18.0", | ||
"eslint": "^7.19.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-vue": "^7.5.0", | ||
"esno": "^0.4.0", | ||
"esno": "^0.4.3", | ||
"fs-extra": "^9.1.0", | ||
"husky": "^4.3.8", | ||
"less": "^4.1.0", | ||
"less": "^4.1.1", | ||
"lint-staged": "^10.5.3", | ||
"prettier": "^2.2.1", | ||
"rimraf": "^3.0.2", | ||
... | ... | @@ -93,12 +93,13 @@ |
"stylelint-order": "^4.1.0", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.1.3", | ||
"vite": "2.0.0-beta.59", | ||
"vite": "2.0.0-beta.62", | ||
"vite-plugin-html": "^2.0.0-rc.3", | ||
"vite-plugin-mock": "^2.0.0-rc.2", | ||
"vite-plugin-purge-icons": "^0.6.0", | ||
"vite-plugin-pwa": "^0.4.1", | ||
"vite-plugin-pwa": "^0.4.2", | ||
"vite-plugin-style-import": "^0.5.5", | ||
"vite-plugin-theme": "0.3.2", | ||
"vue-eslint-parser": "^7.4.1", | ||
"yargs": "^16.2.0" | ||
}, | ||
... | ... | @@ -118,6 +119,6 @@ |
} | ||
}, | ||
"engines": { | ||
"node": ">=10.16.1" | ||
"node": "^12 || ^14" | ||
} | ||
} |
src/logics/theme/updateBackground.ts
0 → 100644
src/logics/theme/updateColorWeak.ts
0 → 100644
src/logics/theme/updateGrayMode.ts
0 → 100644
src/logics/theme/util.ts
0 → 100644
请
注册
或者
登录
后发表评论