dumi-theme-antd-style
Version:
dumi-theme-antd-style 是为 dumi2 打造的一款文档站主题包,提供了更加美观、易用的研发与阅读体验
9 lines • 689 B
JavaScript
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,
responsive = _ref.responsive,
token = _ref.token;
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n font-family: AliPuHui, ", ";\n color: ", ";\n font-size: 22px;\n line-height: 1;\n font-weight: 500;\n text-decoration: none;\n gap: 10px;\n\n ", " {\n font-size: 18px;\n }\n "])), token.fontFamily, token.colorText, responsive.mobile);
});