From f776f1bdf6355a978b47c16649872c621e41a616 Mon Sep 17 00:00:00 2001 From: Adam Chmara Date: Thu, 14 Nov 2024 16:40:30 +0100 Subject: [PATCH] feat(dashboard): clerk components font size unification (#6984) --- .../src/components/side-navigation/organization-dropdown.tsx | 2 +- apps/dashboard/src/context/clerk-provider.tsx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/components/side-navigation/organization-dropdown.tsx b/apps/dashboard/src/components/side-navigation/organization-dropdown.tsx index 6661976741f..866148e6844 100644 --- a/apps/dashboard/src/components/side-navigation/organization-dropdown.tsx +++ b/apps/dashboard/src/components/side-navigation/organization-dropdown.tsx @@ -11,7 +11,7 @@ const OrganizationSwitcherAppearance: OrganizationSwitcherTheme = { organizationSwitcherPopoverActionButton__manageOrganization: { display: 'none', }, - organizationPreviewMainIdentifier: 'text-foreground text-base', + organizationPreviewMainIdentifier: 'text-foreground-950 text-base', organizationPreviewAvatarContainer: 'size-6 rounded-full', organizationPreviewAvatarBox: 'rounded-full size-6', organizationPreview: 'py-1.5 px-4 gap-2', diff --git a/apps/dashboard/src/context/clerk-provider.tsx b/apps/dashboard/src/context/clerk-provider.tsx index 8630959dc52..80c263de0d3 100644 --- a/apps/dashboard/src/context/clerk-provider.tsx +++ b/apps/dashboard/src/context/clerk-provider.tsx @@ -62,6 +62,9 @@ export const ClerkProvider = (props: ClerkProviderProps) => { elements: { formButtonPrimary: cn(buttonVariants({ variant: 'primary' })), }, + variables: { + fontSize: '14px !important', + }, }} localization={CLERK_LOCALIZATION} allowedRedirectOrigins={ALLOWED_REDIRECT_ORIGINS}