guangchao.xu | 070005a | 2020-12-07 09:56:40 +0800 | [diff] [blame] | 1 | // 此文件为uView的主题变量,这些变量目前只能通过uni.scss引入才有效,另外由于 |
| 2 | // uni.scss中引入的样式会同时混入到全局样式文件和单独每一个页面的样式中,造成微信程序包太大, |
| 3 | // 故uni.scss只建议放scss变量名相关样式,其他的样式可以通过main.js或者App.vue引入 |
| 4 | |
| 5 | $u-main-color: #303133; |
| 6 | $u-content-color: #606266; |
| 7 | $u-tips-color: #909399; |
| 8 | $u-light-color: #c0c4cc; |
| 9 | $u-border-color: #e4e7ed; |
| 10 | $u-bg-color: #f3f4f6; |
| 11 | |
| 12 | $u-type-primary: #2979ff; |
| 13 | $u-type-primary-light: #ecf5ff; |
| 14 | $u-type-primary-disabled: #a0cfff; |
| 15 | $u-type-primary-dark: #2b85e4; |
| 16 | |
| 17 | $u-type-warning: #ff9900; |
| 18 | $u-type-warning-disabled: #fcbd71; |
| 19 | $u-type-warning-dark: #f29100; |
| 20 | $u-type-warning-light: #fdf6ec; |
| 21 | |
| 22 | $u-type-success: #19be6b; |
| 23 | $u-type-success-disabled: #71d5a1; |
| 24 | $u-type-success-dark: #18b566; |
| 25 | $u-type-success-light: #dbf1e1; |
| 26 | |
| 27 | $u-type-error: #fa3534; |
| 28 | $u-type-error-disabled: #fab6b6; |
| 29 | $u-type-error-dark: #dd6161; |
| 30 | $u-type-error-light: #fef0f0; |
| 31 | |
| 32 | $u-type-info: #909399; |
| 33 | $u-type-info-disabled: #c8c9cc; |
| 34 | $u-type-info-dark: #82848a; |
| 35 | $u-type-info-light: #f4f4f5; |
| 36 | |
| 37 | $u-form-item-height: 70rpx; |
| 38 | $u-form-item-border-color: #dcdfe6; |