dumi-theme-lobehub
Version:
dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui
8 lines • 669 B
JavaScript
var _templateObject;
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
import { createGlobalStyle } from 'antd-style';
var GlobalStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n #root {\n min-height: 100vh;\n }\n\n #nprogress {\n .bar {\n background: ", ";\n }\n\n .peg {\n display: none !important;\n }\n\n .spinner {\n display: none;\n }\n }\n"])), function (_ref) {
var theme = _ref.theme;
return theme.colorText;
});
export default GlobalStyle;