@@ -7,12 +7,12 @@ import { TierIds } from '@wasp/shared/constants';
77export default function AccountPage ( { user } : { user : User } ) {
88 return (
99 < div className = 'mt-10 px-6' >
10- < div className = 'overflow-hidden bg-white ring-1 ring- gray-900/10 shadow-lg sm:rounded-lg lg:m-8 ' >
10+ < div className = 'overflow-hidden border border- gray-900/10 shadow-lg sm:rounded-lg lg:m-8 dark:border-gray-100/10 ' >
1111 < div className = 'px-4 py-5 sm:px-6 lg:px-8' >
1212 < h3 className = 'text-base font-semibold leading-6 text-gray-900' > Account Information</ h3 >
1313 </ div >
14- < div className = 'border-t border-gray-200 px-4 py-5 sm:p-0' >
15- < dl className = 'sm:divide-y sm:divide-gray-200 ' >
14+ < div className = 'border-t border-gray-900/10 dark:border-gray-100/10 px-4 py-5 sm:p-0' >
15+ < dl className = 'sm:divide-y sm:divide-gray-900/10 sm:dark:divide-gray-100/10 ' >
1616 { ! ! user . email && (
1717 < div className = 'py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6' >
1818 < dt className = 'text-sm font-medium text-gray-500 dark:text-white' > Email address</ dt >
@@ -22,7 +22,9 @@ export default function AccountPage({ user }: { user: User }) {
2222 { ! ! user . username && (
2323 < div className = 'py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6' >
2424 < dt className = 'text-sm font-medium text-gray-500 dark:text-white' > Username</ dt >
25- < dd className = 'mt-1 text-sm text-gray-900 dark:text-gray-400 sm:col-span-2 sm:mt-0' > { user . username } </ dd >
25+ < dd className = 'mt-1 text-sm text-gray-900 dark:text-gray-400 sm:col-span-2 sm:mt-0' >
26+ { user . username }
27+ </ dd >
2628 </ div >
2729 ) }
2830 < div className = 'py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6' >
@@ -50,8 +52,10 @@ export default function AccountPage({ user }: { user: User }) {
5052 ) }
5153 </ div >
5254 < div className = 'py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6' >
53- < dt className = 'text-sm font-medium text-gray-500' > About</ dt >
54- < dd className = 'mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0' > I'm a cool customer.</ dd >
55+ < dt className = 'text-sm font-medium text-gray-500 dark:text-white' > About</ dt >
56+ < dd className = 'mt-1 text-sm text-gray-900 dark:text-gray-400 sm:col-span-2 sm:mt-0' >
57+ I'm a cool customer.
58+ </ dd >
5559 </ div >
5660 </ dl >
5761 </ div >
@@ -85,7 +89,7 @@ function CustomerPortalButton() {
8589
8690 return (
8791 < div className = 'ml-4 flex-shrink-0 sm:col-span-1 sm:mt-0' >
88- < button onClick = { handleClick } className = { `font-medium text-sm text-indigo-600 hover:text-indigo-500` } >
92+ < button onClick = { handleClick } className = { `font-medium text-sm text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300 ` } >
8993 Manage Subscription
9094 </ button >
9195 </ div >
0 commit comments