Skip to content

Commit

Permalink
feat(dashboard): clerk components font size unification (#6984)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChmaraX authored Nov 14, 2024
1 parent 3fcb257 commit f776f1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 3 additions & 0 deletions apps/dashboard/src/context/clerk-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f776f1b

Please sign in to comment.