colors v2.0.0 Release Notes

Release Date: 2014-07-08 // almost 10 years ago
  • 🍱 colors

    ⚡️ What could possibly have updated

    🆕 New classes for setting border colors on html elements, as well as fills and strokes on svg elements. As I’ve been working a lot with inline svg lately - I’ve been thirsting for the ability to apply color classes to svg elements instead of looking up hex codes and editing the fill value every time I want to change something. Ive been using similar border-color utilities in my tachyons project and thought they’d be useful and appropriate here as well. Also edited the dev workflow that was previously set up with gulp. New plugins and tasks are available.

    Stats

    Even with the additions of border-color, fill and stroke, colors.css remains a small css module that
    won’t add bloat to your existing css.

    colors.css 888b (uncompressed and gzipped)
    colors.min.css 647b (minified and gzipped)
    

    🔄 Changeset

    • ✂ Removes css for styling unqualified link attributes
    • ➕ Adds classes for setting border colors on html elements
    • ➕ Adds classes for setting stroke colors on svg elements
    • ➕ Adds classes for setting fill color on svg elements
    • ➕ Adds gulp plugins for renaming files before magnification. Fixes minifcation bug in build process
    • ✂ Removes livereload gulp plug in in favor of browser-sync.

    Now watch this and try not to smile:
    http://www.youtube.com/embed/7wMEAWcFZg0