-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#40549] Implement Styled Components for UI elements
- Loading branch information
Showing
11 changed files
with
1,818 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import styled from 'styled-components/macro'; | ||
|
||
const DefaultButton = styled.button` | ||
cursor: pointer; | ||
color: #fff; | ||
font-family: "Lato", sans-serif; | ||
text-transform: uppercase; | ||
font-size: 12px; | ||
font-weight: bold; | ||
border: 1px solid var(--gray-800); | ||
background-color: var(--gray-800); | ||
height: 40px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 0; | ||
transition: 0.4s ease; | ||
border-radius: var(--border-radius); | ||
&:not(:disabled):hover { | ||
background-color: var(--green-400); | ||
border: 1px solid var(--green-400); | ||
} | ||
`; | ||
|
||
export const TopbarButton = styled(DefaultButton)` | ||
padding: 0px 15px; | ||
margin: 5px; | ||
`; | ||
|
||
export default DefaultButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.