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

@iwatakeshi/uniformcss

v1.6.0

Published

A fully configurable utility class generator and CSS framework built for Sass projects.

Downloads

1,033

Readme


Introduction

UniformCSS is a fully configurable utility generator and CSS framework built entirely in Sass. Get the power of a utility-first workflow without losing the productiveness of Sass. To see documentation, visit uniformcss.com

  • Load and configure Uniform directly in Sass
  • Build complex UI without ever touching your CSS
  • Customizable CSS variable support
  • Strict and consistent naming convention
  • Collapse pseudo variants with comma compression
  • Change utility shorthands, delimiters, and more
  • Extract reusable components with apply() mixin
  • Access theme settings with API functions
  • Enjoy a wide range of colors, tints, shades, and opacities
  • Built-in custom keyframe and animation support

Getting Started

Here are the instructions to build your first uniform.css. Please make sure you have the prerequisites installed before continuing on with the installation steps.

Prerequisites

Before you get started, ensure you have the following installed.

Install Dart Sass on Mac OS X or Linux

Install Dart Sass with Homebrew on Mac OS X or Linux by running the following command.

brew install sass/sass/sass

Install Dart Sass on Windows

Install Dart Sass with Chocolatey on Windows by running the following command.

choco install sass

Load and Compile Uniform

Add Uniform as a Sass module to your main.scss project. Follow these steps to load UniformCSS, compile, and watch for changes.

  1. Clone the repository
    # Change directory to where your main sass file lives
    cd my-project/sass/
    
    # Clone project
    git clone https://github.com/ThinkUniform/uniformcss
  2. Include the Uniform module in your main.scss
    // main.scss
    @use "uniform" as *;
  3. Compile your uniform.css
    yarn uniform
  4. Alternatively, you can compile and watch for changes
    yarn uniform:watch
  5. Configure Uniform (optional)
    // main.scss
    @use "uniform" as * with (
      $config: (
        important: true,
        comma-compression: true,
        prefix: myProject,
        colors: (
          custom-color-1: red,
          custom-color-2: blue
        ),
        ...
      )
    );

Community

If you're ever stuck, need help, or wish to have a general discussion about this project, please get involved with the following community channels.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Thanks to all the people that have contributed in making this project great!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

The source code is licensed under the MIT agreement. You are more than welcome to clone and customize this repo to suit your needs.

Contact

Jin Su Park – Creator and Author @jinsujinsupark.com