style: fix shadow on some clerk components

This commit is contained in:
Stevan Freeborn
2023-09-09 20:10:35 -05:00
parent 9416bbaa05
commit 7ed844729b
5 changed files with 28 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{ {
"css.lint.unknownAtRules": "ignore", "css.lint.unknownAtRules": "ignore",
"cSpell.words": ["nextjs", "signup"] "cSpell.words": ["conve", "nextjs", "signup"]
} }
+7 -1
View File
@@ -3,7 +3,13 @@ import { UserProfile } from '@clerk/nextjs';
export default function AccountPage() { export default function AccountPage() {
return ( return (
<main className='flex flex-col items-center'> <main className='flex flex-col items-center'>
<UserProfile /> <UserProfile
appearance={{
elements: {
card: 'shadow-md',
},
}}
/>
</main> </main>
); );
} }
+7 -1
View File
@@ -3,7 +3,13 @@ import { SignUp } from '@clerk/nextjs';
export default function SignUpPage() { export default function SignUpPage() {
return ( return (
<main className='flex flex-col items-center'> <main className='flex flex-col items-center'>
<SignUp /> <SignUp
appearance={{
elements: {
card: 'shadow-md',
},
}}
/>
</main> </main>
); );
} }
+8 -1
View File
@@ -4,7 +4,14 @@ import Link from 'next/link';
export default function Navbar() { export default function Navbar() {
return ( return (
<nav className='flex items-center justify-between p-5 shadow-md'> <nav className='flex items-center justify-between p-5 shadow-md'>
<ul className='flex items-center gap-4'></ul> <ul className='flex items-center gap-4'>
<li>
conve
<span className='font-bold italic text-4xl text-primary-accent'>
X
</span>
</li>
</ul>
<ul className='flex items-center gap-4'> <ul className='flex items-center gap-4'>
<SignedIn> <SignedIn>
<li> <li>
+5 -1
View File
@@ -7,7 +7,11 @@ const config: Config = {
'./src/app/**/*.{js,ts,jsx,tsx,mdx}', './src/app/**/*.{js,ts,jsx,tsx,mdx}',
], ],
theme: { theme: {
extend: {}, extend: {
colors: {
'primary-accent': '#3743e5',
},
},
}, },
plugins: [], plugins: [],
}; };