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

@lmvz-ds/styles

v0.16.0

Published

The styles of the design system

Downloads

512

Readme

LMVZ Styles

This package contains all global design system styles for export (i.e. themes and style bundles).

See Conventions at the bottom, before editing!

Usage in your project

Always import one of the available themes as early in your application as possible, e.g. in your main CSS file

@import '@lmvz-ds/styles/themes/light.css';

... or in your HTML

<link rel="stylesheet" href=".../@lmvz-ds/styles/themes/light.css" />

Optionally, you can then import available style/-Packages:

  • @lmvz-ds/styles/bundles/typography.css
  • @lmvz-ds/styles/bundles/button.css

These will provide styles in the global CSS scope and target native DOM elements.

Structure & Concepts

Trade-Offs and Constraints

  • The full set of (base) variables must only be bundled along with themes, as a singular import.
  • Themes must be provided in singular and plural forms: When a website includes only one, it must be "active" without further configuration; when a toggle is to be implemented, all themes can be imported at once and switched (using an html attribute "data-theme-lmvz-[theme]").

Internal Abstractions

Internal abstractions are defined in ./internal. Layering is allowed here, but be conscious about it.

Bundles

These bundle abstractions and Fragments onto layers, for import into a consuming app. Bundles may provide global Component styles as Constructable Style Sheets

Themes

The primary function of Themes is to provide a pre-built set of Design Tokens (from the packages/design-tokens package) to consuming apps. They are built and exposed just like any other style Bundle.

Tech Setup

Styles are bundled using postcss (integrated via vite -> rollup -> postcss).

Conventions

  • Be careful not to bloat Themes too much (e.g. by importing other Bundles), to allow for selective imports.
  • Layers are not to be exposed separately, but only as part of Themes.
  • Always import the Layers definition before layering your own styles.
  • Only layer styles that are being exported as part of a Bundle or Theme, to otherwise allow generic re-use!
  • Prefer (Component-) local style definitions over global ones.

TODOs

  • [ ] Setup stylelint with the given Conventions