-
Notifications
You must be signed in to change notification settings - Fork 4
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
Restructured the default-styles module into a wysiwyg module #14
Conversation
My preference would be to style margin+styles of not a huge fan of this in
What if we put something like this in
|
I guess it makes sense to reset |
I think adding two levels of specificity ( The reason being, that if you want to add some top margin on a BEM module:
|
Maybe we just need to add the |
So, the idea is, we're only applying the things that are actually needed on every project, and relying on normalize for the rest. So you really don't need any specific things for p, ol, ul on every project until you actually see the design. For your point @reubenmoes, anything that is specific to just wysiwyg content and not global you'd put in |
@reubenmoes have you built any projects with normalize.css yet? I'd be curious if you've encountered that issue I'm trying to deal with. Maybe we do reset the margins on |
Redlands will be my first normalize project however I got rid of the
|
@reubenmoes What do you think about merging this and addressing resetting in a separate thread/pr? |
yup |
+1 for merge |
Restructured the default-styles module into a wysiwyg module
Since A) we're using normalize.css by default, and B) the
_default-styles.scss
module was largely misused, I've restructured this into a much more obvious form. It's much clearer now that this module is only for content output by a wysiwyg, and the number of items in the module is greatly reduced since we're using normalize. This promotes better defaults in_base.scss
, moving to a more Inverted Triangle CSS pattern (https://www.youtube.com/watch?v=1OKZOV-iLj4).