diff --git a/README.md b/README.md index 4063f7d..3832eb7 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章 - [x] 支持自定义 CSS 样式并实时渲染 - [x] 支持一键恢复至默认内容及样式 - [x] 支持打开或关闭引用链接的选项 +- [x] 支持夜间模式展示 ![select-and-change-color-theme](https://imgkr.cn-bj.ufileos.com/32c05c23-6309-491f-bd0d-f22a62c944b4.gif) diff --git a/package.json b/package.json index c1961f0..464b9bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-md", - "version": "0.1.0", + "version": "1.3.0", "private": true, "homepage": "https://doocs.gitee.io/md", "scripts": { diff --git a/public/assets/css/loading.css b/public/assets/css/loading.css index f91fef5..aea6b19 100644 --- a/public/assets/css/loading.css +++ b/public/assets/css/loading.css @@ -8,6 +8,10 @@ background-color: #f2f2f2; } +.loading_night { + background-color: #303133; +} + .loading-wrapper { position: fixed; top: 50%; diff --git a/src/App.vue b/src/App.vue index 50a4640..4efd1a1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,7 +5,7 @@