Refine admin PWA layout and tamagui usage
This commit is contained in:
@@ -59,7 +59,7 @@ const BACKGROUND_PRESETS = [
|
||||
},
|
||||
];
|
||||
const DEFAULT_BODY_FONT = 'Manrope';
|
||||
const DEFAULT_DISPLAY_FONT = 'Fraunces';
|
||||
const DEFAULT_DISPLAY_FONT = 'Archivo Black';
|
||||
|
||||
export default function MobileQrLayoutCustomizePage() {
|
||||
const { slug: slugParam, tokenId: tokenParam } = useParams<{ slug?: string; tokenId?: string }>();
|
||||
@@ -1206,7 +1206,7 @@ function LayoutControls({
|
||||
const [openColorSlot, setOpenColorSlot] = React.useState<string | null>(null);
|
||||
const { border, surface, surfaceMuted, text, textStrong, muted, overlay, shadow, danger } = useAdminTheme();
|
||||
const fontOptions = React.useMemo(() => {
|
||||
const preset = ['Fraunces', 'Manrope', 'Inter', 'Roboto', 'Lora'];
|
||||
const preset = ['Archivo Black', 'Manrope', 'Inter', 'Roboto', 'Lora'];
|
||||
const tenant = tenantFonts.map((font) => font.family);
|
||||
return Array.from(new Set([...tenant, ...preset]));
|
||||
}, [tenantFonts]);
|
||||
|
||||
Reference in New Issue
Block a user