theme.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // 此文件为uvUI的主题变量,这些变量目前只能通过uni.scss引入才有效,另外由于
  2. // uni.scss中引入的样式会同时混入到全局样式文件和单独每一个页面的样式中,造成微信程序包太大,
  3. // 故uni.scss只建议放scss变量名相关样式,其他的样式可以通过main.js或者App.vue引入
  4. $uv-main-color: #303133;
  5. $uv-content-color: #606266;
  6. $uv-tips-color: #909193;
  7. $uv-light-color: #c0c4cc;
  8. $uv-border-color: #dadbde;
  9. $uv-bg-color: #f3f4f6;
  10. $uv-disabled-color: #c8c9cc;
  11. $uv-primary: #3c9cff;
  12. $uv-primary-dark: #398ade;
  13. $uv-primary-disabled: #9acafc;
  14. $uv-primary-light: #ecf5ff;
  15. $uv-warning: #f9ae3d;
  16. $uv-warning-dark: #f1a532;
  17. $uv-warning-disabled: #f9d39b;
  18. $uv-warning-light: #fdf6ec;
  19. $uv-success: #5ac725;
  20. $uv-success-dark: #53c21d;
  21. $uv-success-disabled: #a9e08f;
  22. $uv-success-light: #f5fff0;
  23. $uv-error: #f56c6c;
  24. $uv-error-dark: #e45656;
  25. $uv-error-disabled: #f7b2b2;
  26. $uv-error-light: #fef0f0;
  27. $uv-info: #909399;
  28. $uv-info-dark: #767a82;
  29. $uv-info-disabled: #c4c6c9;
  30. $uv-info-light: #f4f4f5;
  31. @mixin flex($direction: row) {
  32. /* #ifndef APP-NVUE */
  33. display: flex;
  34. /* #endif */
  35. flex-direction: $direction;
  36. }