tachyons-css / tachyons

Functional css for humans
https://tachyons.io
MIT License
11.64k stars 677 forks source link

Nested link colors break styles #687

Closed BinaryMoon closed 1 year ago

BinaryMoon commented 3 years ago

Tachyons says it does not change default link styles but it does in .nested.

https://github.com/tachyons-css/tachyons/blob/master/src/_nested.css#L47-L56

I would like to suggest 2 things

  1. changing .nested a to .nested .link.
  2. removing the color attribute.

Thanks

mud1tx commented 1 year ago

@BinaryMoon I can work on this issue can you please what I have to do.

mrmrs commented 1 year ago

Those aren't default link styles though. You would need to have a wrapper class of nested on an element and then it will change those. The purpose of these wrapper classes is to style markup you don't have access to, like something generated from markdown or a CMS.