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

@websublime/line-tokens

v0.1.3

Published

Primitive design tokens (typography, sizing, shadows, easings, z-index, opacity, motion, radii, border-width, focus-ring, breakpoints) and decorative families (aspects, animations, gradients, masks, layouts, highlights, svg) for the line://ui design syste

Readme

@websublime/line-tokens

Primitive design tokens (typography, sizing, shadows, easings, z-index, opacity, motion, radii, border-width, focus-ring, breakpoints) and decorative families (aspects, animations, gradients, masks, layouts, highlights, svg) for the line://ui design system.

Shadows

The shadow scale (--line-shadow-1..6, --line-shadow-inner-1..3) takes its colour from @websublime/line-colors (--line-neutral-*), and @websublime/line-themes adds the gray tint. Light mode uses --line-gray-12 and dark mode uses --line-gray-1, chosen by the color-scheme of the element that paints the shadow. With line-tokens alone every shadow token computes none until you set --line-shadow-color.

  • --line-shadow-color is optional and replaces the gray-role colour in both modes. It takes an opaque colour, because each layer applies its own opacity on top of it. A light-dark() value gives each mode its own colour.
  • --line-shadow-strength (1%) and --line-shadow-strength-dark (25%) set the base opacity in light and dark mode.
  • These three knobs take effect at every theming scope (html, [data-accent], [data-gray]) at or below the element that sets them.
  • The colour tokens --line-shadow-color-{2,3,4,5,6,7,9} and the shadow tokens are derived values. An override of one on <html> stops at the first nested theming scope, so write it for html, [data-accent], [data-gray] outside @layer to apply it everywhere.

Cascade layer

Every rule of this package sits inside the cascade layer line, reset.css included, and every selector uses :where(). @websublime/line-tokens, @websublime/line-colors and @websublime/line-themes share that one layer. A rule of yours outside @layer beats every rule in line at any specificity and in any order. If your stylesheets declare their own layers, start them with @layer line; or put line first in your layer order statement, so every layer you declare later wins. Load the CSS as it is, because @import '…' layer(line) would nest the layer as line.line.