amis-rpc-design/node_modules/antd/es/layout/style/light.js

25 lines
604 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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}`,
borderInlineStart: 0
}
}
};
};
export default genLayoutLightStyle;