shineout 3.10.4-beta.1 → 3.10.4-beta.3
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.
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +8 -1
- package/dist/shineout.js +460 -38
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +2 -2
- package/package.json +5 -5
package/cjs/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export { config, setLocale, setIcons, icons } from '@sheinx/base';
|
|
|
55
55
|
export { setConfig } from './config';
|
|
56
56
|
export type { ConfigOption } from '@sheinx/base';
|
|
57
57
|
export { setToken, useToken } from '@sheinx/theme';
|
|
58
|
-
export { default as Tokens } from '@sheinx/theme';
|
|
58
|
+
export { default as Tokens, DarkTokens } from '@sheinx/theme';
|
|
59
59
|
export { JssProvider, SheetsRegistry, setJssConfig, scopeNormalizeStyle, } from '@sheinx/shineout-style';
|
|
60
60
|
export * as utils from './utils';
|
|
61
61
|
export * from './deprecated';
|
package/cjs/index.js
CHANGED
|
@@ -67,6 +67,7 @@ var _exportNames = {
|
|
|
67
67
|
setToken: true,
|
|
68
68
|
useToken: true,
|
|
69
69
|
Tokens: true,
|
|
70
|
+
DarkTokens: true,
|
|
70
71
|
JssProvider: true,
|
|
71
72
|
SheetsRegistry: true,
|
|
72
73
|
setJssConfig: true,
|
|
@@ -146,6 +147,12 @@ Object.defineProperty(exports, "Collapse", {
|
|
|
146
147
|
return _collapse.default;
|
|
147
148
|
}
|
|
148
149
|
});
|
|
150
|
+
Object.defineProperty(exports, "DarkTokens", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function get() {
|
|
153
|
+
return _theme.DarkTokens;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
149
156
|
Object.defineProperty(exports, "DatePicker", {
|
|
150
157
|
enumerable: true,
|
|
151
158
|
get: function get() {
|
|
@@ -546,5 +553,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
546
553
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
547
554
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
548
555
|
var _default = exports.default = {
|
|
549
|
-
version: '3.10.4-beta.
|
|
556
|
+
version: '3.10.4-beta.3'
|
|
550
557
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -6421,6 +6421,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
6421
6421
|
Cascader: function() { return /* reexport */ src_cascader_0; },
|
|
6422
6422
|
Checkbox: function() { return /* reexport */ src_checkbox_0; },
|
|
6423
6423
|
Collapse: function() { return /* reexport */ src_collapse_0; },
|
|
6424
|
+
DarkTokens: function() { return /* reexport */ dark; },
|
|
6424
6425
|
DatePicker: function() { return /* reexport */ src_date_picker_0; },
|
|
6425
6426
|
Descriptions: function() { return /* reexport */ src_descriptions_0; },
|
|
6426
6427
|
Divider: function() { return /* reexport */ src_divider_0; },
|
|
@@ -13738,7 +13739,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
13738
13739
|
};
|
|
13739
13740
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
13740
13741
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
13741
|
-
/* harmony default export */ var version = ('3.10.4-beta.
|
|
13742
|
+
/* harmony default export */ var version = ('3.10.4-beta.3');
|
|
13742
13743
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
13743
13744
|
|
|
13744
13745
|
|
|
@@ -17175,6 +17176,7 @@ var uploadTokens = {
|
|
|
17175
17176
|
|
|
17176
17177
|
|
|
17177
17178
|
|
|
17179
|
+
|
|
17178
17180
|
|
|
17179
17181
|
|
|
17180
17182
|
var src_Tokens = objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, token_token), src_alert), src_avatar), src_badge), src_breadcrumb), src_button), src_card), src_card_group), src_carousel), src_cascader), src_checkbox), src_collapse), src_common), src_date_picker), src_descriptions), src_divider), src_dropdown), src_editable_area), src_empty), src_form), src_icon), src_image), src_input), src_link), src_list), src_menu), src_message), src_modal), src_pagination), src_popover), src_progress), src_radio), src_rate), src_select), src_skeleton), src_slider), src_spin), src_steps), src_sticky), src_switch), src_table), src_tabs), src_tag), src_textarea), src_tooltip), src_transfer), src_tree), src_tree_select), src_upload);
|
|
@@ -24221,13 +24223,9 @@ var setToken = function setToken(options) {
|
|
|
24221
24223
|
};
|
|
24222
24224
|
/* harmony default export */ var token_setter = (setToken);
|
|
24223
24225
|
;// CONCATENATED MODULE: ../shineout-style/src/normalize.ts
|
|
24224
|
-
//
|
|
24225
|
-
//
|
|
24226
|
-
//
|
|
24227
|
-
// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
|
|
24228
|
-
// 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so
|
|
24229
|
-
// we force a non-overlapping, non-auto-hiding scrollbar to counteract.
|
|
24230
|
-
// 6. Change the default tap highlight to be completely transparent in iOS.
|
|
24226
|
+
// 全局基础样式(normalize)与 jss 插入点。
|
|
24227
|
+
// 引入本模块会产生副作用:在浏览器环境下向 document.head 最前面依次插入 normalize 样式和 jss 插入点,
|
|
24228
|
+
// 并通过 setToken 向 html 注入主题 token。
|
|
24231
24229
|
|
|
24232
24230
|
|
|
24233
24231
|
|
|
@@ -24235,7 +24233,8 @@ var normalize_token = {
|
|
|
24235
24233
|
fontFamily: 'var(--common-body-font-family, PingFang SC, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Hiragino KaKu Gothic Pro, Microsoft YaHei, Arial, sans-serif )',
|
|
24236
24234
|
color: 'var(--common-body-color, #141737)',
|
|
24237
24235
|
fontSize: 'var(--font-size-base, 14px)',
|
|
24238
|
-
|
|
24236
|
+
// 变量名与 shineout 1.x / 2.x 保持一致
|
|
24237
|
+
lineHeight: 'var(--common-line-height, 1.42857143)',
|
|
24239
24238
|
linkColor: CommonToken['Brand-6'],
|
|
24240
24239
|
linkHoverDecoration: 'none',
|
|
24241
24240
|
linkDisabledColor: CommonToken['Brand-3'],
|
|
@@ -24245,23 +24244,30 @@ var normalize_token = {
|
|
|
24245
24244
|
headingsLineHeight: '1.1',
|
|
24246
24245
|
headingsSmallColor: '#adb5bd'
|
|
24247
24246
|
};
|
|
24248
|
-
var
|
|
24249
|
-
var
|
|
24250
|
-
var normalizeStyle = "*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\n\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\nbody {\n margin: 0;\n color: ".concat(normalize_token.color, ";\n font-family: ").concat(normalize_token.fontFamily, ";\n font-size: ").concat(normalize_token.fontSize, ";\n line-height: ").concat(normalize_token.lineHeight, ";\n}\n\
|
|
24247
|
+
var marginLarge = '20px';
|
|
24248
|
+
var marginSmall = '10px';
|
|
24249
|
+
var normalizeStyle = "*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\n\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\nbody {\n margin: 0;\n color: ".concat(normalize_token.color, ";\n font-family: ").concat(normalize_token.fontFamily, ";\n font-size: ").concat(normalize_token.fontSize, ";\n line-height: ").concat(normalize_token.lineHeight, ";\n}\n\nh1 {\n margin: 0.67em 0;\n font-size: 2em;\n}\n\nfigure {\n margin: 1em 40px;\n}\n\nhr {\n overflow: visible;\n height: 0;\n box-sizing: content-box;\n}\n\npre {\n font-family: \"SFMono-Regular\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 1em;\n}\n\na {\n background-color: transparent;\n color: ").concat(normalize_token.linkColor, ";\n cursor: pointer;\n outline: none;\n text-decoration: ").concat(normalize_token.linkHoverDecoration, ";\n -webkit-text-decoration-skip: objects;\n transition: color 0.3s;\n}\n\na:active,\na:hover {\n color: ").concat(normalize_token.linkColor, ";\n outline: 0;\n text-decoration: ").concat(normalize_token.linkHoverDecoration, ";\n}\na[disabled] {\n color: ").concat(normalize_token.linkDisabledColor, ";\n cursor: not-allowed;\n pointer-events: none;\n}\n\nabbr[title] {\n border-bottom: none;\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\ndfn {\n font-style: italic;\n}\n\nmark {\n background-color: #ff0;\n color: #000;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\naudio,\nvideo {\n display: inline-block;\n}\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\nimg {\n border-style: none;\n}\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton:-moz-focusring,\n[type='button']:-moz-focusring,\n[type='reset']:-moz-focusring,\n[type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\nlegend {\n display: table;\n max-width: 100%;\n box-sizing: border-box;\n padding: 0;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n display: inline-block;\n vertical-align: baseline;\n}\n\ntextarea {\n overflow: auto;\n}\n\n[type='checkbox'],\n[type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n\ndetails,\nmenu {\n display: block;\n}\n\nsummary {\n display: list-item;\n}\n\ncanvas {\n display: inline-block;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n color: ").concat(normalize_token.headingsColor, ";\n font-family: ").concat(normalize_token.headingsFontFamily, ";\n font-weight: ").concat(normalize_token.headingsFontWeight, ";\n line-height: ").concat(normalize_token.headingsLineHeight, ";\n}\nh1 small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small,\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n color: ").concat(normalize_token.headingsSmallColor, ";\n font-weight: normal;\n line-height: 1;\n}\n\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: ").concat(marginLarge, ";\n margin-bottom: ").concat(marginSmall, ";\n}\n\nh1 small, h1 .small, .h1 small, .h1 .small,\nh2 small, h2 .small, .h2 small, .h2 .small,\nh3 small, h3 .small, .h3 small, .h3 .small {\n font-size: 65%;\n}\n\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: ").concat(marginSmall, ";\n margin-bottom: ").concat(marginSmall, ";\n}\n\nh4 small, h4 .small, .h4 small, .h4 .small,\nh5 small, h5 .small, .h5 small, .h5 .small,\nh6 small, h6 .small, .h6 small, .h6 .small {\n font-size: 75%;\n}\n\np {\n margin: 0 0 ").concat(marginSmall, ";\n}");
|
|
24251
24250
|
var normalizeStyleId = 'shineout-next-normalize__' + version;
|
|
24252
24251
|
var jssInsertionPointId = 'shineout-next-jss-insertion-point__' + version;
|
|
24253
|
-
|
|
24252
|
+
|
|
24253
|
+
// 创建带标识的 style 节点,并插入到 head 最前面
|
|
24254
|
+
function insertStyleElement(id, cssText) {
|
|
24254
24255
|
var style = document.createElement('style');
|
|
24255
24256
|
style.setAttribute('name', id);
|
|
24256
24257
|
style.setAttribute('data-alita-ignore', 'true');
|
|
24257
|
-
style.
|
|
24258
|
+
if (cssText !== undefined) style.textContent = cssText;
|
|
24258
24259
|
document.head.insertBefore(style, document.head.firstChild);
|
|
24260
|
+
return style;
|
|
24261
|
+
}
|
|
24262
|
+
|
|
24263
|
+
// 当前模块实例自己创建的 normalize 节点。
|
|
24264
|
+
// 同一页面里多份 bundle(如嵌入插件与业务项目)版本相同时节点同名,不能按名字查找,否则可能误改对方的节点
|
|
24265
|
+
var normalizeStyleElement = null;
|
|
24266
|
+
function appendNormalizeStyle(styleString, id) {
|
|
24267
|
+
normalizeStyleElement = insertStyleElement(id, styleString);
|
|
24259
24268
|
}
|
|
24260
24269
|
function appendJssInsertionPoint() {
|
|
24261
|
-
var insertionPoint =
|
|
24262
|
-
insertionPoint.setAttribute('name', jssInsertionPointId);
|
|
24263
|
-
insertionPoint.setAttribute('data-alita-ignore', 'true');
|
|
24264
|
-
document.head.insertBefore(insertionPoint, document.head.firstChild);
|
|
24270
|
+
var insertionPoint = insertStyleElement(jssInsertionPointId);
|
|
24265
24271
|
react_jss_esm_defaultJss.setup({
|
|
24266
24272
|
insertionPoint: insertionPoint
|
|
24267
24273
|
});
|
|
@@ -24270,37 +24276,42 @@ if (typeof window !== 'undefined') {
|
|
|
24270
24276
|
appendJssInsertionPoint();
|
|
24271
24277
|
appendNormalizeStyle(normalizeStyle, normalizeStyleId);
|
|
24272
24278
|
}
|
|
24279
|
+
|
|
24280
|
+
// html / body 作为根选择器时替换为 prefix,其余选择器统一加前缀
|
|
24281
|
+
var scopeSelector = function scopeSelector(selector, prefix) {
|
|
24282
|
+
var trimmed = selector.trim();
|
|
24283
|
+
var root = /^(html|body)(?![\w-])/.exec(trimmed);
|
|
24284
|
+
return root ? prefix + trimmed.slice(root[0].length) : "".concat(prefix, " ").concat(trimmed);
|
|
24285
|
+
};
|
|
24273
24286
|
var scopeNormalizeStyle = function scopeNormalizeStyle() {
|
|
24287
|
+
var _sourceElement$sheet, _styleElement$parentN;
|
|
24274
24288
|
var csScopePrefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '#app';
|
|
24275
|
-
|
|
24276
|
-
|
|
24277
|
-
|
|
24278
|
-
|
|
24279
|
-
|
|
24280
|
-
|
|
24289
|
+
if (typeof document === 'undefined') return;
|
|
24290
|
+
var styleElement = normalizeStyleElement;
|
|
24291
|
+
if (!styleElement || !styleElement.isConnected) return;
|
|
24292
|
+
|
|
24293
|
+
// 始终基于原始 normalizeStyle 重新生成,而不是在已加过前缀的样式上再加一次,保证重复调用结果一致
|
|
24294
|
+
var sourceElement = document.createElement('style');
|
|
24295
|
+
sourceElement.textContent = normalizeStyle;
|
|
24296
|
+
document.head.appendChild(sourceElement);
|
|
24297
|
+
var cssRules = (_sourceElement$sheet = sourceElement.sheet) === null || _sourceElement$sheet === void 0 ? void 0 : _sourceElement$sheet.cssRules;
|
|
24281
24298
|
if (cssRules) {
|
|
24282
24299
|
for (var i = 0; i < cssRules.length; i++) {
|
|
24283
24300
|
var rule = cssRules[i];
|
|
24284
24301
|
if (rule instanceof CSSStyleRule) {
|
|
24285
|
-
//
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
}
|
|
24289
|
-
rule.selectorText = rule.selectorText.replace('html', csScopePrefix);
|
|
24290
|
-
} else {
|
|
24291
|
-
var selectors = rule.selectorText.split(',');
|
|
24292
|
-
var newSelectors = selectors.map(function (selector) {
|
|
24293
|
-
return "".concat(csScopePrefix, " ").concat(selector);
|
|
24294
|
-
});
|
|
24295
|
-
rule.selectorText = newSelectors.join(',');
|
|
24296
|
-
}
|
|
24302
|
+
// 逐个选择器处理,同一条规则里混有 html / body 与其他选择器时也都能正确加前缀
|
|
24303
|
+
rule.selectorText = rule.selectorText.split(',').map(function (selector) {
|
|
24304
|
+
return scopeSelector(selector, csScopePrefix);
|
|
24305
|
+
}).join(',');
|
|
24297
24306
|
}
|
|
24298
24307
|
}
|
|
24299
24308
|
}
|
|
24300
24309
|
var scopedStyleString = cssRules ? Array.from(cssRules).map(function (rule) {
|
|
24301
24310
|
return rule.cssText;
|
|
24302
24311
|
}).join('') : '';
|
|
24303
|
-
document.head.removeChild(
|
|
24312
|
+
document.head.removeChild(sourceElement);
|
|
24313
|
+
// 移除旧的 styleElement,用加了前缀的样式替换
|
|
24314
|
+
(_styleElement$parentN = styleElement.parentNode) === null || _styleElement$parentN === void 0 || _styleElement$parentN.removeChild(styleElement);
|
|
24304
24315
|
appendNormalizeStyle(scopedStyleString, normalizeStyleId);
|
|
24305
24316
|
};
|
|
24306
24317
|
token_setter({
|
|
@@ -78175,6 +78186,417 @@ var useToken = function useToken(props) {
|
|
|
78175
78186
|
};
|
|
78176
78187
|
};
|
|
78177
78188
|
/* harmony default export */ var use_token = (useToken);
|
|
78189
|
+
;// CONCATENATED MODULE: ../theme/src/token/dark.ts
|
|
78190
|
+
|
|
78191
|
+
// 暗色主题下覆盖的全局 token
|
|
78192
|
+
var DarkCommonToken = {
|
|
78193
|
+
'Brand-1': '#283546',
|
|
78194
|
+
'Brand-2': '#2A4366',
|
|
78195
|
+
'Brand-10': '#D9F0FF',
|
|
78196
|
+
'Brand-3': '#2B5285',
|
|
78197
|
+
'Brand-4': '#2D61A5',
|
|
78198
|
+
'Brand-5': '#3079DA',
|
|
78199
|
+
'Brand-6': '#3288FA',
|
|
78200
|
+
'Brand-7': '#58A9FC',
|
|
78201
|
+
'Brand-8': '#8BC8FD',
|
|
78202
|
+
'Brand-9': '#B2DCFE',
|
|
78203
|
+
'Neutral-text-5': '#FFFFFFE6',
|
|
78204
|
+
'Neutral-text-4': '#FFFFFFBF',
|
|
78205
|
+
'Neutral-text-3': '#FFFFFF99',
|
|
78206
|
+
'Neutral-text-2': '#FFFFFF4D',
|
|
78207
|
+
'Neutral-border-2': '#555555',
|
|
78208
|
+
'Neutral-border-1': '#333333',
|
|
78209
|
+
'Neutral-fill-4': '#515151',
|
|
78210
|
+
'Neutral-fill-3': '#3B3B3B',
|
|
78211
|
+
'Neutral-fill-2': '#303030',
|
|
78212
|
+
'Neutral-fill-1': '#262626',
|
|
78213
|
+
'Danger-1': '#412B2B',
|
|
78214
|
+
'Danger-10': '#FFECE8',
|
|
78215
|
+
'Danger-2': '#542E2E',
|
|
78216
|
+
'Danger-3': '#6F3233',
|
|
78217
|
+
'Danger-4': '#C33136',
|
|
78218
|
+
'Danger-5': '#B83E40',
|
|
78219
|
+
'Danger-6': '#DC4446',
|
|
78220
|
+
'Danger-7': '#E36461',
|
|
78221
|
+
'Danger-8': '#F7ADA6',
|
|
78222
|
+
'Danger-9': '#FBCDC7',
|
|
78223
|
+
'Success-1': '#20392E',
|
|
78224
|
+
'Success-2': '#1D4534',
|
|
78225
|
+
'Success-10': '#EBFFF3',
|
|
78226
|
+
'Success-3': '#17583C',
|
|
78227
|
+
'Success-4': '#11915E',
|
|
78228
|
+
'Success-5': '#088A51',
|
|
78229
|
+
'Success-6': '#00A35C',
|
|
78230
|
+
'Success-7': '#21B570',
|
|
78231
|
+
'Success-8': '#7BDCA9',
|
|
78232
|
+
'Success-9': '#B0EECB',
|
|
78233
|
+
'Warning-1': '#433128',
|
|
78234
|
+
'Warning-10': '#FFF5E8',
|
|
78235
|
+
'Warning-2': '#573929',
|
|
78236
|
+
'Warning-3': '#74442B',
|
|
78237
|
+
'Warning-4': '#CB5C16',
|
|
78238
|
+
'Warning-5': '#C16330',
|
|
78239
|
+
'Warning-6': '#E87233',
|
|
78240
|
+
'Warning-7': '#ED8F55',
|
|
78241
|
+
'Warning-8': '#FBC58A',
|
|
78242
|
+
'Warning-9': '#FDDFB9',
|
|
78243
|
+
'Shadow-2': '0px 4px 10px 0px rgba(2, 11, 24, 0.10)',
|
|
78244
|
+
'Shadow-3': '0px 8px 20px 0px rgba(2, 11, 24, 0.10)',
|
|
78245
|
+
'Shadow-4': '0px -2px 10px 0px rgba(2, 11, 24, 0.08)',
|
|
78246
|
+
'Neutral-fill-9': '#E4E4E4',
|
|
78247
|
+
'Neutral-fill-10': '#FFFFFF',
|
|
78248
|
+
'Neutral-fill-6': '#A4A4A4',
|
|
78249
|
+
'Neutral-fill-8': '#CCCCCC',
|
|
78250
|
+
'Mask-fill-1': '#00000080',
|
|
78251
|
+
'Neutral-fill-11': '#2A2A2A',
|
|
78252
|
+
'Neutral-fill-5': '#757575',
|
|
78253
|
+
'Neutral-text-1': '#FFFFFFE6',
|
|
78254
|
+
'Cyan-1': '#233A3A',
|
|
78255
|
+
'Cyan-10': '#B3EEE6',
|
|
78256
|
+
'Cyan-2': '#224747',
|
|
78257
|
+
'Cyan-3': '#1F5A5A',
|
|
78258
|
+
'Cyan-4': '#1C7574',
|
|
78259
|
+
'Cyan-5': '#188F8E',
|
|
78260
|
+
'Cyan-6': '#15A9A8',
|
|
78261
|
+
'Cyan-7': '#34BAB6',
|
|
78262
|
+
'Cyan-8': '#59CBC4',
|
|
78263
|
+
'Cyan-9': '#83DDD4',
|
|
78264
|
+
'Indigo-1': '#2D2E44',
|
|
78265
|
+
'Indigo-10': '#CAD1FC',
|
|
78266
|
+
'Indigo-2': '#323358',
|
|
78267
|
+
'Indigo-3': '#393A77',
|
|
78268
|
+
'Indigo-4': '#43449F',
|
|
78269
|
+
'Indigo-5': '#4D4EC7',
|
|
78270
|
+
'Indigo-6': '#5658F0',
|
|
78271
|
+
'Indigo-7': '#7278F3',
|
|
78272
|
+
'Indigo-8': '#8E97F6',
|
|
78273
|
+
'Indigo-9': '#ACB5F9',
|
|
78274
|
+
'Lemon-1': '#433B24',
|
|
78275
|
+
'Lemon-10': '#FAF4BB',
|
|
78276
|
+
'Lemon-2': '#564A22',
|
|
78277
|
+
'Lemon-3': '#725F20',
|
|
78278
|
+
'Lemon-4': '#997C1D',
|
|
78279
|
+
'Lemon-5': '#BF981A',
|
|
78280
|
+
'Lemon-6': '#E5B517',
|
|
78281
|
+
'Lemon-7': '#EAC83D',
|
|
78282
|
+
'Lemon-8': '#EFD866',
|
|
78283
|
+
'Lemon-9': '#F5E78F',
|
|
78284
|
+
'Magenta-1': '#412A36',
|
|
78285
|
+
'Magenta-10': '#F7C3D8',
|
|
78286
|
+
'Magenta-2': '#532D41',
|
|
78287
|
+
'Magenta-3': '#6D3152',
|
|
78288
|
+
'Magenta-4': '#913767',
|
|
78289
|
+
'Magenta-5': '#B43C7D',
|
|
78290
|
+
'Magenta-7': '#E05FA0',
|
|
78291
|
+
'Magenta-8': '#E87FB0',
|
|
78292
|
+
'Magenta-9': '#EFA0C2',
|
|
78293
|
+
'Neon-1': '#353C23',
|
|
78294
|
+
'Neon-10': '#E8F1B4',
|
|
78295
|
+
'Neon-2': '#3F4B21',
|
|
78296
|
+
'Neon-3': '#4E621D',
|
|
78297
|
+
'Neon-4': '#637F19',
|
|
78298
|
+
'Neon-5': '#779D14',
|
|
78299
|
+
'Neon-6': '#8BBB10',
|
|
78300
|
+
'Neon-7': '#A3C932',
|
|
78301
|
+
'Neon-8': '#BBD659',
|
|
78302
|
+
'Neon-9': '#D2E484',
|
|
78303
|
+
'Orange-1': '#433523',
|
|
78304
|
+
'Orange-10': '#FAE6BA',
|
|
78305
|
+
'Orange-2': '#573E21',
|
|
78306
|
+
'Orange-3': '#744D1D',
|
|
78307
|
+
'Orange-4': '#9A6019',
|
|
78308
|
+
'Orange-5': '#C17414',
|
|
78309
|
+
'Orange-6': '#E88710',
|
|
78310
|
+
'Orange-7': '#EDA138',
|
|
78311
|
+
'Orange-8': '#F1BA62',
|
|
78312
|
+
'Orange-9': '#F6D18D',
|
|
78313
|
+
'Brown-1': '#393229',
|
|
78314
|
+
'Brown-10': '#EDDFBE',
|
|
78315
|
+
'Brown-2': '#463B2C',
|
|
78316
|
+
'Brown-3': '#59472F',
|
|
78317
|
+
'Brown-4': '#735834',
|
|
78318
|
+
'Brown-5': '#8C6839',
|
|
78319
|
+
'Brown-6': '#A6793D',
|
|
78320
|
+
'Brown-7': '#B89157',
|
|
78321
|
+
'Brown-8': '#CAAB76',
|
|
78322
|
+
'Brown-9': '#DBC598',
|
|
78323
|
+
'Purple-1': '#342B3F',
|
|
78324
|
+
'Purple-10': '#E0C3F5',
|
|
78325
|
+
'Purple-2': '#3D2E50',
|
|
78326
|
+
'Purple-3': '#4B3368',
|
|
78327
|
+
'Purple-4': '#5D398A',
|
|
78328
|
+
'Purple-5': '#6F3FAB',
|
|
78329
|
+
'Purple-6': '#8245CC',
|
|
78330
|
+
'Purple-7': '#9A61D6',
|
|
78331
|
+
'Purple-8': '#B17FE0',
|
|
78332
|
+
'Purple-9': '#C9A0EB',
|
|
78333
|
+
'Tangerine-1': '#402E29',
|
|
78334
|
+
'Tangerine-10': '#F7D3C2',
|
|
78335
|
+
'Tangerine-2': '#52332C',
|
|
78336
|
+
'Tangerine-3': '#6C3B2F',
|
|
78337
|
+
'Tangerine-4': '#904633',
|
|
78338
|
+
'Tangerine-5': '#B35038',
|
|
78339
|
+
'Tangerine-6': '#D65B3C',
|
|
78340
|
+
'Tangerine-7': '#DE795A',
|
|
78341
|
+
'Tangerine-8': '#E6977B',
|
|
78342
|
+
'Tangerine-9': '#EFB69D',
|
|
78343
|
+
'Background-layout': '#1B1B1B',
|
|
78344
|
+
'Neutral-fill-7': '#B5B5B5',
|
|
78345
|
+
'Background-popup': '#303030'
|
|
78346
|
+
};
|
|
78347
|
+
|
|
78348
|
+
// 暗色主题下额外调整的组件 token,值为引用的全局 token key
|
|
78349
|
+
var DarkComponentToken = {
|
|
78350
|
+
buttonPrimaryDisabledFontColor: 'Neutral-text-2',
|
|
78351
|
+
buttonSecondaryFontColor: 'Neutral-text-1',
|
|
78352
|
+
buttonWarningDisabledFontColor: 'Neutral-text-2',
|
|
78353
|
+
inputFontColor: 'Neutral-text-5',
|
|
78354
|
+
selectFontColor: 'Neutral-text-1',
|
|
78355
|
+
selectBorderWidth: 'Border-2',
|
|
78356
|
+
selectPlaceholderColor: 'Neutral-text-2',
|
|
78357
|
+
selectBackgroundColor: 'Neutral-fill-2',
|
|
78358
|
+
buttonSuccessDisabledFontColor: 'Neutral-text-2',
|
|
78359
|
+
buttonDangerDisabledFontColor: 'Neutral-text-2',
|
|
78360
|
+
buttonSecondaryActiveBackgroundColor: 'Neutral-fill-4',
|
|
78361
|
+
buttonSecondaryActiveBorderColor: 'Neutral-fill-4',
|
|
78362
|
+
popoverBackgroundColor: 'Neutral-fill-2',
|
|
78363
|
+
popoverSuccessBackgroundColor: 'Success-1',
|
|
78364
|
+
popoverInfoBackgroundColor: 'Brand-1',
|
|
78365
|
+
tableTbodyHoverBackgroundColor: 'Neutral-fill-3',
|
|
78366
|
+
cardBackgroundColor: 'Neutral-fill-1',
|
|
78367
|
+
cascaderOptionBackgroundColor: 'Neutral-fill-2',
|
|
78368
|
+
tooltipBackgroundColor: 'Neutral-fill-3',
|
|
78369
|
+
tooltipLightColor: 'Neutral-fill-2',
|
|
78370
|
+
tooltipLightBackgroundColor: 'Neutral-fill-9',
|
|
78371
|
+
tooltipPrimaryBackgroundColor: 'Brand-1',
|
|
78372
|
+
tooltipSuccessColor: 'Success-6',
|
|
78373
|
+
treeLineBackgroundColor: 'Neutral-border-2',
|
|
78374
|
+
treeContentActiveBackgroundColor: 'Brand-1',
|
|
78375
|
+
datePickerCellHoverBackgroundColor: 'Neutral-fill-3',
|
|
78376
|
+
tagInfoBackgroundColor: 'Brand-1',
|
|
78377
|
+
alertInfoBackgroundColor: 'Brand-1',
|
|
78378
|
+
messageBackgroundColor: 'Neutral-fill-2',
|
|
78379
|
+
progressCircleInfoFontColor: 'Neutral-text-5',
|
|
78380
|
+
dropdownListBackgroundColor: 'Neutral-fill-2',
|
|
78381
|
+
menuItemActiveBackgroundColor: 'Brand-1',
|
|
78382
|
+
dividerFontColor: 'Neutral-text-2',
|
|
78383
|
+
cascaderPanelBackgroundColor: 'Neutral-fill-2',
|
|
78384
|
+
cascaderOptionDisabledBackgroundColor: 'Neutral-fill-2',
|
|
78385
|
+
cascaderOptionHoverBackgroundColor: 'Neutral-fill-3',
|
|
78386
|
+
datePickerPanelBackgroundColor: 'Neutral-fill-2',
|
|
78387
|
+
dropdownOptionHoverBackgroundColor: 'Neutral-fill-3',
|
|
78388
|
+
treeSelectPanelBackgroundColor: 'Neutral-fill-2',
|
|
78389
|
+
treeSelectContentHoverBackgroundColor: 'Neutral-fill-3',
|
|
78390
|
+
modalPanelBackground: 'Neutral-fill-11',
|
|
78391
|
+
dropdownOptionDisabledBackgroundColor: 'Neutral-fill-2',
|
|
78392
|
+
messageBorderColor: 'Transparent',
|
|
78393
|
+
modalPanelBorder: 'Transparent',
|
|
78394
|
+
popoverBorderColor: 'Transparent',
|
|
78395
|
+
dropdownOptionBackgroundColor: 'Neutral-fill-2',
|
|
78396
|
+
selectPanelBackgroundColor: 'Neutral-fill-2',
|
|
78397
|
+
selectOptionBackgroundColor: 'Neutral-fill-2',
|
|
78398
|
+
selectOptionHoverBackgroundColor: 'Neutral-fill-3',
|
|
78399
|
+
selectOptionDisabledBackgroundColor: 'Neutral-fill-2',
|
|
78400
|
+
switchCheckedCircleFill: 'Neutral-text-1',
|
|
78401
|
+
switchCheckedDisabledCircleFill: 'Neutral-text-2',
|
|
78402
|
+
switchCheckedDisabledFontColor: 'Neutral-text-2',
|
|
78403
|
+
descriptionsLabelColor: 'Neutral-text-3',
|
|
78404
|
+
menuDarkItemBackgroundColor: 'Neutral-fill-1',
|
|
78405
|
+
menuDarkItemHoverBackgroundColor: 'Neutral-fill-2',
|
|
78406
|
+
menuDarkItemActiveBackgroundColor: 'Brand-4',
|
|
78407
|
+
menuDarkItemDisabledBackgroundColor: 'Neutral-fill-1',
|
|
78408
|
+
rateFrontBackgroundColor: 'Lemon-6',
|
|
78409
|
+
alertInfoBorderColor: 'Brand-2',
|
|
78410
|
+
listStripedBackgroundColor: 'Neutral-fill-11',
|
|
78411
|
+
menuItemActiveFontColor: 'Brand-6',
|
|
78412
|
+
tabsFillCheckedBackgroundColor: 'Neutral-fill-3',
|
|
78413
|
+
buttonPrimaryOutlineDisabledFontColor: 'Brand-3',
|
|
78414
|
+
buttonPrimaryOutlineDisabledBorderColor: 'Brand-3',
|
|
78415
|
+
buttonWarningOutlineDisabledFontColor: 'Warning-3',
|
|
78416
|
+
buttonSecondaryOutlineDisabledBorderColor: 'Neutral-border-2',
|
|
78417
|
+
cascaderOptionActiveBackgroundColor: 'Brand-2',
|
|
78418
|
+
tagInfoFillDisabledFontColor: 'Neutral-text-2',
|
|
78419
|
+
tagSuccessFillDisabledFontColor: 'Neutral-text-2',
|
|
78420
|
+
tagWarningFillDisabledFontColor: 'Neutral-text-2',
|
|
78421
|
+
tagDangerFillDisabledFontColor: 'Neutral-text-2',
|
|
78422
|
+
tooltipWarningColor: 'Warning-6',
|
|
78423
|
+
tooltipDangerColor: 'Danger-6',
|
|
78424
|
+
checkboxIconDisabledBackgroundColor: 'Neutral-fill-3',
|
|
78425
|
+
checkboxIconBackgroundColor: 'Transparent',
|
|
78426
|
+
checkboxIconDisabledBorderColor: 'Neutral-border-2',
|
|
78427
|
+
radioIconBackgroundColor: 'Transparent',
|
|
78428
|
+
radioIconDisabledBackgroundColor: 'Neutral-fill-3',
|
|
78429
|
+
radioIconDisabledColor: 'Neutral-border-2',
|
|
78430
|
+
datePickerTimeItemActiveBackgroundColor: 'Brand-2',
|
|
78431
|
+
selectOptionActiveBackgroundColor: 'Brand-2',
|
|
78432
|
+
dropdownOptionSelectBackgroundColor: 'Brand-2',
|
|
78433
|
+
treeSelectContentActiveBackgroundColor: 'Brand-2',
|
|
78434
|
+
treeSelectContentDisabledHoverBackgroundColor: 'Neutral-fill-3',
|
|
78435
|
+
sliderValueHoverBackgroundColor: 'Neutral-fill-3',
|
|
78436
|
+
checkboxIconCheckedColor: 'Neutral-text-1',
|
|
78437
|
+
checkboxIconCheckedDisabledColor: 'Neutral-text-2',
|
|
78438
|
+
switchDisabledCircleCheckedFill: 'Neutral-text-2',
|
|
78439
|
+
tagTangerineFontColor: 'Tangerine-6',
|
|
78440
|
+
tagTangerineBackgroundColor: 'Tangerine-1',
|
|
78441
|
+
tagTangerineBorderColor: 'Tangerine-1',
|
|
78442
|
+
tagTangerineOutlineFontColor: 'Tangerine-6',
|
|
78443
|
+
tagTangerineOutlineBorderColor: 'Tangerine-3',
|
|
78444
|
+
tagTangerineFillBackgroundColor: 'Tangerine-6',
|
|
78445
|
+
tagTangerineFillBorderColor: 'Tangerine-6',
|
|
78446
|
+
tagPurpleFontColor: 'Purple-6',
|
|
78447
|
+
tagPurpleBackgroundColor: 'Purple-1',
|
|
78448
|
+
tagPurpleBorderColor: 'Purple-1',
|
|
78449
|
+
tagPurpleOutlineFontColor: 'Purple-6',
|
|
78450
|
+
tagPurpleOutlineBorderColor: 'Purple-3',
|
|
78451
|
+
tagPurpleFillBackgroundColor: 'Purple-6',
|
|
78452
|
+
tagPurpleFillBorderColor: 'Purple-6',
|
|
78453
|
+
tagMagentaFontColor: 'Magenta-6',
|
|
78454
|
+
tagMagentaBackgroundColor: 'Magenta-1',
|
|
78455
|
+
tagMagentaBorderColor: 'Magenta-1',
|
|
78456
|
+
tagMagentaOutlineFontColor: 'Magenta-6',
|
|
78457
|
+
tagMagentaOutlineBorderColor: 'Magenta-3',
|
|
78458
|
+
tagMagentaFillBackgroundColor: 'Magenta-6',
|
|
78459
|
+
tagMagentaFillBorderColor: 'Magenta-6',
|
|
78460
|
+
tagBrownFontColor: 'Brown-6',
|
|
78461
|
+
tagBrownBackgroundColor: 'Brown-1',
|
|
78462
|
+
tagBrownBorderColor: 'Brown-1',
|
|
78463
|
+
tagBrownOutlineFontColor: 'Brown-6',
|
|
78464
|
+
tagBrownOutlineBorderColor: 'Brown-3',
|
|
78465
|
+
tagBrownFillBackgroundColor: 'Brown-6',
|
|
78466
|
+
tagBrownFillBorderColor: 'Brown-6',
|
|
78467
|
+
tagIndigoFontColor: 'Indigo-6',
|
|
78468
|
+
tagIndigoBackgroundColor: 'Indigo-1',
|
|
78469
|
+
tagIndigoBorderColor: 'Indigo-1',
|
|
78470
|
+
tagIndigoOutlineFontColor: 'Indigo-6',
|
|
78471
|
+
tagIndigoOutlineBorderColor: 'Indigo-3',
|
|
78472
|
+
tagIndigoFillBackgroundColor: 'Indigo-6',
|
|
78473
|
+
tagIndigoFillBorderColor: 'Indigo-6',
|
|
78474
|
+
tagCyanFontColor: 'Cyan-6',
|
|
78475
|
+
tagCyanBackgroundColor: 'Cyan-1',
|
|
78476
|
+
tagCyanBorderColor: 'Cyan-1',
|
|
78477
|
+
tagCyanOutlineFontColor: 'Cyan-6',
|
|
78478
|
+
tagCyanOutlineBorderColor: 'Cyan-3',
|
|
78479
|
+
tagCyanFillBackgroundColor: 'Cyan-6',
|
|
78480
|
+
tagCyanFillBorderColor: 'Cyan-6',
|
|
78481
|
+
tagNeonFontColor: 'Neon-5',
|
|
78482
|
+
tagNeonBackgroundColor: 'Neon-1',
|
|
78483
|
+
tagNeonBorderColor: 'Neon-1',
|
|
78484
|
+
tagNeonOutlineFontColor: 'Neon-6',
|
|
78485
|
+
tagNeonOutlineBorderColor: 'Neon-3',
|
|
78486
|
+
tagNeonFillBackgroundColor: 'Neon-6',
|
|
78487
|
+
tagNeonFillBorderColor: 'Neon-6',
|
|
78488
|
+
tagLemonFontColor: 'Lemon-6',
|
|
78489
|
+
tagLemonBackgroundColor: 'Lemon-1',
|
|
78490
|
+
tagLemonBorderColor: 'Lemon-1',
|
|
78491
|
+
tagLemonOutlineFontColor: 'Lemon-6',
|
|
78492
|
+
tagLemonOutlineBorderColor: 'Lemon-3',
|
|
78493
|
+
tagLemonFillBackgroundColor: 'Lemon-6',
|
|
78494
|
+
tagLemonFillBorderColor: 'Lemon-6',
|
|
78495
|
+
tagOrangeFontColor: 'Orange-6',
|
|
78496
|
+
tagOrangeBackgroundColor: 'Orange-1',
|
|
78497
|
+
tagOrangeBorderColor: 'Orange-1',
|
|
78498
|
+
tagOrangeOutlineFontColor: 'Orange-6',
|
|
78499
|
+
tagOrangeOutlineBorderColor: 'Orange-3',
|
|
78500
|
+
tagOrangeFillBackgroundColor: 'Orange-6',
|
|
78501
|
+
tagOrangeFillBorderColor: 'Orange-6',
|
|
78502
|
+
tagTangerineDisabledFontColor: 'Tangerine-3',
|
|
78503
|
+
tagTangerineDisabledBackgroundColor: 'Tangerine-1',
|
|
78504
|
+
tagTangerineDisabledBorderColor: 'Tangerine-1',
|
|
78505
|
+
tagTangerineOutlineDisabledFontColor: 'Tangerine-3',
|
|
78506
|
+
tagTangerineOutlineDisabledBorderColor: 'Tangerine-2',
|
|
78507
|
+
tagTangerineFillDisabledBackgroundColor: 'Tangerine-3',
|
|
78508
|
+
tagTangerineFillDisabledBorderColor: 'Tangerine-3',
|
|
78509
|
+
tagPurpleDisabledFontColor: 'Purple-4',
|
|
78510
|
+
tagPurpleDisabledBackgroundColor: 'Purple-1',
|
|
78511
|
+
tagPurpleDisabledBorderColor: 'Purple-1',
|
|
78512
|
+
tagPurpleOutlineDisabledFontColor: 'Purple-3',
|
|
78513
|
+
tagPurpleOutlineDisabledBorderColor: 'Purple-2',
|
|
78514
|
+
tagPurpleFillDisabledBackgroundColor: 'Purple-3',
|
|
78515
|
+
tagPurpleFillDisabledBorderColor: 'Purple-3',
|
|
78516
|
+
tagBrownDisabledFontColor: 'Brown-3',
|
|
78517
|
+
tagBrownDisabledBackgroundColor: 'Brown-1',
|
|
78518
|
+
tagBrownDisabledBorderColor: 'Brown-1',
|
|
78519
|
+
tagBrownOutlineDisabledFontColor: 'Brown-3',
|
|
78520
|
+
tagBrownOutlineDisabledBorderColor: 'Brown-2',
|
|
78521
|
+
tagBrownFillDisabledBackgroundColor: 'Brown-3',
|
|
78522
|
+
tagBrownFillDisabledBorderColor: 'Brown-3',
|
|
78523
|
+
tagMagentaDisabledFontColor: 'Magenta-3',
|
|
78524
|
+
tagMagentaDisabledBackgroundColor: 'Magenta-1',
|
|
78525
|
+
tagMagentaDisabledBorderColor: 'Magenta-1',
|
|
78526
|
+
tagMagentaOutlineDisabledFontColor: 'Magenta-3',
|
|
78527
|
+
tagMagentaOutlineDisabledBorderColor: 'Magenta-2',
|
|
78528
|
+
tagMagentaFillDisabledBackgroundColor: 'Magenta-3',
|
|
78529
|
+
tagMagentaFillDisabledBorderColor: 'Magenta-3',
|
|
78530
|
+
tagIndigoDisabledFontColor: 'Indigo-3',
|
|
78531
|
+
tagIndigoDisabledBackgroundColor: 'Indigo-1',
|
|
78532
|
+
tagIndigoDisabledBorderColor: 'Indigo-1',
|
|
78533
|
+
tagIndigoOutlineDisabledFontColor: 'Indigo-3',
|
|
78534
|
+
tagIndigoOutlineDisabledBorderColor: 'Indigo-2',
|
|
78535
|
+
tagIndigoFillDisabledBackgroundColor: 'Indigo-3',
|
|
78536
|
+
tagIndigoFillDisabledBorderColor: 'Indigo-3',
|
|
78537
|
+
tagCyanDisabledFontColor: 'Cyan-3',
|
|
78538
|
+
tagCyanDisabledBackgroundColor: 'Cyan-1',
|
|
78539
|
+
tagCyanDisabledBorderColor: 'Cyan-1',
|
|
78540
|
+
tagCyanOutlineDisabledFontColor: 'Cyan-3',
|
|
78541
|
+
tagCyanOutlineDisabledBorderColor: 'Cyan-2',
|
|
78542
|
+
tagCyanFillDisabledBackgroundColor: 'Cyan-3',
|
|
78543
|
+
tagCyanFillDisabledBorderColor: 'Cyan-3',
|
|
78544
|
+
tagNeonDisabledFontColor: 'Neon-3',
|
|
78545
|
+
tagNeonDisabledBackgroundColor: 'Neon-1',
|
|
78546
|
+
tagNeonDisabledBorderColor: 'Neon-1',
|
|
78547
|
+
tagNeonOutlineDisabledFontColor: 'Neon-3',
|
|
78548
|
+
tagNeonOutlineDisabledBorderColor: 'Neon-2',
|
|
78549
|
+
tagNeonFillDisabledBackgroundColor: 'Neon-3',
|
|
78550
|
+
tagNeonFillDisabledBorderColor: 'Neon-3',
|
|
78551
|
+
tagLemonDisabledFontColor: 'Lemon-3',
|
|
78552
|
+
tagLemonDisabledBackgroundColor: 'Lemon-1',
|
|
78553
|
+
tagLemonDisabledBorderColor: 'Lemon-1',
|
|
78554
|
+
tagLemonOutlineDisabledFontColor: 'Lemon-3',
|
|
78555
|
+
tagLemonOutlineDisabledBorderColor: 'Lemon-2',
|
|
78556
|
+
tagLemonFillDisabledBackgroundColor: 'Lemon-3',
|
|
78557
|
+
tagLemonFillDisabledBorderColor: 'Lemon-3',
|
|
78558
|
+
tagOrangeDisabledFontColor: 'Orange-3',
|
|
78559
|
+
tagOrangeDisabledBackgroundColor: 'Orange-1',
|
|
78560
|
+
tagOrangeDisabledBorderColor: 'Orange-1',
|
|
78561
|
+
tagOrangeOutlineDisabledFontColor: 'Orange-3',
|
|
78562
|
+
tagOrangeOutlineDisabledBorderColor: 'Orange-2',
|
|
78563
|
+
tagOrangeFillDisabledBackgroundColor: 'Orange-3',
|
|
78564
|
+
tagOrangeFillDisabledBorderColor: 'Orange-3',
|
|
78565
|
+
tagMagentaFillDisabledFontColor: 'Neutral-text-2',
|
|
78566
|
+
tagBrownFillDisabledFontColor: 'Neutral-text-2',
|
|
78567
|
+
tagPurpleFillDisabledFontColor: 'Neutral-text-2',
|
|
78568
|
+
tagIndigoFillDisabledFontColor: 'Neutral-text-2',
|
|
78569
|
+
tagCyanFillDisabledFontColor: 'Neutral-text-2',
|
|
78570
|
+
tagNeonFillDisabledFontColor: 'Neutral-text-2',
|
|
78571
|
+
tagLemonFillDisabledFontColor: 'Neutral-text-2',
|
|
78572
|
+
tagOrangeFillDisabledFontColor: 'Neutral-text-2',
|
|
78573
|
+
tagTangerineFillDisabledFontColor: 'Neutral-text-2',
|
|
78574
|
+
tagInfoOutlineBorderColor: 'Brand-3',
|
|
78575
|
+
tagSuccessOutlineBorderColor: 'Success-3',
|
|
78576
|
+
tagWarningOutlineBorderColor: 'Warning-3',
|
|
78577
|
+
tagDangerOutlineBorderColor: 'Danger-3',
|
|
78578
|
+
tagInfoOutlineDisabledBorderColor: 'Brand-2',
|
|
78579
|
+
tagSuccessOutlineDisabledBorderColor: 'Success-2',
|
|
78580
|
+
tagWarningOutlineDisabledBorderColor: 'Warning-2',
|
|
78581
|
+
tagDangerOutlineDisabledBorderColor: 'Danger-2',
|
|
78582
|
+
treeSelectContentDisabledBackgroundColor: 'Neutral-fill-2',
|
|
78583
|
+
inputClearColor: 'Neutral-text-2',
|
|
78584
|
+
inputHoverClearColor: 'Neutral-text-3',
|
|
78585
|
+
menuDarkItemOpenBackgroundColor: 'Neutral-fill-1',
|
|
78586
|
+
menuSearchDarkBackgroundColor: 'Neutral-fill-2',
|
|
78587
|
+
menuSearchDarkHoverBackgroundColor: 'Neutral-fill-1',
|
|
78588
|
+
buttonSplitlineFullBackgroundColor: 'Neutral-text-2',
|
|
78589
|
+
carouselIndicatorBackgroundColor: 'Neutral-text-3',
|
|
78590
|
+
carouselIndicatorActiveBackgroundColor: 'Neutral-text-5',
|
|
78591
|
+
menuDarkHeaderBorderColor: 'Neutral-border-1',
|
|
78592
|
+
menuSearchDarkFocusBackgroundColor: 'Neutral-fill-1',
|
|
78593
|
+
menuSearchDarkFocusShadow: 'Brand-2'
|
|
78594
|
+
};
|
|
78595
|
+
|
|
78596
|
+
// 组件 token 的值保持为全局 token 名称,由 setToken 在调用时解析为当前 prefix 下的 css var 引用,
|
|
78597
|
+
// 这样 setConfig 修改 prefix、或在此基础上覆盖全局 token 时,组件 token 都能跟随
|
|
78598
|
+
var DarkToken = objectSpread2_default()(objectSpread2_default()({}, DarkCommonToken), DarkComponentToken);
|
|
78599
|
+
/* harmony default export */ var dark = (DarkToken);
|
|
78178
78600
|
;// CONCATENATED MODULE: ./src/utils/classname.ts
|
|
78179
78601
|
|
|
78180
78602
|
|
|
@@ -80478,7 +80900,7 @@ var watermark_interface = __webpack_require__(6640);
|
|
|
80478
80900
|
|
|
80479
80901
|
|
|
80480
80902
|
/* harmony default export */ var src_0 = ({
|
|
80481
|
-
version: '3.10.4-beta.
|
|
80903
|
+
version: '3.10.4-beta.3'
|
|
80482
80904
|
});
|
|
80483
80905
|
}();
|
|
80484
80906
|
/******/ return __webpack_exports__;
|