uni-events-helper-wx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
812 B

3 years ago
  1. // 此文件为uView的主题变量,这些变量目前只能通过uni.scss引入才有效,另外由于
  2. // uni.scss中引入的样式会同时混入到全局样式文件和单独每一个页面的样式中,造成微信程序包太大,
  3. // 故uni.scss只建议放scss变量名相关样式,其他的样式可以通过main.js或者App.vue引入
  4. $u-main-color: #303133;
  5. $u-content-color: #606266;
  6. $u-tips-color: #909193;
  7. $u-light-color: #c0c4cc;
  8. $u-border-color: #dadbde;
  9. $u-bg-color: #f3f4f6;
  10. $u-disabled-color: #c8c9cc;
  11. $u-primary: #3c9cff;
  12. $u-warning: #f9ae3d;
  13. $u-success: #5ac725;
  14. $u-error: #f56c6c;
  15. $u-info: #909399;
  16. // scss混入,为了少写几行#ifndef
  17. @mixin flex($direction: row) {
  18. /* #ifndef APP-NVUE */
  19. display: flex;
  20. /* #endif */
  21. flex-direction: $direction;
  22. }