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.43.0

Published

The styles of the design system

Readme

LMVZ Styles

Global LMVZ Design System styles for consuming applications.

This package provides theme files and optional global style bundles.

Install

npm i @lmvz-ds/styles

Quick Start

Import one theme as early as possible in your app:

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

Or include it directly in HTML:

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

Extensibility and Customisation

LMVZ styles use predefined CSS cascade layers so integrations get a stable and predictable cascade order.

Layer semantics:

  • lmvz-ds.reset: browser reset and defensive base rules.
  • lmvz-ds.theme: design tokens and theme-level styles (for example typography).
  • lmvz-ds.components: global component fragments and component-level styling.
  • lmvz-ds.overrides: utility or app/theme-specific overrides.

Customisation hook: import an LMVZ theme first, then place your app overrides in a later layer.

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

@layer app.overrides {
  :root {
    --lmvz-ds-color-primary: #005a9c;
  }

  button {
    border-radius: 0.375rem;
  }
}

This keeps overrides explicit and robust across updates, because you control order with layers instead of selector specificity.

Theme Strategies

Single Theme

Use one of these entry points:

  • @lmvz-ds/styles/themes/light.css
  • @lmvz-ds/styles/themes/dark.css

No additional configuration is required.

Runtime Theme Toggle

Import all themes:

  • @lmvz-ds/styles/themes/all.css

Then switch with an HTML attribute on the root element:

  • data-theme="lmvz-light"
  • data-theme="lmvz-dark"

Optional Global Bundles

Import bundles only when you need global styling for native HTML elements:

  • @lmvz-ds/styles/bundles/reset.css — Browser reset and defensive base rules only (for advanced use cases).
  • @lmvz-ds/styles/bundles/typography.css
  • @lmvz-ds/styles/bundles/buttons.css
  • @lmvz-ds/styles/bundles/layout.css
  • @lmvz-ds/styles/bundles/tokens.css

These bundles are optional and additive on top of themes.

Integration Notes

  • Import exactly one theme source at startup: either one specific theme file or themes/all.css.
  • LMVZ web components keep their own internal styling; bundle imports are for global, native DOM styling.
  • Keep imports explicit and minimal to avoid unnecessary global CSS.

Reference: Public Entry Points

Themes:

  • @lmvz-ds/styles/themes/light.css
  • @lmvz-ds/styles/themes/dark.css
  • @lmvz-ds/styles/themes/all.css

Bundles:

  • @lmvz-ds/styles/bundles/reset.css
  • @lmvz-ds/styles/bundles/typography.css
  • @lmvz-ds/styles/bundles/buttons.css
  • @lmvz-ds/styles/bundles/layout.css
  • @lmvz-ds/styles/bundles/tokens.css
  • @lmvz-ds/styles/bundles/router-font-inline.css

Assets:

  • @lmvz-ds/styles/assets/*

Maintainer Notes

Find contributor-facing build- and conventions- notes in .instructions.md.