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

Move all component styles into a separate CSS file #12

Open
sjason19 opened this issue Apr 30, 2018 · 0 comments
Open

Move all component styles into a separate CSS file #12

sjason19 opened this issue Apr 30, 2018 · 0 comments

Comments

@sjason19
Copy link
Owner

Context: Right now most styles are hardcoded into the react component itself, we want to have those moved out of the components and into a respective CSS file.

Example: In src/components/SignIn.js you can see how there is a hardcoded CSS variable called "test" var test = { margin: 'auto', width: '15%', }

What we want to do is to move this into a separate file under src/components/styles and call it SignIn.cs

A good example of how this is done is in src/components/styles/SignUp.css, you can see how all the styles are contained here.

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

No branches or pull requests

1 participant