Skip to content

Commit 107dbf3

Browse files
committed
color name correction
1 parent 82fdbbc commit 107dbf3

File tree

8 files changed

+26
-25
lines changed

8 files changed

+26
-25
lines changed

TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
- [*] Proper demo components with styles that can be removed quickly
1010
- [ ] Create a protected route component
1111
- [ ] 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} />`
1313
- [ ] Proper step-by-step instructions to use this repo for a new project

config/theme/colors.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ const colors = {
22
white: '#fff',
33
black: '#000',
44

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',
1414

1515
red400: '#Ef5350',
1616
red500: '#F44336',

config/theme/darktheme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const darktheme = {
2727
errorColor: colors.red500,
2828
successColor: colors.green500,
2929
notifColor: colors.green500,
30-
neutralColor: colors.gray200,
30+
neutralColor: colors.grey200,
3131

3232
/* link colors */
3333
linkColor: colors.blue500,

config/theme/whitetheme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const whitetheme = {
1616

1717
/* dark theme */
1818
backgroudColor: colors.white,
19-
textColor: colors.gray900,
19+
textColor: colors.grey900,
2020

2121
/* for UI elements */
2222
primaryColor: colors.green500,
@@ -27,7 +27,7 @@ const whitetheme = {
2727
errorColor: colors.red500,
2828
successColor: colors.green500,
2929
notifColor: colors.green500,
30-
neutralColor: colors.gray200,
30+
neutralColor: colors.grey200,
3131

3232
/* link colors */
3333
linkColor: colors.blue500,

src/App/AppGlobalStyles/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ const GlobalStyles = ({ theme }) => {
6262
}
6363
6464
::-webkit-input-placeholder {
65-
color: ${theme.colors.gray400};
65+
color: ${theme.colors.grey400};
6666
}
6767
::-moz-placeholder {
68-
color: ${theme.colors.gray400};
68+
color: ${theme.colors.grey400};
6969
}
7070
:-ms-input-placeholder {
71-
color: ${theme.colors.gray400};
71+
color: ${theme.colors.grey400};
7272
}
7373
:-moz-placeholder {
74-
color: ${theme.colors.gray400};
74+
color: ${theme.colors.grey400};
7575
}
7676
7777
#modal-root {

src/App/DemoToBeDeleted/components/DemoModal/styled.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import styled from 'styled-components';
22

33
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;
66
77
h3 {
88
margin: 0;
@@ -14,7 +14,7 @@ export const Article = styled.article`
1414
`;
1515

1616
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};
1818
padding: 2rem 1rem 1rem;
1919
display: flex;
2020
justify-content: flex-end;

src/App/DemoToBeDeleted/styled.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Styled = styled.aside`
66
top: 0;
77
bottom: 0;
88
width: 30rem;
9-
background-color: ${props => props.theme.colors.gray100};
9+
background-color: ${props => props.theme.colors.grey100};
1010
display: flex;
1111
flex-direction: column;
1212
`;
@@ -23,13 +23,13 @@ const List = styled.ul`
2323

2424
export const ListItem = styled.li`
2525
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};
2828
`;
2929

3030
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};
3333
padding: 1.5rem 1rem 1.5rem 3rem;
3434
`;
3535

src/components/Modal/styled.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const ModalWrap = styled(Base)`
2727
const Modal = styled.div`
2828
margin: 3rem;
2929
background: ${props => props.theme.colors.white};
30+
color: ${props => props.theme.colors.grey900};
3031
border-radius: 4px;
3132
padding: 1rem;
3233
position: relative;

0 commit comments

Comments
 (0)