-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
maintainable-ize normalize #1144
Comments
Hi @m-e-h! Thanks for bringing this up. When Normalize was originally added, it was done so to make updating a reset easier. Also, it was added so that we weren't maintaining our own bespoke reset. See: 6c47be9 We may have deviated from it slightly, I'd need to search through the commit history a bit more for the reasons on that. That said, I'd be for updating Normalize. I'd rather not add our own reset since it's more code to maintain, and Normalize seems like a battle-tested solution at this point. I also wouldn't be opposed to using another solution if it's a better fit. |
Normalize is good. As for the lone modification: #895 Maybe start with the updated If we do just want to update normalize and keep it current, not having the version in the header of the file makes it very hard to maintain as a third party file. |
The issue #895 has been fixed upstream so we should be ok in updating. necolas/normalize.css@fe56763
Is there a Normalize version that only supports IE11+? I don't think having Normalize IE8+ will have a negative affect. I am not a CSS expert.
I would suggest keeping the name. Theme developers should know how to work with
I could not find any reason in the history. Maybe @obenland can remember why? 😄 I think adding the version number in the style.css header would not be bad. There is already a PR to update Normalize #1155 |
Good deal. Yeah ie8+ isn't a bad thing. Not really even sure why I pointed that out 😃 I think documentation, like you said, is the best thing for developers. I'm not 100% but I think SCSS will remove single line comments starting with
What do you think? |
Currently, _s uses a condensed version of the Normalize.css. If we want to keep the original comments, we have to decide to use original styles, not condensed. Was it done before to make scss easier to compile? |
@m-e-h, as far as I know, developers are the only people who use I suggest using the original
|
@Ismail-elkorchi I agree. I'm not trying to remove comments, I'm suggesting a compromise so they can be included. I'm just assuming comments were originally removed to have a clean I actually think comments in
or this
|
@m-e-h we don't disagree 😃. My point was to suggest including |
I'd be for displaying the comments in both Sass and main stylesheet. That may change depending on decisions around a build process, but we can figure that out later. I'd also be for just including normalize as it is in the "normal" version, so it's easier to maintain. @mtomas7 Feel free to update your pull request. |
@mtomas7 has kindly updated his pull request but I see that Do we want to make that one small change from spaces to tabs? |
Yes, |
I'm pretty sure that doesn't apply to external libraries |
In it's current form the
normalize.scss
file is a bit of a mystery.So is normalize being used as an un-editable drop in? It looks like it has been edited once since it was first added.
Is it something that was planned to be kept in sync with the Normalize project? If so, what version are we currently using? There are no comments or file headers to indicate this. I'm guessing it's around version 4 since the
menu
html element is being styled.I say we forget about normalize (or anything else) as a drop-in and create a reset that fits and evolves with
_s
.Sure, use
normalize.css
as a reference but there are others likesanitize.css
and Bootstrap'sreboot.css
that have well documented solutions for reference too.If this IS
normalize.css
, maybe update it and keep the header info and comments in the file.If it's NOT
normalize.css
, maybe rename the file to eliminate confusion. Also folks might be more willing to make pull requests on it.The text was updated successfully, but these errors were encountered: