Skip to content

Them Config中,为什么部分值是正对,部分值是反对 #47

Open
@AutoCodingBot

Description

@AutoCodingBot

..\Hooks-Admin\src\redux\modules\global\reducer.ts
onst globalState: GlobalState = {
token: "",
userInfo: "",
assemblySize: "middle",
language: "",
themeConfig: {
// 默认 primary 主题颜色
primary: "#1890ff",
// 深色模式
isDark: true,
// 色弱模式(weak) || 灰色模式(gray)
weakOrGray: "",
// 面包屑导航
breadcrumb: false,
// 标签页
tabs: true,
// 页脚
footer: true
}
};
仅isDark: true 代表enable dark mode;其他是false=>enable;这样设计是出于什么?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions