UNPKG

dumi-theme-antd-style

Version:

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

8 lines 674 B
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral"; var _templateObject; import { createStyles } from 'antd-style'; export var useStyles = createStyles(function (_ref) { var css = _ref.css, token = _ref.token; return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n cursor: pointer;\n &:hover {\n background: ", ";\n border-radius: 4px;\n }\n pre {\n background: none !important;\n padding: 2px 8px !important;\n margin: 0;\n }\n code[class*='language-'] {\n background: none !important;\n }\n "])), token.colorFillSecondary); });