Skip to content

Commit

Permalink
Merge pull request #93 from the-collab-lab/km-add-darkmode-border-sin…
Browse files Browse the repository at this point in the history
…gout-card

Added dark mode border to sign in card
  • Loading branch information
MiliMade authored Apr 7, 2024
2 parents 5d7fa2b + c086566 commit ad69b4c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/views/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,16 @@ export function Home({ data, setListPath, userEmail, userId }) {
m: '25px 0',
}}
>
<Box className="welcome-card">
<Box
className="welcome-card"
sx={{
border: (theme) => {
return theme.palette.mode === 'dark'
? '1.5px solid #f8f9fa'
: '1.5px solid #003780';
},
}}
>
<Typography
variant="h4"
component="h2"
Expand Down Expand Up @@ -175,7 +184,6 @@ export function Home({ data, setListPath, userEmail, userId }) {
}}
/>
<Button

type="submit"
disabled={shoppingListName.length === 0}
sx={{
Expand All @@ -190,7 +198,6 @@ export function Home({ data, setListPath, userEmail, userId }) {
fontSize: '1.5rem',
margin: '10px',
}}

>
Submit
</Button>
Expand Down

0 comments on commit ad69b4c

Please sign in to comment.