File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -280,18 +280,19 @@ Vue.js的Markdown Editor组件。访问地址:[Vue-SimpleMDE](https://github.c
280280
281281### 如何切换主题色呢? ###
282282
283- 很简单,首先打开 src/main.js 文件,找到引入 element 样式的地方,换成浅绿色主题。
283+ 第一步:打开 src/main.js 文件,找到引入 element 样式的地方,换成浅绿色主题。
284284
285285``` javascript
286286import ' element-ui/lib/theme-default/index.css' ; // 默认主题
287287// import '../static/css/theme-green/index.css'; // 浅绿色主题
288288```
289289
290- 然后打开 src/App.vue 文件,找到 <style > 标签引入样式的地方,切换成浅绿色主题。
290+ 第二步:打开 src/App.vue 文件,找到 <style > 标签引入样式的地方,切换成浅绿色主题。
291291
292292``` javascript
293293@import " ../static/css/main.css" ;
294294@import " ../static/css/color-dark.css" ; /* 深色主题*/
295295/* @import "../static/css/theme-green/color-green.css"; !*浅绿色主题*!*/
296296```
297- 最后,打开 src/components/common/Sidebar.vue 文件,找到 <el-menu > 标签,把 theme="dark" 去掉即可。
297+
298+ 第三步:打开 src/components/common/Sidebar.vue 文件,找到 <el-menu > 标签,把 theme="dark" 去掉即可。
You can’t perform that action at this time.
0 commit comments