UNPKG

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

5 lines 735 B
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, cssVar } from 'antd-style'; var GlobalStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n html, body {\n background: ", ";\n }\n\n #root {\n min-height: 100vh;\n background: ", ";\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"])), cssVar.colorBgLayout, cssVar.colorBgLayout, cssVar.colorText); export default GlobalStyle;