Skip to content

Commit 088b6ad

Browse files
committed
release: v2.0.1
2 parents a536629 + b72abc2 commit 088b6ad

7 files changed

Lines changed: 32 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## 更新日志
22

3+
### 2.0.1
4+
5+
*2024-06-19*
6+
7+
#### Fix 🐛
8+
9+
- gulp 版本过高导致字体文件拷贝异常
10+
311
### 2.0.0
412

513
*2024-06-05*

EXAMPLE.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@
6666
}
6767
},
6868
watch: {
69-
dark(value) {
70-
value ? this.open() : this.close()
69+
dark: {
70+
handler(value) {
71+
value ? this.open() : this.close()
72+
},
73+
immediate: true,
7174
},
7275
},
7376
methods: {

docs/App.vue

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,15 @@ export default {
201201
}
202202
},
203203
watch: {
204-
dark(value) {
205-
if (value) {
206-
this.open()
207-
} else {
208-
this.close()
209-
}
204+
dark: {
205+
handler(value) {
206+
if (value) {
207+
this.open()
208+
} else {
209+
this.close()
210+
}
211+
},
212+
immediate: true,
210213
},
211214
},
212215
methods: {

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<script src="https://unpkg.com/vue3-sfc-loader@0.8.4/dist/vue2-sfc-loader.js"></script>
1212
<script src="https://unpkg.com/element-ui@2.15.14/lib/index.js"></script>
1313
<script src="https://unpkg.com/fuse.js@6.6.2/dist/fuse.min.js"></script>
14-
<link rel="stylesheet" href="https://unpkg.com/element-ui@2.15.13/lib/theme-chalk/index.css">
14+
<link rel="stylesheet" href="https://unpkg.com/element-ui@2.15.14/lib/theme-chalk/index.css">
1515
<link rel="stylesheet" href="https://unpkg.com/element-theme-darkplus/lib/index.color.css">
1616

1717
<style>

lib/fonts/element-icons.ttf

-13.8 KB
Binary file not shown.

lib/fonts/element-icons.woff

-22 KB
Binary file not shown.

package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "element-theme-darkplus",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Element component dark theme base on the latest version 2.15.14.",
55
"main": "lib/index.css",
66
"style": "lib/index.css",
@@ -25,22 +25,21 @@
2525
"url": "https://github.com/dongwei1125/theme-dark/issues"
2626
},
2727
"homepage": "https://github.com/dongwei1125/theme-dark#readme",
28-
"dependencies": {
28+
"devDependencies": {
2929
"css-wrap": "^0.1.0",
30-
"gulp": "^5.0.0",
30+
"eslint": "^8.43.0",
31+
"eslint-config-prettier": "^8.8.0",
32+
"eslint-plugin-prettier": "^4.2.1",
33+
"eslint-plugin-vue": "^9.15.0",
34+
"gulp": "4.0.2",
3135
"gulp-autoprefixer": "^8.0.0",
3236
"gulp-clean-css": "^4.3.0",
3337
"gulp-rename": "^2.0.0",
3438
"gulp-sass": "^5.1.0",
3539
"gulp-util": "^3.0.8",
40+
"prettier": "^2.8.8",
3641
"sass": "1.32.13",
3742
"through2": "^4.0.2"
3843
},
39-
"devDependencies": {
40-
"eslint": "^8.43.0",
41-
"eslint-config-prettier": "^8.8.0",
42-
"eslint-plugin-prettier": "^4.2.1",
43-
"eslint-plugin-vue": "^9.15.0",
44-
"prettier": "^2.8.8"
45-
}
44+
"dependencies": {}
4645
}

0 commit comments

Comments
 (0)