32 lines
773 B
JavaScript
32 lines
773 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.default = void 0;
|
||
|
const genLayoutLightStyle = token => {
|
||
|
const {
|
||
|
componentCls,
|
||
|
bodyBg,
|
||
|
lightSiderBg,
|
||
|
lightTriggerBg,
|
||
|
lightTriggerColor
|
||
|
} = token;
|
||
|
return {
|
||
|
[`${componentCls}-sider-light`]: {
|
||
|
background: lightSiderBg,
|
||
|
[`${componentCls}-sider-trigger`]: {
|
||
|
color: lightTriggerColor,
|
||
|
background: lightTriggerBg
|
||
|
},
|
||
|
[`${componentCls}-sider-zero-width-trigger`]: {
|
||
|
color: lightTriggerColor,
|
||
|
background: lightTriggerBg,
|
||
|
border: `1px solid ${bodyBg}`,
|
||
|
// Safe to modify to any other color
|
||
|
borderInlineStart: 0
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
};
|
||
|
var _default = exports.default = genLayoutLightStyle;
|