feat: 更新主题配置与系统设置
This commit is contained in:
1 parent
1555d5344b
commit
151ecceb85
12 files changed
+145
-27
No files matched your search
@@ -1009,7 +1009,10 @@ When using `make dev` from root, the frontend automatically connects through ngi
|
||||
the built-in default theme. A row is `CustomThemePreset` (`id`, `name`,
|
||||
six-digit `primary`, optional primary-button `text_color`, `mode`, `overrides`, `enabled`,
|
||||
`sort_order`). `overrides` is intentionally a short interaction-only list:
|
||||
`button_hover`, `selected_background`, `border`, `muted`, `muted_text`, `destructive`, `brand_title`, and `primary_foreground`.
|
||||
`button_hover`, `navigation_gradient_start`, `navigation_gradient_end`,
|
||||
`selected_background`, `border`, `muted`, `muted_text`, `destructive`,
|
||||
`brand_title`, and `primary_foreground`. The navigation gradient endpoints
|
||||
default from `primary` and are only stored when an administrator overrides them.
|
||||
All values must be six-digit hex strings; the frontend derives every remaining
|
||||
semantic CSS/TDesign token so admins do not maintain a full raw token sheet.
|
||||
Ids must be `custom-theme-*`, names and ids are unique, and the router limits
|
||||
|
||||
Reference in new issue
Block a user