新增黑色主题

dev
smallchill 6 years ago
parent eacc01337f
commit e02f0cab55
  1. 4
      src/page/index/top/top-theme.vue
  2. 57
      src/styles/theme/dark.scss
  3. 3
      src/styles/theme/index.scss

@ -42,6 +42,10 @@ export default {
name: "白色主题",
value: "theme-white"
},
{
name: "黑色主题",
value: "theme-dark"
},
{
name: "炫彩主题",
value: "theme-star"

@ -0,0 +1,57 @@
.theme-dark {
.avue-logo{
color: #fff;
background-color: #2c3643;
box-shadow: none;
.avue-logo_title{
font-size: 20px;
font-weight: 400;
}
}
.avue-top{
background-color: #2c3643;
box-shadow: none;
color:#ccc;
i, span{
color:#ccc;
}
}
.avue-main{
padding: 0 5px;
}
.avue-tags{
padding-left: 0;
background-color: #2c3643;
border-color: transparent;
.el-tabs__item{
margin: 0 !important;
background-color: #262d37;
&.is-active{
color:#262d37 !important;
background-color:#fff !important;
border-color: #262d37 !important;
}
}
}
.avue-main{
background-color: #2c3643;
}
.avue-sidebar{
background-color: #2c3643;
box-shadow: none;
.el-menu-item,.el-submenu__title{
i,span{
color:#ccc;
}
&:hover,&.is-active{
background: #262d37;
i,span{
color: #fff;
}
&:before{
background-color: #000;
}
}
}
}
}

@ -1,6 +1,9 @@
// white
@import './white.scss';
//dark
@import './dark.scss';
// star
@import './star.scss';

Loading…
Cancel
Save