PromoCursed/node_modules/antd/es/layout/style/light.js
2024-08-20 23:25:37 +04:00

26 lines
649 B
JavaScript

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
}
}
};
};
export default genLayoutLightStyle;