UNPKG

dumi-theme-antd-style

Version:

dumi-theme-antd-style 是为 dumi2 打造的一款文档站主题包,提供了更加美观、易用的研发与阅读体验

13 lines 615 B
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral"; var _templateObject; import { createStyles } from 'antd-style'; export var useStyles = createStyles(function (_ref) { var token = _ref.token, prefixCls = _ref.prefixCls, css = _ref.css, cx = _ref.cx; var prefix = "".concat(prefixCls, "-home-contents"); return { container: cx(prefix, css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n max-width: ", "px;\n padding: 0 16px;\n box-sizing: border-box;\n "])), token.contentMaxWidth)) }; });