File tree 8 files changed +26
-25
lines changed 8 files changed +26
-25
lines changed Original file line number Diff line number Diff line change 9
9
- [ * ] Proper demo components with styles that can be removed quickly
10
10
- [ ] Create a protected route component
11
11
- [ ] Add new component for showing the notifications
12
- - [ ] Add table component that can recive data like these ` <Table header={object[]} body={any[][]} minWidth={number} /> `
12
+ - [ ] Add table component that can recieve data like these ` <Table header={object[]} body={any[][]} minWidth={number} /> `
13
13
- [ ] Proper step-by-step instructions to use this repo for a new project
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ const colors = {
2
2
white : '#fff' ,
3
3
black : '#000' ,
4
4
5
- gray100 : '#F5F5F5' ,
6
- gray200 : '#EEEEEE' ,
7
- gray300 : '#E0E0E0' ,
8
- gray400 : '#BDBDBD' ,
9
- gray500 : '#9E9E9E' ,
10
- gray600 : '#757575' ,
11
- gray700 : '#616161' ,
12
- gray800 : '#424242' ,
13
- gray900 : '#212121' ,
5
+ grey100 : '#F5F5F5' ,
6
+ grey200 : '#EEEEEE' ,
7
+ grey300 : '#E0E0E0' ,
8
+ grey400 : '#BDBDBD' ,
9
+ grey500 : '#9E9E9E' ,
10
+ grey600 : '#757575' ,
11
+ grey700 : '#616161' ,
12
+ grey800 : '#424242' ,
13
+ grey900 : '#212121' ,
14
14
15
15
red400 : '#Ef5350' ,
16
16
red500 : '#F44336' ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const darktheme = {
27
27
errorColor : colors . red500 ,
28
28
successColor : colors . green500 ,
29
29
notifColor : colors . green500 ,
30
- neutralColor : colors . gray200 ,
30
+ neutralColor : colors . grey200 ,
31
31
32
32
/* link colors */
33
33
linkColor : colors . blue500 ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const whitetheme = {
16
16
17
17
/* dark theme */
18
18
backgroudColor : colors . white ,
19
- textColor : colors . gray900 ,
19
+ textColor : colors . grey900 ,
20
20
21
21
/* for UI elements */
22
22
primaryColor : colors . green500 ,
@@ -27,7 +27,7 @@ const whitetheme = {
27
27
errorColor : colors . red500 ,
28
28
successColor : colors . green500 ,
29
29
notifColor : colors . green500 ,
30
- neutralColor : colors . gray200 ,
30
+ neutralColor : colors . grey200 ,
31
31
32
32
/* link colors */
33
33
linkColor : colors . blue500 ,
Original file line number Diff line number Diff line change @@ -62,16 +62,16 @@ const GlobalStyles = ({ theme }) => {
62
62
}
63
63
64
64
::-webkit-input-placeholder {
65
- color: ${ theme . colors . gray400 } ;
65
+ color: ${ theme . colors . grey400 } ;
66
66
}
67
67
::-moz-placeholder {
68
- color: ${ theme . colors . gray400 } ;
68
+ color: ${ theme . colors . grey400 } ;
69
69
}
70
70
:-ms-input-placeholder {
71
- color: ${ theme . colors . gray400 } ;
71
+ color: ${ theme . colors . grey400 } ;
72
72
}
73
73
:-moz-placeholder {
74
- color: ${ theme . colors . gray400 } ;
74
+ color: ${ theme . colors . grey400 } ;
75
75
}
76
76
77
77
#modal-root {
Original file line number Diff line number Diff line change 1
1
import styled from 'styled-components' ;
2
2
3
3
export const Header = styled . header `
4
- border-bottom: 1px solid ${ props => props . theme . colors . gray300 } ;
5
- padding: 1rem 1rem 2rem;
4
+ border-bottom: 1px solid ${ props => props . theme . colors . grey300 } ;
5
+ padding: 1rem 1rem 2rem;
6
6
7
7
h3 {
8
8
margin: 0;
@@ -14,7 +14,7 @@ export const Article = styled.article`
14
14
` ;
15
15
16
16
export const Footer = styled . footer `
17
- border-top: 1px solid ${ props => props . theme . colors . gray300 } ;
17
+ border-top: 1px solid ${ props => props . theme . colors . grey300 } ;
18
18
padding: 2rem 1rem 1rem;
19
19
display: flex;
20
20
justify-content: flex-end;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const Styled = styled.aside`
6
6
top: 0;
7
7
bottom: 0;
8
8
width: 30rem;
9
- background-color: ${ props => props . theme . colors . gray100 } ;
9
+ background-color: ${ props => props . theme . colors . grey100 } ;
10
10
display: flex;
11
11
flex-direction: column;
12
12
` ;
@@ -23,13 +23,13 @@ const List = styled.ul`
23
23
24
24
export const ListItem = styled . li `
25
25
padding: 1rem;
26
- background-color: ${ props => props . theme . colors . gray300 } ;
27
- color: ${ props => props . theme . colors . gray900 } ;
26
+ background-color: ${ props => props . theme . colors . grey300 } ;
27
+ color: ${ props => props . theme . colors . grey900 } ;
28
28
` ;
29
29
30
30
export const ListSubItem = styled ( ListItem ) `
31
- background-color: ${ props => props . theme . colors . gray100 } ;
32
- border-bottom: ${ props => '1px solid' + props . theme . colors . gray300 } ;
31
+ background-color: ${ props => props . theme . colors . grey100 } ;
32
+ border-bottom: ${ props => '1px solid' + props . theme . colors . grey300 } ;
33
33
padding: 1.5rem 1rem 1.5rem 3rem;
34
34
` ;
35
35
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const ModalWrap = styled(Base)`
27
27
const Modal = styled . div `
28
28
margin: 3rem;
29
29
background: ${ props => props . theme . colors . white } ;
30
+ color: ${ props => props . theme . colors . grey900 } ;
30
31
border-radius: 4px;
31
32
padding: 1rem;
32
33
position: relative;
You can’t perform that action at this time.
0 commit comments