light.js 706 B

123456789101112131415161718192021222324252627282930
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. const genLayoutLightStyle = token => {
  7. const {
  8. componentCls,
  9. colorBgContainer,
  10. colorBgBody,
  11. colorText
  12. } = token;
  13. return {
  14. [`${componentCls}-sider-light`]: {
  15. background: colorBgContainer,
  16. [`${componentCls}-sider-trigger`]: {
  17. color: colorText,
  18. background: colorBgContainer
  19. },
  20. [`${componentCls}-sider-zero-width-trigger`]: {
  21. color: colorText,
  22. background: colorBgContainer,
  23. border: `1px solid ${colorBgBody}`,
  24. borderInlineStart: 0
  25. }
  26. }
  27. };
  28. };
  29. var _default = exports.default = genLayoutLightStyle;