Skip to content

Commit

Permalink
feat(ui): update theme change button
Browse files Browse the repository at this point in the history
  • Loading branch information
Valik3201 committed Jan 24, 2024
1 parent e969c95 commit 170dfff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Searchbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const Searchbar = () => {
<Navbar bg={theme} variant={theme} fixed="top">
<Container className="justify-content-center pt-1 pb-1">
<Row className="mb-2 mb-md-0 justify-content-between align-items-center w-100">
<Navbar.Brand as={Col} xs={2} href="#">
<Navbar.Brand as={Col} xs={2}>
Image Finder
</Navbar.Brand>

Expand All @@ -44,7 +44,7 @@ export const Searchbar = () => {
key={idx}
id={`theme-radio-${idx}`}
type="radio"
variant="secondary"
variant={`outline-${theme === 'light' ? 'dark' : 'light'}`}
name="theme"
value={radio.value}
checked={theme === radio.value}
Expand Down

0 comments on commit 170dfff

Please sign in to comment.