-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Markup review #60
Comments
Agreed to all individual points as well as the general sentiment that too much markup is going to scare people away and defeats the point of being a lean starting point. I also looked up the The |
👍 Agree with all this. I too was wondering about these things. |
Thanks for the feedback @paulirish. I'll put together some PRs to address these. Looks like @passy has already nailed some of them. As |
styles.scss (/sass) contain the visual styles we give you from the Style Guide. They contain the styling for buttons, grids, typography and so on. A pre-built unminified version of this file is included in the pack for those that want to use those styles, but don't opt to use the tooling. main.css contains styles specific to the default layout included in the main boilerplate (index.html). They're extremely lean. The reason these files are separate is to enable choice. If you don't choose to use our style guide and styles, you can simply delete them. You can still go and use index.html and main.css to get the default look and feel. If however you're happy to go all in, you would use styles + main. Does that make sense? Totally open to simplifying this if it's too complex |
Sounds good. Maybe "styles" to "component_styles" ? Kind of small fish though. Im OK either way. |
How about just |
^ I like components.scss. Any other votes? |
Sgtm |
|
Thanks for your feedback once again, Paul. PR is in for component renaming. On your latest items:
|
For #60 - add correct docs link for canonical
@paulirish Closing up on this one as PRs for everything mentioned have been merged to master now. If there is anything else at all you feel still needs work please do holler! |
Update: many of these have now been addressed.
Having gone through the release of h5bp and its lifetime, I think the current state of the markup in w-s-k is too heavy. There are some things in here that are low value and unnecessary.. but some higher value things that I think could be considered to be a non-default as they just add to perception that this is too heavy and bloated. We can avoid that, while still delivering a lot of value with the project.
I'm sorry that I dumped a bunch of issues into a single ticket. :(
Details below.
These are in for barely legitimate reasons. It's time for them to die.
cleartype
cleartype on for mobile IE? Lets let mobile IE handle its own type rendering. This is the sort of feature that will be considered bloat.
#### touch-icons, favicon
h5bp killed the markup reference for these.
h5bp/html5-boilerplate#1367
It makes the markup feel wayyy better. let's copy that.
This also feels low-value. I would prefer it's in https://github.com/h5bp/html5-boilerplate/blob/master/doc/extend.md and we say, consider whats in there if you want.
why disable?
#### prevents links from opening in Mobile Safari.
seems risky.
#### microdata
does it really make sense to declare every page built with this as a Article?
and meanwhile also default to being a standalone app?
This isn't valid, nor registered. http://wiki.whatwg.org/wiki/MetaExtensions
I swear that google recommends a different pattern for defining the mobile site vs desktop site. It's in Smus's multidevice h5r article from a while ago.
#### styles difference
what's the difference between what's in styles.scss vs main.css ?
are no-js and no-touch removed somewhere?
The text was updated successfully, but these errors were encountered: