npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

itl-css-utility_classes

v3.0.3

Published

ITL css-utility_classes

Downloads

46

Readme

View styleguide

[ITL] CSS utility_classes

This css file contains lots of handy classes that will improve the efficiency of prototyping webdevelopment. Easily try out different sizes, spacings, colors, fonts all by changing a few classes and without messing around in the stylesheets too much.

This code was written under the context of trying new styles quick and easy on any website. e.g. whenever a client wants to see this and that, you dont need to destroy your stylesheets entirely, but just edit the utility_classes of the elements.

Problems with traditional (S)CSS / LESS / everthing:

Say we have a specific element that just needs a padding-left of 4px. Ideally one would create a new class for this element and then apply the styling to that class. Having lots of these unique elements on a website will rapidly make a mess out of your stylesheets. Iterations where you keep on changing the style of every element will add to this mess.. And before you know it, the stylesheet becomes unmanagable.

Thats where utility_classes steps in as a game changer.

Instead of doing this:

<div class="comment-wrapper-first">Padded comment</div>
.comment-wrapper-first {
    padding-left: 4px;
}

Do this:

<div class="pl4">Padded comment</div>

utility_classes with sass

Extend the classes of utility_classes in your own classes to minimize the code you actually need to write.

@import "~/itl-css-utility_classes/src/scss/itl-utility_classes";

Instead of doing this:

.comment-wrapper-first-disabled {
  cursor: not-allowed;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  outline: none;
}

Do this:

.comment-wrapper-first-disabled {
    @include not-allowed;
    @include no-select;
}

Overriding colors and fonts

Variables are used for the colors and fonts. To override these simply have them set before importing utility_classes.

$redColor: crimson;
$titleFontFamily: "Lato";
$textFontFamily: "Open Sans";

@import "...itl-utility_classes";

Changelog

| version | description | note(s) | |---------|----------------------|------------------------------------------------------------------| | v1.0.0 | initial release | very basic utility classes | | v2.0.0 | refactoring | breaks previous dependencies as the folder structure has changed | | v2.0.1 | binding strength | added important to the responsiveness visibility classes | | v2.0.2 | link-underline fix | the underline should be done with text-decoration not borders | | v2.0.3 | specificity fix | specificity for responsiveness visibility improved | | v2.1.0 | specificity changed | specificity for responsiveness visibility changed / renewed | | v2.1.1 | added reset optional | itl-css_reset: overrides/improves default browser behaviour | | v3.0.0 | mixins > inheritance | change the inherited properties for mixins | | | dont autoload fonts | Autoloading new typefaces from google API made optional | | | allow overrides | Allow color and font overrides | | v3.0.1 | README update | How to use | | v3.0.2 | Specificity (button) | Specifity fix. No need for important everywhere. | | v3.0.3 | underline link | Removed the blue color on link underlines. |

DISCLAIMER utility_classes was written for prototype development; Therefore try to use it only as such.