Skip to content

Commit

Permalink
#10 Update button style
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 20, 2023
1 parent 5e87dee commit 2d482cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import NavDropdown from "react-bootstrap/NavDropdown";
import logo from "../assets/logo.webp";
import { NavLink } from "react-router-dom";
import styles from "../styles/NavBar.module.css";
import btnStyles from "../styles/Button.module.css"

const NavBar = () => {
return (
Expand Down Expand Up @@ -61,7 +62,9 @@ const NavBar = () => {
className="me-2"
aria-label="Search"
/>
<Button className={styles.ButtonPrimary}>
<Button className={
`${btnStyles.Button} ${btnStyles.Bright}`
}>
Search
</Button>
</Form>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/Button.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.Button {
font-size: 0.8rem;
align-self: center;
border-radius: 100px;
border-radius: 10px;
border-color: transparent;
padding: 4px 10px;
margin-left: 2px;
Expand Down
4 changes: 2 additions & 2 deletions src/styles/NavBar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
font-weight: 500;
}

.ButtonPrimary {
/* .ButtonPrimary {
padding: 5px 10px;
background-color: var(--clr-accent-dark);
color: var(--clr-primary-light);
border: 0px;
}
} */
2 changes: 1 addition & 1 deletion src/styles/SignInUpForm.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
background: var(--clr-primary-light);
border: 1px solid var(--clr-accent-light);
box-sizing: border-box;
border-radius: 50px;
border-radius: 10px;
color: var(--clr-accent-dark);
text-align: center;
padding: 8px;
Expand Down

0 comments on commit 2d482cc

Please sign in to comment.