@sdata/web-vue 4.7.1 → 5.0.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 (219) hide show
  1. package/dist/sd.css +4004 -3955
  2. package/dist/sd.min.css +13 -13
  3. package/es/_components/input-label/style/index.css +47 -47
  4. package/es/_components/select-view/style/index.css +256 -256
  5. package/es/alert/style/index.css +48 -48
  6. package/es/alert/style/token.scss +257 -0
  7. package/es/anchor/style/index.css +18 -18
  8. package/es/anchor/style/token.scss +74 -0
  9. package/es/auto-complete/style/index.css +18 -18
  10. package/es/auto-complete/style/token.scss +94 -0
  11. package/es/avatar/style/index.css +31 -31
  12. package/es/avatar/style/token.scss +118 -0
  13. package/es/back-top/style/index.css +11 -11
  14. package/es/back-top/style/token.scss +60 -0
  15. package/es/badge/style/index.css +35 -35
  16. package/es/badge/style/token.scss +148 -0
  17. package/es/basic-crud-table/style/index.css +4 -4
  18. package/es/basic-crud-table/style/token.scss +20 -0
  19. package/es/bloom-menu/style/index.css +33 -34
  20. package/es/bloom-menu/style/index.scss +5 -5
  21. package/es/bloom-menu/style/token.scss +99 -0
  22. package/es/border-beam/style/token.scss +28 -0
  23. package/es/breadcrumb/style/index.css +17 -17
  24. package/es/breadcrumb/style/token.scss +97 -0
  25. package/es/button/style/index.css +379 -379
  26. package/es/button/style/index.scss +3 -3
  27. package/es/button/style/token.scss +1604 -0
  28. package/es/card/style/index.css +36 -36
  29. package/es/card/style/token.scss +162 -0
  30. package/es/carousel/style/index.css +41 -41
  31. package/es/carousel/style/token.scss +101 -0
  32. package/es/cascader/style/index.css +58 -58
  33. package/es/cascader/style/token.scss +89 -0
  34. package/es/checkbox/style/index.css +28 -28
  35. package/es/checkbox/style/token.scss +134 -0
  36. package/es/collapse/style/index.css +24 -24
  37. package/es/collapse/style/token.scss +136 -0
  38. package/es/color-picker/style/index.css +50 -50
  39. package/es/color-picker/style/token.scss +200 -0
  40. package/es/comment/style/index.css +15 -15
  41. package/es/comment/style/token.scss +83 -0
  42. package/es/config-provider/algorithms.d.ts +11 -0
  43. package/es/config-provider/algorithms.js +53 -0
  44. package/es/config-provider/global-theme.js +7 -4
  45. package/es/config-provider/theme-config.d.ts +11 -0
  46. package/es/config-provider/theme-config.js +114 -0
  47. package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +46 -11
  48. package/es/config-provider/theme.d.ts +4 -1
  49. package/es/config-provider/theme.js +6 -5
  50. package/es/config-provider/token-key.d.ts +1 -0
  51. package/es/config-provider/token-key.js +6 -0
  52. package/es/copy/style/index.css +1 -1
  53. package/es/copy/style/token.scss +9 -0
  54. package/es/cropper/style/index.css +7 -7
  55. package/es/cropper/style/token.scss +24 -0
  56. package/es/date-picker/style/index.css +73 -73
  57. package/es/date-picker/style/token.scss +229 -0
  58. package/es/descriptions/style/index.css +45 -45
  59. package/es/descriptions/style/token.scss +191 -0
  60. package/es/divider/style/index.css +11 -11
  61. package/es/divider/style/token.scss +60 -0
  62. package/es/drawer/style/index.css +13 -13
  63. package/es/drawer/style/token.scss +68 -0
  64. package/es/dropdown/style/index.css +24 -23
  65. package/es/dropdown/style/index.scss +4 -2
  66. package/es/dropdown/style/token.scss +123 -0
  67. package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
  68. package/es/ellipsis/interface.d.ts +1 -0
  69. package/es/ellipsis/style/index.css +2 -2
  70. package/es/ellipsis/style/token.scss +5 -0
  71. package/es/empty/style/index.css +7 -7
  72. package/es/empty/style/token.scss +35 -0
  73. package/es/file-previewer/style/index.css +44 -44
  74. package/es/file-previewer/style/token.scss +198 -0
  75. package/es/form/style/index.css +113 -113
  76. package/es/form/style/token.scss +340 -0
  77. package/es/image/style/index.css +83 -83
  78. package/es/image/style/token.scss +451 -0
  79. package/es/index.css +4004 -3955
  80. package/es/index.d.ts +3 -0
  81. package/es/index.js +4 -1
  82. package/es/input/style/index.css +104 -104
  83. package/es/input/style/input.scss +2 -8
  84. package/es/input/style/size.scss +4 -4
  85. package/es/input/style/token.scss +327 -0
  86. package/es/input-mask/style/index.css +1 -1
  87. package/es/input-mask/style/token.scss +8 -0
  88. package/es/input-number/style/index.css +19 -19
  89. package/es/input-number/style/token.scss +82 -0
  90. package/es/input-tag/style/index.css +209 -209
  91. package/es/input-tag/style/token.scss +226 -0
  92. package/es/json-form/style/index.css +2 -2
  93. package/es/json-form/style/token.scss +21 -0
  94. package/es/kv-list/style/index.css +13 -13
  95. package/es/kv-list/style/token.scss +29 -0
  96. package/es/layout/style/index.css +38 -38
  97. package/es/layout/style/token.scss +100 -0
  98. package/es/link/style/index.css +28 -28
  99. package/es/link/style/token.scss +117 -0
  100. package/es/list/style/index.css +27 -27
  101. package/es/list/style/token.scss +178 -0
  102. package/es/mention/style/token.scss +22 -0
  103. package/es/menu/style/index.css +153 -120
  104. package/es/menu/style/index.scss +12 -4
  105. package/es/menu/style/token.scss +390 -0
  106. package/es/message/style/index.css +33 -33
  107. package/es/message/style/token.scss +218 -0
  108. package/es/modal/style/index.css +21 -21
  109. package/es/modal/style/token.scss +115 -0
  110. package/es/model-selector/style/index.css +1 -1
  111. package/es/notification/style/index.css +44 -44
  112. package/es/notification/style/token.scss +241 -0
  113. package/es/number-flow/style/index.css +5 -5
  114. package/es/number-flow/style/token.scss +19 -0
  115. package/es/page-header/style/index.css +25 -25
  116. package/es/page-header/style/token.scss +139 -0
  117. package/es/pagination/style/index.css +85 -85
  118. package/es/pagination/style/token.scss +303 -0
  119. package/es/panel-group/style/index.css +7 -7
  120. package/es/panel-group/style/token.scss +28 -0
  121. package/es/popconfirm/style/index.css +18 -18
  122. package/es/popconfirm/style/token.scss +83 -0
  123. package/es/popover/style/index.css +12 -12
  124. package/es/popover/style/token.scss +58 -0
  125. package/es/progress/style/index.css +55 -55
  126. package/es/progress/style/token.scss +253 -0
  127. package/es/qr-code/style/index.css +18 -21
  128. package/es/qr-code/style/index.scss +4 -6
  129. package/es/qr-code/style/token.scss +59 -0
  130. package/es/radio/style/index.css +45 -44
  131. package/es/radio/style/index.scss +1 -0
  132. package/es/radio/style/token.scss +185 -0
  133. package/es/rate/style/index.css +8 -8
  134. package/es/rate/style/token.scss +19 -0
  135. package/es/regex-vis/style/index.css +51 -51
  136. package/es/regex-vis/style/token.scss +170 -0
  137. package/es/result/style/index.css +26 -26
  138. package/es/result/style/token.scss +139 -0
  139. package/es/rich-text-editor/style/index.css +31 -31
  140. package/es/rich-text-editor/style/token.scss +120 -0
  141. package/es/scrollbar/style/index.css +14 -14
  142. package/es/scrollbar/style/token.scss +33 -0
  143. package/es/secret/style/index.css +6 -6
  144. package/es/secret/style/token.scss +30 -0
  145. package/es/select/style/index.css +27 -27
  146. package/es/select/style/token.scss +151 -0
  147. package/es/selectable-card/style/index.css +53 -51
  148. package/es/selectable-card/style/index.scss +6 -2
  149. package/es/selectable-card/style/token.scss +60 -0
  150. package/es/sender/style/index.css +54 -54
  151. package/es/sender/style/token.scss +155 -0
  152. package/es/skeleton/style/index.css +12 -12
  153. package/es/skeleton/style/token.scss +60 -0
  154. package/es/slider/style/index.css +34 -34
  155. package/es/slider/style/token.scss +144 -0
  156. package/es/spin/style/index.css +11 -11
  157. package/es/spin/style/token.scss +60 -0
  158. package/es/split/style/index.css +2 -2
  159. package/es/split/style/token.scss +18 -0
  160. package/es/statistic/style/index.css +13 -13
  161. package/es/statistic/style/token.scss +73 -0
  162. package/es/steps/style/index.css +98 -98
  163. package/es/steps/style/token.scss +464 -0
  164. package/es/style/color/css-variables.scss +382 -381
  165. package/es/style/theme/css-variables.scss +329 -135
  166. package/es/style/theme/global.scss +5 -5
  167. package/es/style/theme/index.scss +1 -1
  168. package/es/style/theme/runtime.scss +29 -0
  169. package/es/switch/style/index.css +37 -37
  170. package/es/switch/style/token.scss +135 -0
  171. package/es/table/style/index.css +127 -127
  172. package/es/table/style/token.scss +425 -0
  173. package/es/tabs/style/index.css +196 -190
  174. package/es/tabs/style/index.scss +27 -17
  175. package/es/tabs/style/token.scss +534 -0
  176. package/es/tag/index.d.ts +13 -0
  177. package/es/tag/interface.d.ts +1 -0
  178. package/es/tag/style/index.css +159 -159
  179. package/es/tag/style/token.scss +513 -0
  180. package/es/tag/tag.vue.d.ts +13 -3
  181. package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +35 -8
  182. package/es/tag-group/style/index.css +3 -3
  183. package/es/tag-group/style/token.scss +9 -0
  184. package/es/textarea/style/index.css +40 -40
  185. package/es/time-picker/style/index.css +12 -12
  186. package/es/time-picker/style/token.scss +50 -0
  187. package/es/timeline/style/index.css +22 -22
  188. package/es/timeline/style/token.scss +75 -0
  189. package/es/toolbar/style/index.css +6 -6
  190. package/es/toolbar/style/token.scss +45 -0
  191. package/es/tooltip/style/index.css +8 -8
  192. package/es/tooltip/style/token.scss +46 -0
  193. package/es/tour/style/index.css +28 -28
  194. package/es/tour/style/token.scss +65 -0
  195. package/es/transfer/style/index.css +46 -45
  196. package/es/transfer/style/index.scss +4 -1
  197. package/es/transfer/style/token.scss +199 -0
  198. package/es/tree/style/index.css +43 -36
  199. package/es/tree/style/index.scss +10 -0
  200. package/es/tree/style/token.scss +163 -0
  201. package/es/tree-select/style/index.css +9 -9
  202. package/es/tree-select/style/token.scss +21 -0
  203. package/es/trigger/style/index.css +7 -7
  204. package/es/trigger/style/token.scss +19 -0
  205. package/es/typography/style/index.css +40 -40
  206. package/es/typography/style/token.scss +220 -0
  207. package/es/upload/index.d.ts +3 -0
  208. package/es/upload/style/index.css +95 -95
  209. package/es/upload/style/token.scss +470 -0
  210. package/es/upload/upload.vue.d.ts +2 -0
  211. package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +109 -16
  212. package/json/vetur-attributes.json +7 -0
  213. package/json/vetur-tags.json +4 -1
  214. package/json/web-types.json +18 -2
  215. package/package.json +7 -2
  216. package/es/style/color/palette-dark.d.ts +0 -4
  217. package/es/style/color/palette-dark.js +0 -10
  218. package/es/style/color/palette.d.ts +0 -4
  219. package/es/style/color/palette.js +0 -10
@@ -18,69 +18,69 @@
18
18
  .sd-result {
19
19
  box-sizing: border-box;
20
20
  width: 100%;
21
- padding: 32px 32px 24px;
21
+ padding: var(--component-result-result-padding-top-icon, var(--component-result-padding-top-icon, var(--spacing-10, 32px))) var(--component-result-result-padding-horizontal, var(--component-result-padding-horizontal, var(--spacing-10, 32px))) var(--component-result-result-padding-bottom, var(--component-result-padding-bottom, var(--spacing-9, 24px)));
22
22
  }
23
23
  .sd-result-icon {
24
- margin-bottom: 16px;
25
- font-size: 20px;
24
+ margin-bottom: var(--component-result-result-margin-icon-bottom, var(--component-result-margin-icon-bottom, var(--spacing-7, 16px)));
25
+ font-size: var(--component-result-result-size-icon, var(--component-result-size-icon, var(--size-5, 20px)));
26
26
  text-align: center;
27
27
  }
28
28
  .sd-result-icon-tip {
29
29
  display: flex;
30
30
  align-items: center;
31
31
  justify-content: center;
32
- width: 45px;
33
- height: 45px;
32
+ width: var(--component-result-result-size-icon-wrapper, var(--component-result-size-icon-wrapper, 45px));
33
+ height: var(--component-result-result-size-icon-wrapper, var(--component-result-size-icon-wrapper, 45px));
34
34
  margin: 0 auto;
35
35
  border-radius: 50%;
36
36
  }
37
37
  .sd-result-icon-custom .sd-result-icon-tip {
38
38
  width: unset;
39
39
  height: unset;
40
- color: inherit;
41
- font-size: 45px;
40
+ color: var(--component-result-result-color-icon-default, var(--component-result-color-icon-default, inherit));
41
+ font-size: var(--component-result-result-size-icon-custom, var(--component-result-size-icon-custom, 45px));
42
42
  }
43
43
  .sd-result-icon-success .sd-result-icon-tip {
44
- color: rgb(var(--sd-success-6));
45
- background-color: var(--sd-color-success-light-1);
44
+ color: var(--component-result-result-color-icon-success, var(--component-result-color-icon-success, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
45
+ background-color: var(--component-result-result-color-icon-bg-success, var(--component-result-color-icon-bg-success, var(--sd-color-success-light-1)));
46
46
  }
47
47
  .sd-result-icon-error .sd-result-icon-tip {
48
- color: rgb(var(--sd-danger-6));
49
- background-color: var(--sd-color-danger-light-1);
48
+ color: var(--component-result-result-color-icon-error, var(--component-result-color-icon-error, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
49
+ background-color: var(--component-result-result-color-icon-bg-error, var(--component-result-color-icon-bg-error, var(--sd-color-danger-light-1)));
50
50
  }
51
51
  .sd-result-icon-info .sd-result-icon-tip {
52
- color: rgb(var(--sd-primary-6));
53
- background-color: var(--sd-color-primary-light-1);
52
+ color: var(--component-result-result-color-icon-info, var(--component-result-color-icon-info, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
53
+ background-color: var(--component-result-result-color-icon-bg-info, var(--component-result-color-icon-bg-info, var(--sd-color-primary-light-1)));
54
54
  }
55
55
  .sd-result-icon-warning .sd-result-icon-tip {
56
- color: rgb(var(--sd-warning-6));
57
- background-color: var(--sd-color-warning-light-1);
56
+ color: var(--component-result-result-color-icon-warning, var(--component-result-color-icon-warning, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))));
57
+ background-color: var(--component-result-result-color-icon-bg-warning, var(--component-result-color-icon-bg-warning, var(--sd-color-warning-light-1)));
58
58
  }
59
59
  .sd-result-icon-404, .sd-result-icon-403, .sd-result-icon-500 {
60
- padding-top: 24px;
60
+ padding-top: var(--component-result-result-padding-top, var(--component-result-padding-top, var(--spacing-9, 24px)));
61
61
  }
62
62
  .sd-result-icon-404 .sd-result-icon-tip, .sd-result-icon-403 .sd-result-icon-tip, .sd-result-icon-500 .sd-result-icon-tip {
63
- width: 92px;
64
- height: 92px;
65
- line-height: 92px;
63
+ width: var(--component-result-result-size-image-width, var(--component-result-size-image-width, var(--size-23, 92px)));
64
+ height: var(--component-result-result-size-image-width, var(--component-result-size-image-width, var(--size-23, 92px)));
65
+ line-height: var(--component-result-result-size-image-width, var(--component-result-size-image-width, var(--size-23, 92px)));
66
66
  }
67
67
  .sd-result-title {
68
- color: var(--sd-color-text-1);
69
- font-weight: 500;
70
- font-size: 14px;
68
+ color: var(--component-result-result-color-title-text, var(--component-result-color-title-text, var(--sd-color-text-1)));
69
+ font-weight: var(--component-result-result-font-title-weight, var(--component-result-font-title-weight, var(--font-weight-500, 500)));
70
+ font-size: var(--component-result-result-font-title-size, var(--component-result-font-title-size, var(--font-size-body-3, 14px)));
71
71
  line-height: 1.5715;
72
72
  text-align: center;
73
73
  }
74
74
  .sd-result-subtitle {
75
- color: var(--sd-color-text-2);
76
- font-size: 14px;
75
+ color: var(--component-result-result-color-subtitle-text, var(--component-result-color-subtitle-text, var(--sd-color-text-2)));
76
+ font-size: var(--component-result-result-font-subtitle-size, var(--component-result-font-subtitle-size, var(--font-size-body-3, 14px)));
77
77
  line-height: 1.5715;
78
78
  text-align: center;
79
79
  }
80
80
  .sd-result-extra {
81
- margin-top: 20px;
81
+ margin-top: var(--component-result-result-margin-extra-top, var(--component-result-margin-extra-top, var(--spacing-8, 20px)));
82
82
  text-align: center;
83
83
  }
84
84
  .sd-result-content {
85
- margin-top: 20px;
85
+ margin-top: var(--component-result-result-margin-content-top, var(--component-result-margin-content-top, var(--spacing-8, 20px)));
86
86
  }
@@ -1,3 +1,4 @@
1
+ @use '@style/theme/runtime.scss' as theme-runtime;
1
2
  @use '@style/theme/index.scss' as global;
2
3
 
3
4
  @forward '@style/theme/index.scss';
@@ -63,3 +64,141 @@ $result-color-icon-bg_info: var(
63
64
  $result-size-icon_custom: 45px;
64
65
 
65
66
  $result-color-icon_default: inherit;
67
+
68
+ // @generated runtime tokens — pnpm theme:generate
69
+ $result-padding-top: theme-runtime.token(
70
+ 'result',
71
+ 'result-padding-top',
72
+ $result-padding-top,
73
+ 'spacing-9'
74
+ );
75
+ $result-padding-top_icon: theme-runtime.token(
76
+ 'result',
77
+ 'result-padding-top-icon',
78
+ $result-padding-top_icon,
79
+ 'spacing-10'
80
+ );
81
+ $result-padding-bottom: theme-runtime.token(
82
+ 'result',
83
+ 'result-padding-bottom',
84
+ $result-padding-bottom,
85
+ 'spacing-9'
86
+ );
87
+ $result-padding-horizontal: theme-runtime.token(
88
+ 'result',
89
+ 'result-padding-horizontal',
90
+ $result-padding-horizontal,
91
+ 'spacing-10'
92
+ );
93
+ $result-margin-icon-bottom: theme-runtime.token(
94
+ 'result',
95
+ 'result-margin-icon-bottom',
96
+ $result-margin-icon-bottom,
97
+ 'spacing-7'
98
+ );
99
+ $result-margin-extra-top: theme-runtime.token(
100
+ 'result',
101
+ 'result-margin-extra-top',
102
+ $result-margin-extra-top,
103
+ 'spacing-8'
104
+ );
105
+ $result-margin-content-top: theme-runtime.token(
106
+ 'result',
107
+ 'result-margin-content-top',
108
+ $result-margin-content-top,
109
+ 'spacing-8'
110
+ );
111
+ $result-font-title-size: theme-runtime.token(
112
+ 'result',
113
+ 'result-font-title-size',
114
+ $result-font-title-size,
115
+ 'font-size-body-3'
116
+ );
117
+ $result-font-title-weight: theme-runtime.token(
118
+ 'result',
119
+ 'result-font-title-weight',
120
+ $result-font-title-weight,
121
+ 'font-weight-500'
122
+ );
123
+ $result-font-subtitle-size: theme-runtime.token(
124
+ 'result',
125
+ 'result-font-subtitle-size',
126
+ $result-font-subtitle-size,
127
+ 'font-size-body-3'
128
+ );
129
+ $result-color-title-text: theme-runtime.token(
130
+ 'result',
131
+ 'result-color-title-text',
132
+ $result-color-title-text
133
+ );
134
+ $result-color-subtitle-text: theme-runtime.token(
135
+ 'result',
136
+ 'result-color-subtitle-text',
137
+ $result-color-subtitle-text
138
+ );
139
+ $result-size-icon: theme-runtime.token('result', 'result-size-icon', $result-size-icon, 'size-5');
140
+ $result-size-icon-wrapper: theme-runtime.token(
141
+ 'result',
142
+ 'result-size-icon-wrapper',
143
+ $result-size-icon-wrapper
144
+ );
145
+ $result-size-image-width: theme-runtime.token(
146
+ 'result',
147
+ 'result-size-image-width',
148
+ $result-size-image-width,
149
+ 'size-23'
150
+ );
151
+ $result-color-icon_success: theme-runtime.token(
152
+ 'result',
153
+ 'result-color-icon-success',
154
+ $result-color-icon_success,
155
+ 'color-success-6'
156
+ );
157
+ $result-color-icon-bg_success: theme-runtime.token(
158
+ 'result',
159
+ 'result-color-icon-bg-success',
160
+ $result-color-icon-bg_success
161
+ );
162
+ $result-color-icon_error: theme-runtime.token(
163
+ 'result',
164
+ 'result-color-icon-error',
165
+ $result-color-icon_error,
166
+ 'color-danger-6'
167
+ );
168
+ $result-color-icon-bg_error: theme-runtime.token(
169
+ 'result',
170
+ 'result-color-icon-bg-error',
171
+ $result-color-icon-bg_error
172
+ );
173
+ $result-color-icon_warning: theme-runtime.token(
174
+ 'result',
175
+ 'result-color-icon-warning',
176
+ $result-color-icon_warning,
177
+ 'color-warning-6'
178
+ );
179
+ $result-color-icon-bg_warning: theme-runtime.token(
180
+ 'result',
181
+ 'result-color-icon-bg-warning',
182
+ $result-color-icon-bg_warning
183
+ );
184
+ $result-color-icon_info: theme-runtime.token(
185
+ 'result',
186
+ 'result-color-icon-info',
187
+ $result-color-icon_info,
188
+ 'color-primary-6'
189
+ );
190
+ $result-color-icon-bg_info: theme-runtime.token(
191
+ 'result',
192
+ 'result-color-icon-bg-info',
193
+ $result-color-icon-bg_info
194
+ );
195
+ $result-size-icon_custom: theme-runtime.token(
196
+ 'result',
197
+ 'result-size-icon-custom',
198
+ $result-size-icon_custom
199
+ );
200
+ $result-color-icon_default: theme-runtime.token(
201
+ 'result',
202
+ 'result-color-icon-default',
203
+ $result-color-icon_default
204
+ );
@@ -19,45 +19,45 @@
19
19
  position: relative;
20
20
  box-sizing: border-box;
21
21
  width: 100%;
22
- color: var(--sd-color-neutral-10);
23
- font-size: 14px;
24
- line-height: 1.5715;
25
- background: var(--sd-color-bg-2);
26
- border: 1px solid var(--sd-color-neutral-3);
27
- border-radius: var(--sd-border-radius-medium);
28
- transition: border-color 0.2s cubic-bezier(0.34, 0.69, 0.1, 1), box-shadow 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
22
+ color: var(--component-rich-text-editor-rich-text-editor-color-text, var(--component-rich-text-editor-color-text, var(--color-text-1, var(--sd-color-text-1, var(--sd-color-neutral-10)))));
23
+ font-size: var(--component-rich-text-editor-rich-text-editor-font-size, var(--component-rich-text-editor-font-size, var(--font-size-body-3, 14px)));
24
+ line-height: var(--component-rich-text-editor-rich-text-editor-line-height, var(--component-rich-text-editor-line-height, 1.5715));
25
+ background: var(--component-rich-text-editor-rich-text-editor-color-background, var(--component-rich-text-editor-color-background, var(--sd-color-bg-2)));
26
+ border: 1px solid var(--component-rich-text-editor-rich-text-editor-color-border, var(--component-rich-text-editor-color-border, var(--color-border-2, var(--sd-color-border-2, var(--sd-color-neutral-3)))));
27
+ border-radius: var(--component-rich-text-editor-rich-text-editor-border-radius, var(--component-rich-text-editor-border-radius, var(--sd-border-radius-medium)));
28
+ transition: border-color var(--component-rich-text-editor-rich-text-editor-motion-duration, var(--component-rich-text-editor-motion-duration, 0.2s)) var(--component-rich-text-editor-rich-text-editor-motion-easing, var(--component-rich-text-editor-motion-easing, cubic-bezier(0.34, 0.69, 0.1, 1))), box-shadow var(--component-rich-text-editor-rich-text-editor-motion-duration, var(--component-rich-text-editor-motion-duration, 0.2s)) var(--component-rich-text-editor-rich-text-editor-motion-easing, var(--component-rich-text-editor-motion-easing, cubic-bezier(0.34, 0.69, 0.1, 1)));
29
29
  }
30
30
  .sd-rich-text-editor-focusable:hover {
31
- border-color: rgb(var(--sd-primary-5));
31
+ border-color: var(--component-rich-text-editor-rich-text-editor-color-border-hover, var(--component-rich-text-editor-color-border-hover, var(--color-primary-5, var(--sd-color-primary-5, rgb(var(--sd-primary-5))))));
32
32
  }
33
33
  .sd-rich-text-editor:focus-within {
34
- border-color: rgb(var(--sd-primary-6));
35
- box-shadow: 0 0 0 2px color-mix(in srgb, rgb(var(--sd-primary-6)) 15%, transparent);
34
+ border-color: var(--component-rich-text-editor-rich-text-editor-color-border-focus, var(--component-rich-text-editor-color-border-focus, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
35
+ box-shadow: var(--component-rich-text-editor-rich-text-editor-focus-shadow, var(--component-rich-text-editor-focus-shadow, 0 0 0 2px color-mix(in srgb, rgb(var(--sd-primary-6)) 15%, transparent)));
36
36
  }
37
37
  .sd-rich-text-editor-content {
38
38
  box-sizing: border-box;
39
39
  width: 100%;
40
- min-height: calc(14px * 1.5715 + 24px);
40
+ min-height: calc(var(--component-rich-text-editor-rich-text-editor-font-size, var(--component-rich-text-editor-font-size, var(--font-size-body-3, 14px))) * var(--component-rich-text-editor-rich-text-editor-line-height, var(--component-rich-text-editor-line-height, 1.5715)) + 24px);
41
41
  padding-block: 12px;
42
42
  padding-inline: 16px;
43
43
  white-space: pre-wrap;
44
44
  overflow-wrap: anywhere;
45
45
  outline: none;
46
- caret-color: rgb(var(--sd-primary-6));
46
+ caret-color: var(--component-rich-text-editor-rich-text-editor-color-border-focus, var(--component-rich-text-editor-color-border-focus, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
47
47
  }
48
48
  .sd-rich-text-editor-placeholder {
49
49
  position: absolute;
50
50
  inset-block-start: 12px;
51
51
  inset-inline-start: 16px;
52
52
  overflow: hidden;
53
- color: var(--sd-color-neutral-4);
53
+ color: var(--component-rich-text-editor-rich-text-editor-color-placeholder, var(--component-rich-text-editor-color-placeholder, var(--color-text-4, var(--sd-color-text-4, var(--sd-color-neutral-4)))));
54
54
  white-space: nowrap;
55
55
  text-overflow: ellipsis;
56
56
  pointer-events: none;
57
57
  }
58
58
  .sd-rich-text-editor-disabled {
59
- color: var(--sd-color-neutral-4);
60
- background: var(--sd-color-neutral-2);
59
+ color: var(--component-rich-text-editor-rich-text-editor-color-text-disabled, var(--component-rich-text-editor-color-text-disabled, var(--color-text-4, var(--sd-color-text-4, var(--sd-color-neutral-4)))));
60
+ background: var(--component-rich-text-editor-rich-text-editor-color-background-disabled, var(--component-rich-text-editor-color-background-disabled, var(--color-fill-2, var(--sd-color-fill-2, var(--sd-color-neutral-2)))));
61
61
  cursor: not-allowed;
62
62
  }
63
63
  .sd-rich-text-editor-readonly {
@@ -83,7 +83,7 @@
83
83
  list-style: none;
84
84
  }
85
85
  .sd-rich-text-editor-link {
86
- color: rgb(var(--sd-link-6));
86
+ color: var(--component-rich-text-editor-rich-text-editor-color-link, var(--component-rich-text-editor-color-link, var(--color-link-6, var(--sd-color-link-6, rgb(var(--sd-link-6))))));
87
87
  text-decoration: underline;
88
88
  }
89
89
  .sd-rich-text-editor-code {
@@ -92,8 +92,8 @@
92
92
  overflow-x: auto;
93
93
  font-family: consolas, menlo;
94
94
  white-space: pre;
95
- background: var(--sd-color-neutral-2);
96
- border-radius: var(--sd-border-radius-medium);
95
+ background: var(--component-rich-text-editor-rich-text-editor-color-code-background, var(--component-rich-text-editor-color-code-background, var(--color-fill-2, var(--sd-color-fill-2, var(--sd-color-neutral-2)))));
96
+ border-radius: var(--component-rich-text-editor-rich-text-editor-border-radius, var(--component-rich-text-editor-border-radius, var(--sd-border-radius-medium)));
97
97
  }
98
98
  .sd-rich-text-editor-text-bold {
99
99
  font-weight: 600;
@@ -108,26 +108,26 @@
108
108
  text-decoration: line-through;
109
109
  }
110
110
  .sd-rich-text-editor-text-code {
111
- padding-inline: 4px;
111
+ padding-inline: var(--component-rich-text-editor-rich-text-editor-code-padding, var(--component-rich-text-editor-code-padding, var(--spacing-2, 4px)));
112
112
  font-family: consolas, menlo;
113
- background: var(--sd-color-neutral-2);
114
- border-radius: var(--sd-border-radius-medium);
113
+ background: var(--component-rich-text-editor-rich-text-editor-color-code-background, var(--component-rich-text-editor-color-code-background, var(--color-fill-2, var(--sd-color-fill-2, var(--sd-color-neutral-2)))));
114
+ border-radius: var(--component-rich-text-editor-rich-text-editor-border-radius, var(--component-rich-text-editor-border-radius, var(--sd-border-radius-medium)));
115
115
  }
116
116
  .sd-rich-text-editor-component {
117
117
  display: inline-flex;
118
- gap: 4px;
118
+ gap: var(--component-rich-text-editor-rich-text-editor-component-gap, var(--component-rich-text-editor-component-gap, var(--spacing-2, 4px)));
119
119
  align-items: center;
120
- margin-inline: 4px;
120
+ margin-inline: var(--component-rich-text-editor-rich-text-editor-component-gap, var(--component-rich-text-editor-component-gap, var(--spacing-2, 4px)));
121
121
  vertical-align: middle;
122
122
  }
123
123
  .sd-rich-text-editor-component-selected {
124
- border-radius: var(--sd-border-radius-medium);
125
- outline: 2px solid rgb(var(--sd-primary-6));
124
+ border-radius: var(--component-rich-text-editor-rich-text-editor-border-radius, var(--component-rich-text-editor-border-radius, var(--sd-border-radius-medium)));
125
+ outline: 2px solid var(--component-rich-text-editor-rich-text-editor-color-border-focus, var(--component-rich-text-editor-color-border-focus, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
126
126
  outline-offset: 1px;
127
127
  }
128
128
  .sd-rich-text-editor-component-input > .sd-input-wrapper, .sd-rich-text-editor-component-select > .sd-select-view {
129
129
  display: inline-flex;
130
- background: color-mix(in srgb, rgb(var(--sd-primary-6)) 6%, transparent);
130
+ background: var(--component-rich-text-editor-rich-text-editor-color-component-background, var(--component-rich-text-editor-color-component-background, color-mix(in srgb, rgb(var(--sd-primary-6)) 6%, transparent)));
131
131
  }
132
132
  .sd-rich-text-editor-component-control {
133
133
  max-width: 100%;
@@ -135,7 +135,7 @@
135
135
  }
136
136
  .sd-rich-text-editor-component-stretch {
137
137
  display: inline-flex;
138
- width: 12em;
138
+ width: var(--component-rich-text-editor-rich-text-editor-component-inline-width, var(--component-rich-text-editor-component-inline-width, 12em));
139
139
  max-width: none;
140
140
  }
141
141
  .sd-rich-text-editor-component-stretch > * {
@@ -143,7 +143,7 @@
143
143
  width: 100%;
144
144
  }
145
145
  .sd-rich-text-editor-component-rangePicker {
146
- width: 22em;
146
+ width: var(--component-rich-text-editor-rich-text-editor-component-range-width, var(--component-rich-text-editor-component-range-width, 22em));
147
147
  }
148
148
  .sd-rich-text-editor-component-tag {
149
149
  margin: 0;
@@ -152,9 +152,9 @@
152
152
  display: inline-flex;
153
153
  align-items: center;
154
154
  min-height: 1.5em;
155
- padding-inline: 4px;
156
- background: color-mix(in srgb, rgb(var(--sd-primary-6)) 6%, transparent);
157
- border-radius: var(--sd-border-radius-medium);
155
+ padding-inline: var(--component-rich-text-editor-rich-text-editor-code-padding, var(--component-rich-text-editor-code-padding, var(--spacing-2, 4px)));
156
+ background: var(--component-rich-text-editor-rich-text-editor-color-component-background, var(--component-rich-text-editor-color-component-background, color-mix(in srgb, rgb(var(--sd-primary-6)) 6%, transparent)));
157
+ border-radius: var(--component-rich-text-editor-rich-text-editor-border-radius, var(--component-rich-text-editor-border-radius, var(--sd-border-radius-medium)));
158
158
  }
159
159
 
160
160
  @media (prefers-reduced-motion: reduce) {
@@ -1,3 +1,4 @@
1
+ @use '@style/theme/runtime.scss' as theme-runtime;
1
2
  @use '@style/theme/index.scss' as global;
2
3
  @use 'sass:string';
3
4
 
@@ -35,3 +36,122 @@ $rich-text-editor-focus-shadow: 0 0 0 2px
35
36
  color-mix(in srgb, #{global.$color-primary-6} 15%, transparent);
36
37
  $rich-text-editor-motion-duration: global.$transition-duration-2;
37
38
  $rich-text-editor-motion-easing: global.$transition-timing-function-standard;
39
+
40
+ // @generated runtime tokens — pnpm theme:generate
41
+ $rich-text-editor-font-size: theme-runtime.token(
42
+ 'rich-text-editor',
43
+ 'rich-text-editor-font-size',
44
+ $rich-text-editor-font-size,
45
+ 'font-size-body-3'
46
+ );
47
+ $rich-text-editor-line-height: theme-runtime.token(
48
+ 'rich-text-editor',
49
+ 'rich-text-editor-line-height',
50
+ $rich-text-editor-line-height
51
+ );
52
+ $rich-text-editor-border-radius: theme-runtime.token(
53
+ 'rich-text-editor',
54
+ 'rich-text-editor-border-radius',
55
+ $rich-text-editor-border-radius
56
+ );
57
+ $rich-text-editor-component-gap: theme-runtime.token(
58
+ 'rich-text-editor',
59
+ 'rich-text-editor-component-gap',
60
+ $rich-text-editor-component-gap,
61
+ 'spacing-2'
62
+ );
63
+ $rich-text-editor-component-inline-width: theme-runtime.token(
64
+ 'rich-text-editor',
65
+ 'rich-text-editor-component-inline-width',
66
+ $rich-text-editor-component-inline-width
67
+ );
68
+ $rich-text-editor-component-range-width: theme-runtime.token(
69
+ 'rich-text-editor',
70
+ 'rich-text-editor-component-range-width',
71
+ $rich-text-editor-component-range-width
72
+ );
73
+ $rich-text-editor-code-padding: theme-runtime.token(
74
+ 'rich-text-editor',
75
+ 'rich-text-editor-code-padding',
76
+ $rich-text-editor-code-padding,
77
+ 'spacing-2'
78
+ );
79
+ $rich-text-editor-color-text: theme-runtime.token(
80
+ 'rich-text-editor',
81
+ 'rich-text-editor-color-text',
82
+ $rich-text-editor-color-text,
83
+ 'color-text-1'
84
+ );
85
+ $rich-text-editor-color-text-disabled: theme-runtime.token(
86
+ 'rich-text-editor',
87
+ 'rich-text-editor-color-text-disabled',
88
+ $rich-text-editor-color-text-disabled,
89
+ 'color-text-4'
90
+ );
91
+ $rich-text-editor-color-placeholder: theme-runtime.token(
92
+ 'rich-text-editor',
93
+ 'rich-text-editor-color-placeholder',
94
+ $rich-text-editor-color-placeholder,
95
+ 'color-text-4'
96
+ );
97
+ $rich-text-editor-color-background: theme-runtime.token(
98
+ 'rich-text-editor',
99
+ 'rich-text-editor-color-background',
100
+ $rich-text-editor-color-background
101
+ );
102
+ $rich-text-editor-color-background-disabled: theme-runtime.token(
103
+ 'rich-text-editor',
104
+ 'rich-text-editor-color-background-disabled',
105
+ $rich-text-editor-color-background-disabled,
106
+ 'color-fill-2'
107
+ );
108
+ $rich-text-editor-color-border: theme-runtime.token(
109
+ 'rich-text-editor',
110
+ 'rich-text-editor-color-border',
111
+ $rich-text-editor-color-border,
112
+ 'color-border-2'
113
+ );
114
+ $rich-text-editor-color-border-hover: theme-runtime.token(
115
+ 'rich-text-editor',
116
+ 'rich-text-editor-color-border-hover',
117
+ $rich-text-editor-color-border-hover,
118
+ 'color-primary-5'
119
+ );
120
+ $rich-text-editor-color-border-focus: theme-runtime.token(
121
+ 'rich-text-editor',
122
+ 'rich-text-editor-color-border-focus',
123
+ $rich-text-editor-color-border-focus,
124
+ 'color-primary-6'
125
+ );
126
+ $rich-text-editor-color-link: theme-runtime.token(
127
+ 'rich-text-editor',
128
+ 'rich-text-editor-color-link',
129
+ $rich-text-editor-color-link,
130
+ 'color-link-6'
131
+ );
132
+ $rich-text-editor-color-code-background: theme-runtime.token(
133
+ 'rich-text-editor',
134
+ 'rich-text-editor-color-code-background',
135
+ $rich-text-editor-color-code-background,
136
+ 'color-fill-2'
137
+ );
138
+ $rich-text-editor-color-component-background: theme-runtime.token(
139
+ 'rich-text-editor',
140
+ 'rich-text-editor-color-component-background',
141
+ $rich-text-editor-color-component-background
142
+ );
143
+ $rich-text-editor-focus-shadow: theme-runtime.token(
144
+ 'rich-text-editor',
145
+ 'rich-text-editor-focus-shadow',
146
+ $rich-text-editor-focus-shadow
147
+ );
148
+ $rich-text-editor-motion-duration: theme-runtime.token(
149
+ 'rich-text-editor',
150
+ 'rich-text-editor-motion-duration',
151
+ $rich-text-editor-motion-duration
152
+ );
153
+ $rich-text-editor-motion-easing: theme-runtime.token(
154
+ 'rich-text-editor',
155
+ 'rich-text-editor-motion-easing',
156
+ $rich-text-editor-motion-easing
157
+ );
@@ -698,15 +698,15 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
698
698
  --os-size: var(--sd-scrollbar-size, 6px);
699
699
  --os-handle-bg: var(
700
700
  --sd-scrollbar-thumb-color,
701
- var(--sd-color-neutral-4)
701
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color, var(--component-scrollbar-thumb-bar-bg-color, var(--sd-color-neutral-4)))
702
702
  );
703
703
  --os-handle-bg-hover: var(
704
704
  --sd-scrollbar-thumb-color-hover,
705
- var(--sd-color-neutral-5)
705
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color-hover, var(--component-scrollbar-thumb-bar-bg-color-hover, var(--sd-color-neutral-5)))
706
706
  );
707
707
  --os-handle-bg-active: var(
708
708
  --sd-scrollbar-thumb-color-active,
709
- var(--sd-color-neutral-6)
709
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color-active, var(--component-scrollbar-thumb-bar-bg-color-active, var(--sd-color-neutral-6)))
710
710
  );
711
711
  --os-track-bg: transparent;
712
712
  --os-track-bg-hover: transparent;
@@ -715,7 +715,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
715
715
  --os-padding-perpendicular: 0;
716
716
  --os-handle-border-radius: var(
717
717
  --sd-scrollbar-thumb-radius,
718
- 6px
718
+ var(--component-scrollbar-scrollbar-thumb-bar-border-radius, var(--component-scrollbar-thumb-bar-border-radius, 6px))
719
719
  );
720
720
  }
721
721
  .sd-scrollbar .os-scrollbar-handle {
@@ -738,10 +738,10 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
738
738
  }
739
739
  .sd-scrollbar .sd-scrollbar-theme-track {
740
740
  --os-size: 6px;
741
- --os-track-bg: var(--sd-color-neutral-1);
742
- --os-track-bg-hover: var(--sd-color-neutral-1);
743
- --os-track-bg-active: var(--sd-color-neutral-1);
744
- --os-track-border: 1px solid var(--sd-color-neutral-3);
741
+ --os-track-bg: var(--component-scrollbar-scrollbar-track-bg-color, var(--component-scrollbar-track-bg-color, var(--sd-color-neutral-1)));
742
+ --os-track-bg-hover: var(--component-scrollbar-scrollbar-track-bg-color, var(--component-scrollbar-track-bg-color, var(--sd-color-neutral-1)));
743
+ --os-track-bg-active: var(--component-scrollbar-scrollbar-track-bg-color, var(--component-scrollbar-track-bg-color, var(--sd-color-neutral-1)));
744
+ --os-track-border: 1px solid var(--component-scrollbar-scrollbar-track-border-color, var(--component-scrollbar-track-border-color, var(--sd-color-neutral-3)));
745
745
  --os-handle-perpendicular-size: var(
746
746
  --sd-scrollbar-size,
747
747
  6px
@@ -751,28 +751,28 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
751
751
  .sd-scrollbar.sd-scrollbar-type-embed .sd-scrollbar-theme-embed {
752
752
  --os-handle-bg: var(
753
753
  --sd-scrollbar-thumb-color,
754
- var(--sd-color-neutral-4)
754
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color, var(--component-scrollbar-thumb-bar-bg-color, var(--sd-color-neutral-4)))
755
755
  );
756
756
  --os-handle-bg-hover: var(
757
757
  --sd-scrollbar-thumb-color-hover,
758
- var(--sd-color-neutral-5)
758
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color-hover, var(--component-scrollbar-thumb-bar-bg-color-hover, var(--sd-color-neutral-5)))
759
759
  );
760
760
  --os-handle-bg-active: var(
761
761
  --sd-scrollbar-thumb-color-active,
762
- var(--sd-color-neutral-6)
762
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color-active, var(--component-scrollbar-thumb-bar-bg-color-active, var(--sd-color-neutral-6)))
763
763
  );
764
764
  }
765
765
  .sd-scrollbar.sd-scrollbar-type-track .sd-scrollbar-theme-track {
766
766
  --os-handle-bg: var(
767
767
  --sd-scrollbar-thumb-color,
768
- var(--sd-color-neutral-4)
768
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color, var(--component-scrollbar-thumb-bar-bg-color, var(--sd-color-neutral-4)))
769
769
  );
770
770
  --os-handle-bg-hover: var(
771
771
  --sd-scrollbar-thumb-color-hover,
772
- var(--sd-color-neutral-5)
772
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color-hover, var(--component-scrollbar-thumb-bar-bg-color-hover, var(--sd-color-neutral-5)))
773
773
  );
774
774
  --os-handle-bg-active: var(
775
775
  --sd-scrollbar-thumb-color-active,
776
- var(--sd-color-neutral-6)
776
+ var(--component-scrollbar-scrollbar-thumb-bar-bg-color-active, var(--component-scrollbar-thumb-bar-bg-color-active, var(--sd-color-neutral-6)))
777
777
  );
778
778
  }
@@ -1,3 +1,4 @@
1
+ @use '@style/theme/runtime.scss' as theme-runtime;
1
2
  @use '@style/theme/index.scss' as global;
2
3
 
3
4
  @forward '@style/theme/index.scss';
@@ -27,3 +28,35 @@ $scrollbar-thumb-bar-bg_color_hover: var(
27
28
  $scrollbar-thumb-bar-bg_color_active: var(
28
29
  string.unquote('#{global.$sd-cssvars-prefix}-color-neutral-6')
29
30
  );
31
+
32
+ // @generated runtime tokens — pnpm theme:generate
33
+ $scrollbar-track-border_color: theme-runtime.token(
34
+ 'scrollbar',
35
+ 'scrollbar-track-border-color',
36
+ $scrollbar-track-border_color
37
+ );
38
+ $scrollbar-track-bg_color: theme-runtime.token(
39
+ 'scrollbar',
40
+ 'scrollbar-track-bg-color',
41
+ $scrollbar-track-bg_color
42
+ );
43
+ $scrollbar-thumb-bar-border_radius: theme-runtime.token(
44
+ 'scrollbar',
45
+ 'scrollbar-thumb-bar-border-radius',
46
+ $scrollbar-thumb-bar-border_radius
47
+ );
48
+ $scrollbar-thumb-bar-bg_color: theme-runtime.token(
49
+ 'scrollbar',
50
+ 'scrollbar-thumb-bar-bg-color',
51
+ $scrollbar-thumb-bar-bg_color
52
+ );
53
+ $scrollbar-thumb-bar-bg_color_hover: theme-runtime.token(
54
+ 'scrollbar',
55
+ 'scrollbar-thumb-bar-bg-color-hover',
56
+ $scrollbar-thumb-bar-bg_color_hover
57
+ );
58
+ $scrollbar-thumb-bar-bg_color_active: theme-runtime.token(
59
+ 'scrollbar',
60
+ 'scrollbar-thumb-bar-bg-color-active',
61
+ $scrollbar-thumb-bar-bg_color_active
62
+ );
@@ -17,7 +17,7 @@
17
17
  /********* icon hover *********/
18
18
  .sd-secret {
19
19
  display: inline-flex;
20
- gap: 6px;
20
+ gap: var(--component-secret-secret-gap, var(--component-secret-gap, var(--spacing-3, 6px)));
21
21
  align-items: center;
22
22
  min-width: 0;
23
23
  max-width: 100%;
@@ -30,7 +30,7 @@
30
30
  }
31
31
  .sd-secret-placeholder {
32
32
  overflow: hidden;
33
- color: var(--sd-color-text-3);
33
+ color: var(--component-secret-secret-placeholder-color-text, var(--component-secret-placeholder-color-text, var(--sd-color-text-3)));
34
34
  white-space: nowrap;
35
35
  text-overflow: ellipsis;
36
36
  }
@@ -40,15 +40,15 @@
40
40
  align-items: center;
41
41
  justify-content: center;
42
42
  padding: 0;
43
- color: var(--sd-color-text-3);
43
+ color: var(--component-secret-secret-trigger-color-text, var(--component-secret-trigger-color-text, var(--sd-color-text-3)));
44
44
  background: transparent;
45
45
  border: 0;
46
- border-radius: var(--sd-border-radius-small);
46
+ border-radius: var(--component-secret-secret-trigger-border-radius, var(--component-secret-trigger-border-radius, var(--sd-border-radius-small)));
47
47
  cursor: pointer;
48
48
  }
49
49
  .sd-secret-trigger .sd-icon {
50
- font-size: 16px;
50
+ font-size: var(--component-secret-secret-trigger-size-icon, var(--component-secret-trigger-size-icon, var(--size-4, 16px)));
51
51
  }
52
52
  .sd-secret-trigger:hover {
53
- color: var(--sd-color-text-1);
53
+ color: var(--component-secret-secret-trigger-color-text-hover, var(--component-secret-trigger-color-text-hover, var(--sd-color-text-1)));
54
54
  }