feat(webui): refine appearance and add custom reading sizes
This commit is contained in:
1 parent
b048cf44f7
commit
ef8271b2c0
38 files changed
+1148
-213
No files matched your search
@@ -129,6 +129,8 @@ type SettingsViewTestOptions = Partial<Pick<
|
||||
React.ComponentProps<typeof SettingsView>,
|
||||
| "initialSection"
|
||||
| "initialSettings"
|
||||
| "themePreference"
|
||||
| "onChangeTheme"
|
||||
| "skills"
|
||||
| "skillsLoading"
|
||||
| "showSidebar"
|
||||
@@ -151,14 +153,14 @@ export function renderSettingsView(options: SettingsViewTestOptions = {}) {
|
||||
},
|
||||
} as never} token="tok">
|
||||
<SettingsView
|
||||
theme="light"
|
||||
themePreference={options.themePreference ?? "light"}
|
||||
initialSection={options.initialSection ?? "apps"}
|
||||
initialSettings={options.initialSettings}
|
||||
skills={options.skills}
|
||||
skillsLoading={options.skillsLoading}
|
||||
showSidebar={options.showSidebar}
|
||||
mainNavigationExpanded={options.mainNavigationExpanded}
|
||||
onToggleTheme={() => {}}
|
||||
onChangeTheme={options.onChangeTheme ?? (() => {})}
|
||||
onBackToChat={options.onBackToChat ?? (() => {})}
|
||||
onModelNameChange={() => {}}
|
||||
onSettingsChange={options.onSettingsChange}
|
||||
|
||||
Reference in new issue
Block a user