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

bui-css

v2.3.1

Published

A contemporary, approachable css library for prototyping and beyond

Downloads

5

Readme

Bui CSS

A friendly, buoyant css library

Quick start

  • Clone the repo: git clone https://github.com/ndchristie/bui and run the following command: npm run build
  • Install with npm: npm install bui-css

Both methods will yield the following folder structure, containing compiled and minified css:

bui-css/
└── lib/
    └── css/
        ├── bui.css
        ├── bui.css.map
        ├── bui.min.css
        └── bui.min.css.map

If you wish to use the source scss files, you can find these in bui-css/src/stylesheets/.

Features

Accessibility First

All of the pairings found in Bui's classes and mixins meet the requirements for WCAG 2.0 level AA or higher for normal text.

Bui also helps users with common types of colorblindness. By shifting the classic green-red split towards teal and orange, these users are better able to distinguish actions at a glance, improving confidence and reducing mistakes, without sacrificing information or aesthetics for non-colorblind users.

Color Modifiers

Bui uses 5 value modifiers and 6 hue modifiers to map a wide range of colors.

Value Modifiers

The modifier classes _dark, _deep, _loud, _soft, and _white all affect the relative value of a region, as well as modifying text color to maintain readability. The first two have bright text on darker backgrounds, while the others have dark text. These classes can be nested, with the closest ancestor taking precedence. The _white class can be used to overrule the hue modifiers below.

Hue Modifiers

The modifer classes _main, _cool, _warm, _hot, and _extra all affect the relative hue of a region. These further modify the the _dark, _deep and _loud modifiers; As such they have no effect when alone or with the _white modifier.

In an effort to keep filesize down, hue modifiers cannot be nested, but the order of precedence should afford most common cases. If you are using the source scss, you can import the mixins from bui-css/src/stylesheets/vars/color.scss.