feat(webui): add reading text size preferences (#6325)
* feat(webui): add reading text size preferences * fix(webui): align loading skeletons with reading typography
This commit is contained in:
1 parent
816c9221a0
commit
282839cc65
48 files changed
+662
-120
No files matched your search
@@ -59,6 +59,7 @@ import { useMediaQuery } from "@/hooks/useMediaQuery";
|
||||
import { useAppViewport } from "@/hooks/useAppViewport";
|
||||
import type { SendAttachment, SendOptions } from "@/hooks/useNanobotStream";
|
||||
import { ThemeProvider, useTheme } from "@/hooks/useTheme";
|
||||
import { useReadingTypography } from "@/hooks/useReadingTypography";
|
||||
import { logoFallbackUrls } from "@/lib/provider-brand";
|
||||
import { cn } from "@/lib/utils";
|
||||
import {
|
||||
@@ -940,6 +941,7 @@ function resolveRuntimeSurface(
|
||||
export default function App() {
|
||||
useAppViewport();
|
||||
useBrowserNotificationLifecycle();
|
||||
useReadingTypography();
|
||||
const { t } = useTranslation();
|
||||
const [state, setState] = useState<BootState>({ status: "loading" });
|
||||
const bootstrapSecretRef = useRef("");
|
||||
|
||||
Reference in new issue
Block a user