UNPKG

@pit-front-end/constant

Version:

[![pnpm version](https://img.shields.io/badge/pnpm-8.X-blue)](https://www.pnpm.cn/) [![PitFrontEndConstant Version](https://img.shields.io/badge/PitFrontEndConstant-1.0.7-gree)](https://www.npmjs.com/package/@pit-front-end/utils)

44 lines (43 loc) 956 B
import { DEFINE_LOGIN_AUTHOR as e } from "@pit-front-end/utils"; const t = { ORDINARY: "ordinary", ORDINARY_DARK: "ordinary-dark", FRESH: "fresh" }, a = { DEFAULT: "default", LARGE: "large", SMALL: "small" }, n = { CLASSIC: "classic", FUNCTIONAL: "functional", PLAIN: "plain", BLEND: "blend" }, l = { ZH_CN: "zh-cn", EN: "en" }, s = { theme: t.FRESH, // ordinary 普通风格一 | ordinary-dark 深色风格 | fresh 清新风格 menuCollapse: !1, // false=>展开 true=>折叠 globalSettings: !1, // false=>展开 true=>折叠 layoutType: n.CLASSIC, // blend classic functional plain size: a.DEFAULT, // default |large |small language: l.ZH_CN, // zh-cn| en isWatermark: !0, // 是否开启水印 watermarkStr: e // 水印内容 }; document.documentElement.classList.add(s.theme); export { l as LANGUAGE_ENUM, n as LAYOUT_TYPE_ENUM, a as SIZE_ENUM, t as THEME_ENUM, s as defaultSettings };