mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-24 16:21:53 +08:00
26 lines
787 B
SCSS
26 lines
787 B
SCSS
|
// 此文件为uView的主题变量,这些变量目前只能通过uni.scss引入才有效,另外由于
|
|||
|
// uni.scss中引入的样式会同时混入到全局样式文件和单独每一个页面的样式中,造成微信程序包太大,
|
|||
|
// 故uni.scss只建议放scss变量名相关样式,其他的样式可以通过main.js或者App.vue引入
|
|||
|
|
|||
|
$u-main-color: #303133;
|
|||
|
$u-content-color: #606266;
|
|||
|
$u-tips-color: #909193;
|
|||
|
$u-light-color: #c0c4cc;
|
|||
|
$u-border-color: #dadbde;
|
|||
|
$u-bg-color: #f3f4f6;
|
|||
|
$u-disabled-color: #c8c9cc;
|
|||
|
|
|||
|
$u-primary: #3c9cff;
|
|||
|
$u-warning: #f9ae3d;
|
|||
|
$u-success: #5ac725;
|
|||
|
$u-error: #f56c6c;
|
|||
|
$u-info: #909399;
|
|||
|
|
|||
|
// scss混入,为了少写几行#ifndef
|
|||
|
@mixin flex($direction: row) {
|
|||
|
/* #ifndef APP-NVUE */
|
|||
|
display: flex;
|
|||
|
/* #endif */
|
|||
|
flex-direction: $direction;
|
|||
|
}
|