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

Document _sass folder #109

Open
Tomasz-Kluczkowski opened this issue Mar 21, 2018 · 0 comments
Open

Document _sass folder #109

Tomasz-Kluczkowski opened this issue Mar 21, 2018 · 0 comments

Comments

@Tomasz-Kluczkowski
Copy link
Contributor

Document and set some standards what css goes where, naming policy, global styles vs local etc. At this moment I am trying to keep each section's css code separate so everything is easily swapable. Also we are trying to stick to kind of BEM (block - element methodology) Each section has its name which is the first part of the name of any css class indicating to which section it belongs. Then after __ we have the element's name and its details. We are avoiding names like -red or -blue, instead indicate -button or -link to suggest the elements use instead of style.
It is not perfectly done but makes reading the css code way much easier for the future.
More on:
https://en.bem.info/methodology/

@Tomasz-Kluczkowski Tomasz-Kluczkowski changed the title Document _sass Document _sass folder Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant