UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

23 lines (20 loc) 839 B
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; var genLayoutLightStyle = function genLayoutLightStyle(token) { var _$concat; var componentCls = token.componentCls, colorBgContainer = token.colorBgContainer, colorBgBody = token.colorBgBody, colorText = token.colorText; return _defineProperty({}, "".concat(componentCls, "-sider-light"), (_$concat = { background: colorBgContainer }, _defineProperty(_$concat, "".concat(componentCls, "-sider-trigger"), { color: colorText, background: colorBgContainer }), _defineProperty(_$concat, "".concat(componentCls, "-sider-zero-width-trigger"), { color: colorText, background: colorBgContainer, border: "1px solid ".concat(colorBgBody), borderInlineStart: 0 }), _$concat)); }; export default genLayoutLightStyle;