From 7ab4757ce7afe51b0ac1b46f1f51c90d9cf4e659 Mon Sep 17 00:00:00 2001 From: JiwenBai Date: Fri, 11 Oct 2019 19:45:19 +0800 Subject: [PATCH 1/2] fixed(table): dark font folor --- package.json | 2 +- styles/themes/dark/components/Table.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 45d8dd411..407d81200 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "naive-ui", - "version": "0.5.5", + "version": "0.5.7", "description": "", "main": "index.js", "scripts": { diff --git a/styles/themes/dark/components/Table.scss b/styles/themes/dark/components/Table.scss index f8f4602e7..4bcad58c8 100644 --- a/styles/themes/dark/components/Table.scss +++ b/styles/themes/dark/components/Table.scss @@ -1,8 +1,8 @@ @mixin setup-dark-table { $--table-header-background-color: #2b3147 !global; $--table-body-background-color: #1f263e !global; - $--table-header-color: $--neutral-3 !global; - $--table-body-color: $--neutral-4 !global; + $--table-header-color: $--text-1 !global; + $--table-body-color: $--text-2 !global; $--table-row-hover: $--table-header-background-color !global; $--table-box-shadow: 0 3px 20px 6px rgba(0, 0, 0, .2) !global; $--table-border: none !global; From e216fc33f96fda8d27d522d693804660df87fd3e Mon Sep 17 00:00:00 2001 From: JiwenBai Date: Fri, 11 Oct 2019 20:04:43 +0800 Subject: [PATCH 2/2] fixed(loading-bar): loading-bar remove --- package.json | 2 +- packages/common/LoadingBar/src/main.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 407d81200..643b34078 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "naive-ui", - "version": "0.5.7", + "version": "0.5.8", "description": "", "main": "index.js", "scripts": { diff --git a/packages/common/LoadingBar/src/main.js b/packages/common/LoadingBar/src/main.js index 35c1a05eb..dd82fd14e 100644 --- a/packages/common/LoadingBar/src/main.js +++ b/packages/common/LoadingBar/src/main.js @@ -6,7 +6,8 @@ export default { loadingBarInstance: null, finishCallback () { if (this.loadingBarInstance) { - document.body.removeChild(this.loadingBarInstance.$el) + // document.body.removeChild(this.loadingBarInstance.$el) + this.loadingBarInstance.$el.remove() this.loadingBarInstance.$destroy() this.loadingBarInstance = null }