feat: add theming

This commit is contained in:
Stevan Freeborn
2023-09-09 21:39:08 -05:00
parent 272355d9a0
commit 4b6fec0841
11 changed files with 141 additions and 30 deletions
+6 -1
View File
@@ -1,3 +1,5 @@
'use client';
import { UserProfile } from '@clerk/nextjs';
export default function AccountPage() {
@@ -6,7 +8,10 @@ export default function AccountPage() {
<UserProfile
appearance={{
elements: {
card: 'shadow-md',
card: 'shadow-md dark:bg-secondary-gray [&_*:not(button):not(a)]:dark:text-white',
navbar: 'dark:bg-secondary-gray [&_*]:dark:text-white',
formFieldInput: 'dark:bg-primary-gray dark:text-white',
profileSectionTitle: 'dark:border-white dark:border-opacity-10',
},
}}
/>