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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dino-labs/stylelint-config

v0.2.0

Published

Shared Stylelint config for Dino Design: semantic tokens only, no raw values, no margins.

Readme

@dino-labs/stylelint-config

The shared Stylelint config for Dino Design, an open-source agentic design system. It keeps stylesheets on-system: semantic tokens instead of raw values, and padding and gap instead of margins.

Early release. Versions 0.x may tighten rules between minor versions. The release notes list each change.

Install

npm install --save-dev @dino-labs/stylelint-config stylelint
// stylelint.config.js
export { default } from '@dino-labs/stylelint-config';

What it checks

  • Tokens, not raw values. Colour, fill, stroke, padding, gap, radius, font family, size and weight, letter-spacing, line-height and durations take a custom property, including inside shorthands such as border and transition. Plain keywords such as inherit, transparent, currentColor, none and 0 are fine.
  • Custom properties that exist. Every var() names a Dino Design token, one of your site tokens, or a property declared in the same stylesheet. A var() with a fallback, such as var(--card-gap, var(--dino-space-m)), is a knob and passes.
  • Semantic tokens only. Primitive tokens such as --dino-base-color-gray-600 are rejected, and so is a raw colour anywhere, local custom properties and shadows included. A deprecated token is rejected with its replacement named.
  • No margins except 0.
  • Disable comments explain themselves. Each needs a reason after --, must disable something, and must name a real rule.
.hero {
  /* stylelint-disable-next-line declaration-property-value-allowed-list -- centres the page column */
  margin-inline: auto;
}

Site tokens

An app with tokens of its own, such as a brand colour Dino Design doesn't have, names their files:

// stylelint.config.js
import { brand } from '@dino-labs/stylelint-config';

export default brand({ siteTokens: ['src/styles/site-tokens.css'] });

Their custom properties count as known everywhere. Inside those files, and only there, a token may alias a Dino Design primitive or hold a raw value:

/* src/styles/site-tokens.css */
:root {
  --site-color-brand: var(--dino-base-color-azure-600);
  --site-color-coffee: #6f4e37;
}

Paths resolve from the working directory; pass root to resolve them from elsewhere.

License

MIT © 2026 Ibrahim Moazzam. See LICENSE.