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 🙏

© 2024 – Pkg Stats / Ryan Hefner

css-toolkit

v0.6.7

Published

CSS Toolkit is a lightweight and scalable collection of CSS utilities.

Downloads

6

Readme

CSS Toolkit

npm version

CSS Toolkit is a lightweight and scalable collection of CSS utilities. It uses an expressive approach to writing lightweight, scalable utility classes that are easy to write and understand.

The toolkit does not impose any theme-specific styles or UI components, so you're free to architect your code in the way that you want.

Only 2.5kb gzipped!

Homepage: http://css-toolkit.com Source: https://github.com/adsric/css-toolkit

Quick Start

Choose one of the following options:

  1. Download and add the main file of the CSS Toolkit in the header of your project. For example:

    <link rel="stylesheet" href="css-toolkit/dist/toolkit.min.css">

    Or use the CDN Link

    <link rel="stylesheet" href="https://npmcdn.com/[email protected]/dist/toolkit.min.css">
  2. Install with npm: npm install css-toolkit And build your website-specific theme styles in your build process with PostCSS. For example:

    @import "css-toolkit";
    
    :root {
      --body-color: #fff;
      --body-bg: #333;
    }
  3. Clone the git repo — git clone https://github.com/adsric/css-toolkit.git - and explore all the code!

Features

  • Designed with progressive enhancement in mind.
  • Modular-based development.
  • Modern CSS features (Future-proof).
  • Includes:
    • autoprefixer adds vendor prefixes, using data from caniuse.
    • custom media queries CSS spec to to have semantic media queries.
    • custom properties & var() transformation of native CSS spec custom properties.
    • custom selectors CSS spec to create your own selectors.
    • reduced calc() allows you to use safely calc with custom properties & var().
  • No Side Effects – things behave exactly as expected with design-agnostic semantic classes.
  • Unassuming – styles that don’t dictate what things should look like.
  • Extensive inline and accompanying documentation.

Documentation

Take a look at the documentation table of contents. This documentation is bundled with the project, which makes it readily available for offline reading.

Browser Support

  • Edge
  • Firefox 28+
  • Google Chrome (latest)
  • Internet Explorer 11+
  • Opera (latest)
  • Safari 6.1+

License

The code is available under the MIT license.