@opentiny/vue-theme 3.8.4 → 3.9.0

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 (109) hide show
  1. package/README.md +1 -11
  2. package/action-menu/aurora-theme.js +4 -0
  3. package/alert/aurora-theme.js +0 -1
  4. package/alert/index.css +1 -1
  5. package/alert/smb-theme.js +2 -3
  6. package/anchor/index.css +1 -1
  7. package/breadcrumb/aurora-theme.js +2 -1
  8. package/breadcrumb/index.css +1 -1
  9. package/button/index.css +1 -1
  10. package/button/smb-theme.js +20 -0
  11. package/button-group/aurora-theme.js +13 -0
  12. package/button-group/index.css +1 -1
  13. package/button-group/smb-theme.js +32 -28
  14. package/cascader/index.css +1 -1
  15. package/cascader-node/aurora-theme.js +2 -2
  16. package/cascader-node/index.css +1 -1
  17. package/checkbox/aurora-theme.js +5 -1
  18. package/checkbox/index.css +1 -1
  19. package/checkbox-button/index.css +1 -1
  20. package/checkbox-group/index.css +1 -1
  21. package/collapse-item/aurora-theme.js +4 -1
  22. package/collapse-item/index.css +1 -1
  23. package/config-provider/index.css +0 -0
  24. package/{popeditor → config-provider}/index.js +1 -7
  25. package/container/aurora-theme.js +10 -0
  26. package/container/index.css +1 -1
  27. package/container/index.js +1 -0
  28. package/date-table/index.css +1 -1
  29. package/dialog-box/aurora-theme.js +24 -0
  30. package/dialog-box/index.css +1 -1
  31. package/drawer/index.css +1 -0
  32. package/dropdown/aurora-theme.js +5 -0
  33. package/dropdown/index.css +1 -1
  34. package/dropdown-item/aurora-theme.js +4 -0
  35. package/dropdown-item/index.css +1 -1
  36. package/dropdown-menu/aurora-theme.js +9 -0
  37. package/dropdown-menu/index.css +1 -1
  38. package/fall-menu/aurora-theme.js +3 -0
  39. package/fall-menu/index.css +1 -1
  40. package/form-item/index.css +1 -1
  41. package/grid/aurora-theme.js +5 -1
  42. package/grid/index.css +1 -1
  43. package/grid/smb-theme.js +7 -6
  44. package/guide/aurora-theme.js +40 -0
  45. package/guide/index.css +1 -1
  46. package/index.css +1 -1
  47. package/input/index.css +1 -1
  48. package/ip-address/aurora-theme.js +2 -1
  49. package/layout/aurora-theme.js +14 -0
  50. package/layout/index.css +1 -0
  51. package/link/aurora-theme.js +5 -0
  52. package/link/index.css +1 -1
  53. package/lowcode.css +1 -1
  54. package/milestone/index.css +1 -1
  55. package/month-table/index.css +1 -1
  56. package/numeric/index.css +1 -1
  57. package/numeric/smb-theme.js +5 -2
  58. package/option/aurora-theme.js +4 -0
  59. package/option/index.css +1 -1
  60. package/package.json +8 -1
  61. package/pager/aurora-theme.js +15 -0
  62. package/pager/index.css +1 -1
  63. package/pager/smb-theme.js +3 -2
  64. package/picker/index.css +1 -1
  65. package/pop-upload/index.css +1 -1
  66. package/popconfirm/index.css +1 -0
  67. package/popconfirm/smb-theme.js +7 -0
  68. package/popeditor/index.css +1 -1
  69. package/popover/aurora-theme.js +3 -0
  70. package/popover/index.css +1 -1
  71. package/search/aurora-theme.js +2 -1
  72. package/search/index.css +1 -1
  73. package/select/aurora-theme.js +4 -0
  74. package/select/index.css +1 -1
  75. package/select/smb-theme.js +0 -1
  76. package/select-dropdown/aurora-theme.js +6 -0
  77. package/split/aurora-theme.js +2 -1
  78. package/steps/aurora-theme.js +13 -0
  79. package/steps/index.css +1 -1
  80. package/svgs/arrow-bottom.svg +1 -1
  81. package/svgs/check.svg +7 -15
  82. package/svgs/checked-sur.svg +7 -16
  83. package/svgs/draft.svg +1 -1
  84. package/svgs/error.svg +14 -10
  85. package/svgs/eyeopen.svg +1 -1
  86. package/svgs/halfselect.svg +7 -15
  87. package/svgs/prompt.svg +12 -6
  88. package/svgs/radio.svg +9 -15
  89. package/svgs/radioselected.svg +9 -15
  90. package/svgs/success.svg +13 -10
  91. package/svgs/warning-triangle.svg +13 -8
  92. package/switch/index.css +1 -1
  93. package/tabs/index.css +1 -1
  94. package/text-popup/index.css +1 -1
  95. package/textarea/index.css +1 -1
  96. package/textarea/smb-theme.js +2 -1
  97. package/theme/aurora-theme/component.js +315 -25
  98. package/theme/aurora-theme/index.js +3 -3
  99. package/theme/index.d.ts +15 -0
  100. package/theme/infinity-theme/index.js +2 -2
  101. package/theme/smb-theme/component.js +600 -43
  102. package/theme-tool.d.ts +15 -0
  103. package/theme-tool.js +14 -15
  104. package/theme.config.js +2 -0
  105. package/tooltip/aurora-theme.js +7 -1
  106. package/tree/aurora-theme.js +4 -0
  107. package/tree-menu/aurora-theme.js +3 -0
  108. package/year-table/index.css +1 -1
  109. package/pop-upload/index.js +0 -21
@@ -68,7 +68,7 @@ export const tinyBaseAuroraTheme = {
68
68
  'ti-common-color-success-bg': '#f6ffed', // 成功-背景色
69
69
  'ti-common-color-success-border': '#95de64', // 成功-边框色
70
70
 
71
- 'ti-common-color-error-text': '#333', // 错误-文字色
71
+ 'ti-common-color-error-text': 'var(--ti-base-color-error-3)', // 错误-文字色
72
72
  'ti-common-color-error-bg': '#fff1f0', // 错误-背景色/校验背景色
73
73
  'ti-common-color-error-border': '#ff7875', // 错误-校验边框色
74
74
 
@@ -130,7 +130,7 @@ export const tinyBaseAuroraTheme = {
130
130
  'ti-common-color-text-link-hover': '#40a9ff', // 链接悬浮色
131
131
  'ti-common-color-text-link-darkbg': 'var(--ti-base-color-brand-4)', // 深色背景链接色
132
132
  'ti-common-color-text-link-darkbg-hover': 'var(--ti-base-color-brand-3)', // 深色背景链接悬浮色
133
- 'ti-common-color-text-highlight': '#333', // 文本高亮色
133
+ 'ti-common-color-text-highlight': 'var(--ti-base-color-brand-6)', // 文本高亮色
134
134
  'ti-common-color-text-white': 'var(--ti-base-color-white)', // 深色背景或图标上文字色
135
135
  'ti-common-color-text-gray': 'var(--ti-base-color-white)', // 深色背景下的文本色,用于tip
136
136
  'ti-common-color-text-gray-disabled': 'var(--ti-base-color-common-4)', // 深色背景下的灰色文本禁用色,用于tab页签中
@@ -268,7 +268,7 @@ export const tinyBaseAuroraTheme = {
268
268
  'ti-common-shadow-1-left': '-1px 0px 4px 0 rgba(0, 0, 0, 0.1)', // 阴影-1 左
269
269
  'ti-common-shadow-1-right': '1px 0px 4px 0 rgba(0, 0, 0, 0.1)', // 阴影-1 右
270
270
  'ti-common-shadow-2-up': '0 -2px 8px 0 rgba(0, 0, 0, 0.2)', // 阴影-2 上
271
- 'ti-common-shadow-2-down': '0 0 4px rgba(0, 0, 0, 0.3)', // 阴影-2 下 select 等下拉弹框的阴影
271
+ 'ti-common-shadow-2-down': '0 2px 12px rgba(0, 0, 0, 0.1)', // 阴影-2 下 select 等下拉弹框的阴影
272
272
  'ti-common-shadow-2-left': '-2px 0 8px 0 rgba(238, 10, 10, 0.2)', // 阴影-2 左
273
273
  'ti-common-shadow-2-right': '2px 0 8px 0 rgba(252, 5, 5, 0.2)', // 阴影-2 右
274
274
  'ti-common-shadow-3-up': '0 -4px 16px 0 rgba(0, 0, 0, 0.2)', // 阴影-3 上
@@ -0,0 +1,15 @@
1
+ interface TinyTheme {
2
+ id: string;
3
+ name: string;
4
+ cnName: string;
5
+ data: object;
6
+ }
7
+
8
+ declare var tinySmbTheme: TinyTheme
9
+ declare var tinyDeepTheme: TinyTheme
10
+ declare var tinyGalaxyTheme: TinyTheme
11
+ declare var tinyAuroraTheme: TinyTheme
12
+ declare var tinyInfinityTheme: TinyTheme
13
+ declare var tinyImpressionTheme: TinyTheme
14
+
15
+ export { tinySmbTheme, tinyDeepTheme, tinyGalaxyTheme, tinyInfinityTheme, tinyAuroraTheme, tinyImpressionTheme }
@@ -263,8 +263,8 @@ export const infinityTheme = {
263
263
  'ti-carousel-arrow-bg-color': 'rgba(255,255,255,0.8)',
264
264
  'ti-carousel-arrow-box-shadow': '0 8px 16px 0 rgba(37,43,58,.1)',
265
265
  'ti-carousel-arrow-active-text-color': 'var(--ti-base-color-common-7)',
266
- 'ti-carousel-arrow-width': 'var(--ti-common-size-width-small)',
267
- 'ti-carousel-arrow-height': 'var(--ti-common-size-width-small)',
266
+ 'ti-carousel-arrow-width': 'var(--ti-common-size-height-normal)',
267
+ 'ti-carousel-arrow-height': 'var(--ti-common-size-height-normal)',
268
268
  'ti-carousel-indicators-bg-color': 'none',
269
269
  'ti-carousel-indicator-button-bg-color': '#71757f',
270
270
  'ti-carousel-indicator-button-width': '6px',