diff --git a/package.json b/package.json index 7657e9747..c4729b607 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "dependencies": { "@ant-design/icons-vue": "^6.1.0", - "@vueuse/core": "^8.2.3", + "@vueuse/core": "^8.2.4", "ant-design-vue": "3.1.0-rc.6", "axios": "^0.26.1", "core-js": "^3.21.1", @@ -56,8 +56,8 @@ "@types/lodash-es": "^4.17.6", "@types/node": "^17.0.23", "@types/webpack-env": "^1.16.3", - "@typescript-eslint/eslint-plugin": "^5.17.0", - "@typescript-eslint/parser": "^5.17.0", + "@typescript-eslint/eslint-plugin": "^5.18.0", + "@typescript-eslint/parser": "^5.18.0", "@vue/cli-plugin-babel": "^5.0.4", "@vue/cli-plugin-eslint": "^5.0.4", "@vue/cli-plugin-router": "^5.0.4", @@ -78,7 +78,7 @@ "lint-staged": "^12.3.7", "path-browserify": "^1.0.1", "postcss-html": "^1.3.0", - "prettier": "^2.6.1", + "prettier": "^2.6.2", "regenerator-runtime": "^0.13.9", "speed-measure-webpack-plugin": "^1.5.0", "stylelint": "^14.6.1", diff --git a/src/assets/icons/moon.svg b/src/assets/icons/moon.svg new file mode 100644 index 000000000..42ccf14bb --- /dev/null +++ b/src/assets/icons/moon.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/sun.svg b/src/assets/icons/sun.svg new file mode 100644 index 000000000..b09cb7747 --- /dev/null +++ b/src/assets/icons/sun.svg @@ -0,0 +1 @@ + diff --git a/src/components/basic/button/button.vue b/src/components/basic/button/button.vue index c6969896c..b9981bbdc 100644 --- a/src/components/basic/button/button.vue +++ b/src/components/basic/button/button.vue @@ -5,15 +5,17 @@ :type="buttonType" :class="[`ant-btn-${type}`]" > -