Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a style file for each component #270

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EnechukwuChibuike
Copy link

Created componentName.styles for all the components
Separated the useStyles from the components

@ravisaxena23
Copy link
Collaborator

Thankyou @EnechukwuChibuike

@ravisaxena23
Copy link
Collaborator

@EnechukwuChibuike can you please make this PR in our another branch name separateCSS

backgroundPositionX: 'center',

width: "100%",

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what you have changed here

text: {
appearance: 'none',
width: '100%',
appearance: "none",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these things should be in the separate CSS file of contacts components

>
<div style={{ backgroundColor: '#24292E' }}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want double-quotes. Move this CSS in separate file

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want double-quotes. Move this CSS in separate file

Calm down
You know you used material-ui framework
Not all styles can be moved to a different file

Comment on lines -230 to +241
<Card style={{ borderRadius: '10px', fontSize: '14px' }} className="card--shadow">
<Card
style={{ borderRadius: "10px", fontSize: "14px" }}
className="card--shadow"
>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing is changed in these lines

Comment on lines -12 to -37
appearance: 'none',
width: '100%',
padding: '5px',
height: '35px',
borderRadius: '5px',
outline: 'none',
border: 'none',
background: '#e8ebed',
color: '#576366',
fontSize: '14px'
},
textDisabled: {
appearance: 'none',
width: '100%',
padding: '5px',
height: '35px',
borderRadius: '5px',
outline: 'none',
border: 'none',
background: 'rgb(212, 213, 214)',
color: '#576366',
fontSize: '14px'
},
label: {
color: '#e83b7c'
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as previous code

@EnechukwuChibuike
Copy link
Author

@EnechukwuChibuike can you please make this PR in our another branch name separateCSS

Ok

@EnechukwuChibuike
Copy link
Author

You didn't accept my pull request

@EnechukwuChibuike
Copy link
Author

@ravisaxena23 Accept my pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants