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

tune-css

v0.1.4

Published

A configurable base stylesheet for all browsers and devices.

Downloads

5

Readme

Tune-css

A configurable base stylesheet for all browsers and devices.

Tune-css brings the essentials of normalize.css, fluidity and html5 boilerplate together and allows you to configure the defaults they set using sass.

Tune-css also sets vertical-rhythm using the techniques described by Harry Roberts here, and it includes defaults from Adam Morse's Links and Buttons. But these more opinionated styles can easily be removed using the configuration options.

Features

  • Adapts output to browsers, and minimum versions to support.
  • Uses the same browser names/keys as Browserslist.
  • Includes options for more opinionated base styles (vertical rhythm, typescale, margins, etc.).
  • Allows developers to customize the styles applied for normalization*.
  • Allows developers to selectively include normalize/fluidity/h5bp modules.
  • Allows developer to control how length units are converted.

*In some cases, browser-support may require a fixed style, which will override the custom styles provided by the developer.

Coming soon

  • Split modules into elements that can be imported separately
  • Allow including modules dynamically and/or using mixins
  • Include fallbacks for legacy browsers (rem, text-decoration shorthand, colors, etc.)
  • Warn in cases custom styles conflict with browser support (Instead of overriding).
  • Optionally warn for modules that are not included in the output.
  • Advanced normalization of form elements?? (Better to leave default styles seen sparse support?)

Credits

Tune-css started as a fork from John Albin's normalize-scss, a normalize.css port to Sass. It allows more fine-grainded tuning out of the box, tests for browser support more precisely, and adds more opinionated styles.

These additions come mainly from the works of Adam Morse and Harry Roberts.