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
+3
-3
@@ -1177,7 +1177,7 @@ function Shell({
|
||||
const updateFlow = useUpdateFlow();
|
||||
const localActive = remoteConnections?.localActive !== false;
|
||||
const managingConnections = remoteConnections?.managing === true && !remoteConnections?.activeHostId;
|
||||
const { theme, toggle } = useTheme();
|
||||
const { theme, preference: themePreference, toggle, setTheme } = useTheme();
|
||||
const managementMain = useRef<HTMLElement>(null);
|
||||
const reportManagementSurface = remoteConnections?.reportManagementSurface;
|
||||
useEffect(() => {
|
||||
@@ -3135,12 +3135,12 @@ function Shell({
|
||||
/> : <Suspense fallback={<StartupShell embedded surface={view} sidebarExpanded={hostSidebarOpen} />}>
|
||||
<SettingsView
|
||||
registerExitGuard={registerSettingsExitGuard}
|
||||
theme={theme}
|
||||
themePreference={themePreference}
|
||||
initialSection={settingsInitialSection}
|
||||
initialSettings={settingsSnapshot}
|
||||
showSidebar={view === "settings"}
|
||||
mainNavigationExpanded={showMainSidebar && hostSidebarOpen}
|
||||
onToggleTheme={toggle}
|
||||
onChangeTheme={setTheme}
|
||||
onBackToChat={onBackToChat}
|
||||
onModelNameChange={onModelNameChange}
|
||||
onSettingsChange={setSettingsSnapshot}
|
||||
|
||||
Reference in new issue
Block a user