RamseyInHouse / scut

Sass utilities for the frontend laborer.
https://ramseyinhouse.github.io/scut/
MIT License
769 stars 61 forks source link

a : unstyled (or link : unstyled) #191

Closed timiyay closed 9 years ago

timiyay commented 9 years ago

Throwing out a tiny mixin to possibly include, for resetting the styling of anchor tags.

I regularly need to reset styling for <a> tags at the class-level, like so:

.my-link-class {
    text-decoration: none;
    color: inherit;
}

I've made a tiny mix-in for it, inspired by scut-list-unstyled. I reach for both of these regularly.

Any interest? Would be quick for me to whip up.

davidtheclark commented 9 years ago

If you would find this useful and pull off a PR, I'm happy to add it. Thanks.

jonscottclark commented 9 years ago

+1, if you find it useful then there are probably others that will benefit

timiyay commented 9 years ago

OK cool. I'll smash it out on the weekend!

jonscottclark commented 9 years ago

Any plans to merge this? If you don't, I'm going to, soon enough. I wanted to reach for it today :)

timiyay commented 9 years ago

@jonscottclark sorry mate, totally blanked. will smash it out now. Gotta do my bit for open source! :)

Any preference for naming, between scut-anchor-unstyled or scut-link-unstyled?

I was leaning towards the latter...

jonscottclark commented 9 years ago

Smashy smashy! :facepunch:

Thanks @timiyay !

davidtheclark commented 9 years ago

Done in 1.3.0