cleaning - 前端基础样式调整v1.0 (#2)
Some checks failed
Web UI CI/CD / build-and-deploy (push) Failing after 46m41s
Some checks failed
Web UI CI/CD / build-and-deploy (push) Failing after 46m41s
## 描述 将 `cleaning` 开发分支合并到 `master`。 主要改动包括: - 基础前端页面调整为初版设计 `cleaning` 分支中包含了多个开发过程的提交,本次合并计划 **使用 Squash 合并为一次提交**,以保持 `master` 分支历史清晰。 ## 类型 - [ ] Bug 修复(非破坏性修改) - [x] 新功能(非破坏性新增功能) - [ ] 破坏性修改(修改会影响现有功能) - [ ] 需要更新文档 - [x] 除非引入新的测试示例,否则不修改 `pnpm-lock.yaml` Reviewed-on: http://124.221.55.225:3000/XW-AIOT/aiot-platform-ui/pulls/2
This commit is contained in:
@@ -17,7 +17,7 @@ const defaultPreferences: Preferences = {
|
||||
contentPaddingTop: 0,
|
||||
defaultAvatar:
|
||||
'https://unpkg.com/@vbenjs/static-source@0.1.7/source/avatar-v1.webp',
|
||||
defaultHomePath: '/analytics',
|
||||
defaultHomePath: '/workspace',
|
||||
dynamicTitle: true,
|
||||
enableCheckUpdates: true,
|
||||
enablePreferences: true,
|
||||
@@ -109,9 +109,9 @@ const defaultPreferences: Preferences = {
|
||||
wheelable: true,
|
||||
},
|
||||
theme: {
|
||||
builtinType: 'default',
|
||||
builtinType: 'amber',
|
||||
colorDestructive: 'hsl(348 100% 61%)',
|
||||
colorPrimary: 'hsl(212 100% 45%)',
|
||||
colorPrimary: 'hsl(37 100% 52%)',
|
||||
colorSuccess: 'hsl(144 57% 58%)',
|
||||
colorWarning: 'hsl(42 84% 61%)',
|
||||
mode: 'dark',
|
||||
|
||||
@@ -8,6 +8,10 @@ interface BuiltinThemePreset {
|
||||
}
|
||||
|
||||
const BUILT_IN_THEME_PRESETS: BuiltinThemePreset[] = [
|
||||
{
|
||||
color: 'hsl(37 100% 52%)',
|
||||
type: 'amber',
|
||||
},
|
||||
{
|
||||
color: 'hsl(212 100% 45%)',
|
||||
type: 'default',
|
||||
@@ -112,7 +116,7 @@ const DEFAULT_TIME_ZONE_OPTIONS: TimezoneOption[] = [
|
||||
},
|
||||
];
|
||||
|
||||
export const COLOR_PRESETS = [...BUILT_IN_THEME_PRESETS].slice(0, 7);
|
||||
export const COLOR_PRESETS = [...BUILT_IN_THEME_PRESETS].slice(0, 8);
|
||||
|
||||
export { BUILT_IN_THEME_PRESETS, DEFAULT_TIME_ZONE_OPTIONS };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user