Giter VIP home page Giter VIP logo

tachyons-border-colors's People

Contributors

agtlucas avatar johno avatar sndsgn avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tachyons-border-colors's Issues

Invalid HSLa Format

I noticed on the full-page header demo that the b--white-40 class rule was invalid.
After futzing around a bit, I discovered that in Chrome, Firefox and Safari, the hsla() CSS saturation and luminosity value must be a percentage, even when it is zero.
The necessary change is from

.b--white-10 {   border-color: hsla(0, 0, 100%, .1); }
.b--white-25 {   border-color: hsla(0, 0, 100%, .25); }
.b--white-50 {   border-color: hsla(0, 0, 100%, .5); }
.b--white-75 {   border-color: hsla(0, 0, 100%, .75); }
.b--black-10 {   border-color: hsla(0, 0, 0,    .1); }
.b--black-25 {   border-color: hsla(0, 0, 0,    .25); }
.b--black-50 {   border-color: hsla(0, 0, 0,    .5); }
.b--black-75 {   border-color: hsla(0, 0, 0,    .75); }

to

.b--white-10 {   border-color: hsla(0, 0%, 100%, .1); }
.b--white-25 {   border-color: hsla(0, 0%, 100%, .25); }
.b--white-50 {   border-color: hsla(0, 0%, 100%, .5); }
.b--white-75 {   border-color: hsla(0, 0%, 100%, .75); }
.b--black-10 {   border-color: hsla(0, 0%, 0%,    .1); }
.b--black-25 {   border-color: hsla(0, 0%, 0%,    .25); }
.b--black-50 {   border-color: hsla(0, 0%, 0%,    .5); }
.b--black-75 {   border-color: hsla(0, 0%, 0%,    .75); }

in the compiled files

Adding support for Media Query Extensions

Hello,

It does not seem currently possible to change the border color based on the current viewport size. I would like to use the text color on small screens (when displaying items one below the other), while using a default gray color on bigger screen (when displaying them in a grid).

Would it be possible to add the -ns, -m, -l modifiers like in the other modules?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.