Remove the overwriting of the default <a> functionality #84
Description
I thought about adding to the existing discussion on closed issue #38 but I didn't want it to be missed.
Quoting a reply in the discussion.
Phase one of this project is definite more on the CSS framework side of things. Just the stuff you need to get started on a project, with some useful helper classes.
This doesn't seem accurate.
Looking at the code here it seems that the project is already drifting away from basic rules to opinionated design that will have a marked effect on both the ability of developers to overwrite basic styles and the rendering performance within browsers.
Take the code and mixin that is referenced here
p > a {
// Good example of slim underline. We'll want to use this on body copy/quotes
color: inherit;
@include slim-underline;
}
There's now a global selector with a specificity of 0,0,2 that will affect every page the code is added to. It's overwriting the default styles applied to an a
tag with behaviour reduces visibility of the link, requires more processing power, and includes hacks for webkit browsers.
Is this really the intended direction of the project? It seems not.
Chassis is an attempt at creating open standards designed for CSS libraries, JavaScript UI libraries, and web developers in general. This project will define standards for markup and class names for common widgets and patterns, as well as an implementation of those standards. Just like DOM libraries can build upon Sizzle, we hope UI libraries will build upon this.