平安校园
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

variables.scss 1.7 KiB

pirms 2 mēnešiem
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. @import './styles/setting/_variables.scss';
  2. // 间距基础倍数
  3. $uni-space-root: 2;
  4. // 边框半径默认值
  5. $uni-radius-root:5px;
  6. // 主色
  7. $uni-primary: #2979ff;
  8. $uni-primary-disable:mix(#fff,$uni-primary,50%);
  9. $uni-primary-light: mix(#fff,$uni-primary,80%);
  10. // 辅助色
  11. // 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。
  12. $uni-success: #18bc37;
  13. $uni-success-disable:mix(#fff,$uni-success,50%);
  14. $uni-success-light: mix(#fff,$uni-success,80%);
  15. $uni-warning: #f3a73f;
  16. $uni-warning-disable:mix(#fff,$uni-warning,50%);
  17. $uni-warning-light: mix(#fff,$uni-warning,80%);
  18. $uni-error: #e43d33;
  19. $uni-error-disable:mix(#fff,$uni-error,50%);
  20. $uni-error-light: mix(#fff,$uni-error,80%);
  21. $uni-info: #8f939c;
  22. $uni-info-disable:mix(#fff,$uni-info,50%);
  23. $uni-info-light: mix(#fff,$uni-info,80%);
  24. // 中性色
  25. // 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。
  26. $uni-main-color: #3a3a3a; // 主要文字
  27. $uni-base-color: #6a6a6a; // 常规文字
  28. $uni-secondary-color: #909399; // 次要文字
  29. $uni-extra-color: #c7c7c7; // 辅助说明
  30. // 边框颜色
  31. $uni-border-1: #F0F0F0;
  32. $uni-border-2: #EDEDED;
  33. $uni-border-3: #DCDCDC;
  34. $uni-border-4: #B9B9B9;
  35. // 常规色
  36. $uni-black: #000000;
  37. $uni-white: #ffffff;
  38. $uni-transparent: rgba($color: #000000, $alpha: 0);
  39. // 背景色
  40. $uni-bg-color: #f7f7f7;
  41. /* 水平间距 */
  42. $uni-spacing-sm: 8px;
  43. $uni-spacing-base: 15px;
  44. $uni-spacing-lg: 30px;
  45. // 阴影
  46. $uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5);
  47. $uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2);
  48. $uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5);
  49. // 蒙版
  50. $uni-mask: rgba($color: #000000, $alpha: 0.4);