-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78b432a
commit b9d6608
Showing
8 changed files
with
64 additions
and
143 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import 'styled-components'; | ||
|
||
import { theme } from 'styles/theme'; | ||
|
||
export type Theme = typeof theme; | ||
|
||
declare module 'styled-components' { | ||
export interface DefaultTheme extends Theme {} | ||
} |
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 was deleted.
Oops, something went wrong.
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,27 @@ | ||
import { createGlobalStyle } from 'styled-components'; | ||
|
||
export default createGlobalStyle` | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
body { | ||
background: ${({ theme }) => theme.colors.background}; | ||
color: ${({ theme }) => theme.colors.black}; | ||
font-family: 'Roboto',sans-serif; | ||
font-size: 1rem; | ||
font-weight: 400; | ||
} | ||
input, | ||
button { | ||
outline: 0; | ||
} | ||
button { | ||
cursor: pointer; | ||
} | ||
`; |
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
export const colors = { | ||
background: '#055388', | ||
white: '#ffffff', | ||
black: '#000000', | ||
'black-secondary': '#212121', | ||
alto: '#dbdbdb', | ||
title: '#2e384d', | ||
green: 'rgb(81, 215, 100)', | ||
}; |
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,5 @@ | ||
import { colors } from './colors'; | ||
|
||
export const theme = { | ||
colors, | ||
}; |