@chaoswise/ui 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/config/babel/antdComs-nouse.js +51 -0
  2. package/config/babel/formily.js +22 -0
  3. package/config/babel/index.js +9 -0
  4. package/config/city/citys.js +1964 -0
  5. package/config/swc.js +5 -0
  6. package/config/theme/CWTheme.js +427 -0
  7. package/config/theme/chart.dark.js +394 -0
  8. package/config/theme/chart.light.js +3 -0
  9. package/config/theme/common.less +161 -0
  10. package/config/theme/dark.js +784 -0
  11. package/config/theme/dark.less +80 -0
  12. package/config/theme/default.js +717 -0
  13. package/config/theme/default.less +144 -0
  14. package/config/theme/style/color/bezierEasing.less +110 -0
  15. package/config/theme/style/color/colorPalette.less +85 -0
  16. package/config/theme/style/color/colors.less +162 -0
  17. package/config/theme/style/color/tinyColor.less +1184 -0
  18. package/config/theme/style/compact.less +4 -0
  19. package/config/theme/style/components.less +65 -0
  20. package/config/theme/style/core/base.less +10 -0
  21. package/config/theme/style/core/global.less +491 -0
  22. package/config/theme/style/core/iconfont.less +22 -0
  23. package/config/theme/style/core/index.less +5 -0
  24. package/config/theme/style/core/motion/fade.less +34 -0
  25. package/config/theme/style/core/motion/move.less +129 -0
  26. package/config/theme/style/core/motion/other.less +51 -0
  27. package/config/theme/style/core/motion/slide.less +129 -0
  28. package/config/theme/style/core/motion/zoom.less +179 -0
  29. package/config/theme/style/core/motion.less +22 -0
  30. package/config/theme/style/css.js +3 -0
  31. package/config/theme/style/dark.less +4 -0
  32. package/config/theme/style/default.css +1784 -0
  33. package/config/theme/style/default.less +4 -0
  34. package/config/theme/style/index-pure.less +2 -0
  35. package/config/theme/style/index.css +1784 -0
  36. package/config/theme/style/index.d.ts +1 -0
  37. package/config/theme/style/index.js +3 -0
  38. package/config/theme/style/index.less +3 -0
  39. package/config/theme/style/mixins/box.less +7 -0
  40. package/config/theme/style/mixins/clearfix.less +16 -0
  41. package/config/theme/style/mixins/compatibility.less +13 -0
  42. package/config/theme/style/mixins/customize.less +181 -0
  43. package/config/theme/style/mixins/iconfont.less +28 -0
  44. package/config/theme/style/mixins/index.less +14 -0
  45. package/config/theme/style/mixins/modal-mask.less +30 -0
  46. package/config/theme/style/mixins/motion.less +33 -0
  47. package/config/theme/style/mixins/operation-unit.less +16 -0
  48. package/config/theme/style/mixins/reset.less +11 -0
  49. package/config/theme/style/mixins/rounded-arrow.less +44 -0
  50. package/config/theme/style/mixins/size.less +10 -0
  51. package/config/theme/style/mixins/typography.less +58 -0
  52. package/config/theme/style/themes/compact.less +295 -0
  53. package/config/theme/style/themes/dark.less +457 -0
  54. package/config/theme/style/themes/default.less +1080 -0
  55. package/config/theme/style/themes/index.less +7 -0
  56. package/config/theme/style/themes/variable.less +1135 -0
  57. package/config/theme/style/variable.less +4 -0
  58. package/package.json +1 -1
@@ -0,0 +1,80 @@
1
+ @import './default.less';
2
+ @import './style/themes/dark.less';
3
+ @import './common.less';
4
+
5
+ @table-header-color: @heading-color;
6
+ // menu dark theme
7
+ @menu-dark-color: @text-color-secondary-dark;
8
+ @menu-dark-danger-color: @error-color;
9
+ @menu-dark-bg: @layout-header-background;
10
+ @menu-dark-arrow-color: #fff;
11
+ @menu-dark-inline-submenu-bg: #000c17;
12
+ @menu-dark-highlight-color: #fff;
13
+ @menu-dark-item-active-bg: @primary-color;
14
+ @menu-dark-item-active-danger-bg: @error-color;
15
+ @menu-dark-selected-item-icon-color: @white;
16
+ @menu-dark-selected-item-text-color: @white;
17
+ @menu-dark-item-hover-bg: transparent;
18
+ @menu-dark-item-hover-color: #fff;
19
+
20
+
21
+ // 根据客户自定义
22
+ @light: '#fff';
23
+ @primary-color: #2194ff; // 主色
24
+ @success-color: #4fe063; // 成功色
25
+ @warning-color: #f28941; // 警告色
26
+ @error-color: #f44a4a; // 错误色
27
+ @sider-background: @background-color-base;
28
+
29
+ @text-color: #cccccc;
30
+ @text-color-show: #666666; // 主文本色 鉴于主和次文本之间
31
+ @disabled-color: #666666;
32
+ @text-color-secondary: #aaaaaa;
33
+ @heading-color: #ffffff;
34
+
35
+ @font-size-base: 12px;
36
+
37
+ @btn-disable-bg: #333;
38
+
39
+ @menu-dark-bg: #333;
40
+ @menu-dark-submenu-bg: #333;
41
+ @menu-collapsed-btn-bg: #333;
42
+ @menu-highlight-color: #fff;
43
+ @menu-dark-highlight-color: #fff;
44
+
45
+ // @layout-body-background: #333;
46
+ @sider-collopse-btn-bg: #fff; // 左右布局收起按钮背景色
47
+ @sider-collopse-btn-opacity: 0.2; // 左右布局收起按钮透明度
48
+ @top-nav-menu-bg: #333;
49
+ // collapse
50
+ @collapse-header-hover-bg: #333;
51
+
52
+ // Steps
53
+ @process-tail-color: @border-color-split; // 覆盖ux2.0写死样式,用antd默认样式
54
+ @finish-tail-color: @primary-color; // 覆盖ux2.0写死样式,用antd默认样式
55
+
56
+
57
+ // CWSelect
58
+ @select-selected-enable-bg:@primary-color;
59
+ @select-selected-enable-color: #fff;
60
+
61
+ // tag
62
+ @tag-border-color: @border-color-base;
63
+
64
+ // switch
65
+ @switch-disabled-bg: #434343;
66
+ @switch-unchekcked-hover-bg: rgba(204,204,204,0.6);
67
+
68
+ // 滚动条
69
+ @scroll-bar-background-color: #282828;
70
+ @scroll-bar-thumb-background-color: #1a1a1a;
71
+
72
+ // radio
73
+ @radio-dot-disabled-bg: rgba(255,255,255,0.2);
74
+ @radio-disabled-checked-bg: @btn-disable-bg;
75
+ // checkbox
76
+ @checkbox-color-bg: @component-background;
77
+ @checkbox-color-border: @primary-color;
78
+ @checkbox-check_-color: @primary-color;
79
+
80
+ @advanced-filter-expand-icon-bg: #333; // 高级搜索展开区域展开icon背景色