Skip to content

Commit

Permalink
frontend with styling buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-pohl committed Jun 4, 2024
1 parent 5290a63 commit 35a37e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Button/Button.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ export const StyledLink = styled(Link)`
display: inline-block;
padding: 10px 20px;
color: white;
background-color: #6200ea;
background-color: var(--primary-color);
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
&:hover {
background-color: #3700b3;
background-color: color-mix(in srgb, var(--primary-color) 80%, white);
}
&:active {
background-color: #03dac5;
background-color: color-mix(in srgb, var(--primary-color) 70%, black);
}
`;
2 changes: 2 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
--default-border-color: lightgrey;
--default-border-radius: 15px;
--header-height: 70px;
--primary-color: #6200ea;


}

Expand Down

0 comments on commit 35a37e7

Please sign in to comment.