MES手机端
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

262 řádky
6.7 KiB

  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. @import 'tuniao-ui/theme.scss';
  15. /**
  16. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  17. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  18. */
  19. @import 'uview-ui/theme.scss';
  20. /* 行为相关颜色 */
  21. $uni-color-primary: #007aff;
  22. $uni-color-success: #4cd964;
  23. $uni-color-warning: #f0ad4e;
  24. $uni-color-error: #dd524d;
  25. /* 文字基本颜色 */
  26. $uni-text-color:#333;//基本色
  27. $uni-text-color-inverse:#fff;//反色
  28. $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
  29. $uni-text-color-placeholder: #808080;
  30. $uni-text-color-disable:#c0c0c0;
  31. /* 背景颜色 */
  32. $uni-bg-color:#ffffff;
  33. $uni-bg-color-grey:#f8f8f8;
  34. $uni-bg-color-hover:#f1f1f1;//点击状态颜色
  35. $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
  36. /* 边框颜色 */
  37. $uni-border-color:#c8c7cc;
  38. /* 尺寸变量 */
  39. /* 文字尺寸 */
  40. $uni-font-size-sm:12px;
  41. $uni-font-size-base:14px;
  42. $uni-font-size-lg:16px;
  43. /* 图片尺寸 */
  44. $uni-img-size-sm:20px;
  45. $uni-img-size-base:26px;
  46. $uni-img-size-lg:40px;
  47. /* Border Radius */
  48. $uni-border-radius-sm: 2px;
  49. $uni-border-radius-base: 3px;
  50. $uni-border-radius-lg: 6px;
  51. $uni-border-radius-circle: 50%;
  52. /* 水平间距 */
  53. $uni-spacing-row-sm: 5px;
  54. $uni-spacing-row-base: 10px;
  55. $uni-spacing-row-lg: 15px;
  56. /* 垂直间距 */
  57. $uni-spacing-col-sm: 4px;
  58. $uni-spacing-col-base: 8px;
  59. $uni-spacing-col-lg: 12px;
  60. /* 透明度 */
  61. $uni-opacity-disabled: 0.3; // 组件禁用态的透明度
  62. /* 文章场景相关 */
  63. $uni-color-title: #2C405A; // 文章标题颜色
  64. $uni-font-size-title:20px;
  65. $uni-color-subtitle: #555555; // 二级标题颜色
  66. $uni-font-size-subtitle:26px;
  67. $uni-color-paragraph: #3F536E; // 文章段落颜色
  68. $uni-font-size-paragraph:15px;
  69. // 主颜色
  70. $tn-main-color: #01BEFF;
  71. $tn-main-orange: #FBBD12;
  72. $tn-embellished-green: #00FFC6;
  73. $tn-embellished-yellow: #FFF00D;
  74. $tn-auxiliary-powder: #FF71D2;
  75. $tn-auxiliary-blue: #82B2FF;
  76. $tn-bg-color: #FFFFFF;
  77. $tn-bg-gray-color: #F4F4F4;
  78. $tn-space-color: #F8F7F8;
  79. // 边框颜色
  80. $tn-border-solid-color: rgba(0, 0, 0, 0.1);
  81. $tn-border-solids-color: #eee;
  82. $tn-border-dashed-color: #ddd;
  83. // 阴影颜色
  84. $tn-shadow-color: rgba(0, 0, 0, 0.1);
  85. $tn-box-shadow-color: rgba(0, 0, 0, 0.2);
  86. // 字体颜色
  87. $tn-font-color: #080808;
  88. $tn-font-sub-color: #AAAAAA;
  89. $tn-content-color: #838383;
  90. $tn-font-holder-color: #E6E6E6;
  91. $tn-mask-bg-color: rgba(0, 0, 0, 0.4);
  92. $tn-progress-bg-color: #f0f0f0;
  93. $tn-color-red: #E83A30;
  94. $tn-color-red-dark: #BA2E26;
  95. $tn-color-red-disabled: #F39C97;
  96. $tn-color-red-light: #FAD8D6;
  97. $tn-color-purplered: #E72F8C;
  98. $tn-color-purplered-dark: #B9266F;
  99. $tn-color-purplered-disabled: #F397C5;
  100. $tn-color-purplered-light: #FAD5E8;
  101. $tn-color-purple: #892FE8;
  102. $tn-color-purple-dark: #6E26BA;
  103. $tn-color-purple-disabled: #C497F3;
  104. $tn-color-purple-light: #E7D5FA;
  105. $tn-color-bluepurple: #5F4FD9;
  106. $tn-color-bluepurple-dark: #4C3FAE;
  107. $tn-color-bluepurple-disabled: #AFA7EC;
  108. $tn-color-bluepurple-light: #DFDCF7;
  109. $tn-color-aquablue: #3646FF;
  110. $tn-color-aquablue-dark: #2B38CC;
  111. $tn-color-aquablue-disabled: #9AA2FF;
  112. $tn-color-aquablue-light: #D7DAFF;
  113. $tn-color-blue: #3D7EFF;
  114. $tn-color-blue-dark: #3165CC;
  115. $tn-color-blue-disabled: #9EBEFF;
  116. $tn-color-blue-light: #D8E5FF;
  117. $tn-color-indigo: #31C9E8;
  118. $tn-color-indigo-dark: #27A1BA;
  119. $tn-color-indigo-disabled: #98E4F3;
  120. $tn-color-indigo-light: #D6F4FA;
  121. $tn-color-cyan: #2DE8BD;
  122. $tn-color-cyan-dark: #24BA97;
  123. $tn-color-cyan-disabled: #96F3DE;
  124. $tn-color-cyan-light: #D5FAF2;
  125. $tn-color-teal: #24F083;
  126. $tn-color-teal-dark: #1DC069;
  127. $tn-color-teal-disabled: #91F7C1;
  128. $tn-color-teal-light: #D3FCE6;
  129. $tn-color-green: #31E749;
  130. $tn-color-green-dark: #27B93A;
  131. $tn-color-green-disabled: #98F3A4;
  132. $tn-color-green-light: #D6FADB;
  133. $tn-color-yellowgreen: #A4E82F;
  134. $tn-color-yellowgreen-dark: #82BA26;
  135. $tn-color-yellowgreen-disabled: #D1F397;
  136. $tn-color-yellowgreen-light: #EDFAD5;
  137. $tn-color-lime: #D5EB00;
  138. $tn-color-lime-dark: #AABC00;
  139. $tn-color-lime-disabled: #E9F57F;
  140. $tn-color-lime-light: #F7FBCC;
  141. $tn-color-yellow: #FFF420;
  142. $tn-color-yellow-dark: #CCC21A;
  143. $tn-color-yellow-disabled: #FFF88F;
  144. $tn-color-yellow-light: #FFFDD2;
  145. $tn-color-orangeyellow: #FFCA28;
  146. $tn-color-orangeyellow-dark: #CCA220;
  147. $tn-color-orangeyellow-disabled: #FFE493;
  148. $tn-color-orangeyellow-light: #FFF4D4;
  149. $tn-color-orange: #FFA726;
  150. $tn-color-orange-dark: #CC851E;
  151. $tn-color-orange-disabled: #FFD392;
  152. $tn-color-orange-light: #FFEDD4 ;
  153. $tn-color-orangered: #FF7043;
  154. $tn-color-orangered-dark: #CC5A36;
  155. $tn-color-orangered-disabled: #FFB7A1;
  156. $tn-color-orangered-light: #FFE2D9;
  157. $tn-color-brown: #914F2C;
  158. $tn-color-brown-dark: #743F23;
  159. $tn-color-brown-disabled: #C8A795;
  160. $tn-color-brown-light: #E9DCD5;
  161. $tn-color-grey: #78909C;
  162. $tn-color-grey-dark: #5F7E8B;
  163. $tn-color-grey-disabled: #C6D1D8;
  164. $tn-color-grey-light: #E4E9EC;
  165. $tn-color-gray: #AAAAAA;
  166. $tn-color-gray-dark: #838383;
  167. $tn-color-gray-disabled: #E6E6E6;
  168. $tn-color-gray-light: #F8F7F8;
  169. $tn-cool-bg-color-1-start: #F5317F;
  170. $tn-cool-bg-color-1-end: #FF7C6E;
  171. $tn-cool-bg-color-2-start: #CA26FF;
  172. $tn-cool-bg-color-2-end: #F360A7;
  173. $tn-cool-bg-color-3-start: #A26FFC;
  174. $tn-cool-bg-color-3-end: #9D12FF;
  175. $tn-cool-bg-color-4-start: #AA77F0;
  176. $tn-cool-bg-color-4-end: #E871E5;
  177. $tn-cool-bg-color-5-start: #40A0F7;
  178. $tn-cool-bg-color-5-end: #4866E6;
  179. $tn-cool-bg-color-6-start: #209CFF;
  180. $tn-cool-bg-color-6-end: #68E0CF;
  181. $tn-cool-bg-color-7-start: #00C3FF;
  182. $tn-cool-bg-color-7-end: #58FFF5;
  183. $tn-cool-bg-color-8-start: #00d1FF;
  184. $tn-cool-bg-color-8-end: #69FF97;
  185. $tn-cool-bg-color-9-start: #0FD893;
  186. $tn-cool-bg-color-9-end: #29ECBF;
  187. $tn-cool-bg-color-10-start: #0FD850;
  188. $tn-cool-bg-color-10-end: #F9F047;
  189. $tn-cool-bg-color-11-start: #24FE41;
  190. $tn-cool-bg-color-11-end: #F7FD47;
  191. $tn-cool-bg-color-12-start: #D6FF7F;
  192. $tn-cool-bg-color-12-end: #00F657;
  193. $tn-cool-bg-color-13-start: #FA709A;
  194. $tn-cool-bg-color-13-end: #FEE140;
  195. $tn-cool-bg-color-14-start: #FE5E9C;
  196. $tn-cool-bg-color-14-end: #F1AA76;
  197. $tn-cool-bg-color-15-start: #FF3181;
  198. $tn-cool-bg-color-15-end: #FF8331;
  199. $tn-cool-bg-color-16-start: #ED1C24;
  200. $tn-cool-bg-color-16-end: #FECE12;