Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

62 linhas
1.5 KiB

  1. /* 颜色变量 */
  2. /* 行为相关颜色 */
  3. $uni-color-primary: #007aff;
  4. $uni-color-success: #4cd964;
  5. $uni-color-warning: #f0ad4e;
  6. $uni-color-error: #dd524d;
  7. /* 文字基本颜色 */
  8. $uni-text-color:#333;//基本色
  9. $uni-text-color-inverse:#fff;//反色
  10. $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
  11. $uni-text-color-placeholder: #808080;
  12. $uni-text-color-disable:#c0c0c0;
  13. /* 背景颜色 */
  14. $uni-bg-color:#f3f3f3;
  15. $uni-bg-color-grey:#f8f8f8;
  16. $uni-bg-color-hover:#f1f1f1;//点击状态颜色
  17. $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
  18. /* 边框颜色 */
  19. $uni-border-color:#c8c7cc;
  20. /* 尺寸变量 */
  21. /* 文字尺寸 */
  22. $uni-font-size-sm:24upx;
  23. $uni-font-size-base:28upx;
  24. $uni-font-size-lg:32upx;
  25. /* 图片尺寸 */
  26. $uni-img-size-sm:40upx;
  27. $uni-img-size-base:52upx;
  28. $uni-img-size-lg:80upx;
  29. /* Border Radius */
  30. $uni-border-radius-sm: 4upx;
  31. $uni-border-radius-base: 6upx;
  32. $uni-border-radius-lg: 12upx;
  33. $uni-border-radius-circle: 50%;
  34. /* 水平间距 */
  35. $uni-spacing-row-sm: 10px;
  36. $uni-spacing-row-base: 20upx;
  37. $uni-spacing-row-lg: 30upx;
  38. /* 垂直间距 */
  39. $uni-spacing-col-sm: 8upx;
  40. $uni-spacing-col-base: 16upx;
  41. $uni-spacing-col-lg: 24upx;
  42. /* 透明度 */
  43. $uni-opacity-disabled: 0.3; // 组件禁用态的透明度
  44. /* 文章场景相关 */
  45. $uni-color-title: #2C405A; // 文章标题颜色
  46. $uni-font-size-title:40upx;
  47. $uni-color-subtitle: #555555; // 二级标题颜色
  48. $uni-font-size-subtitle:36upx;
  49. $uni-color-paragraph: #3F536E; // 文章段落颜色
  50. $uni-font-size-paragraph:30upx;