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

@emdzej/bimmerz-theme

v0.1.0

Published

Shared Tailwind preset + CSS variables for the bimmerz app family — zinc-based light/dark token system, per-app accent override.

Readme

@emdzej/bimmerz-theme

Shared Tailwind preset + CSS variables for the bimmerz app family. Two layers stack together — semantic light/dark theme tokens (bg-base / bg-surface / text-foreground / text-muted…), and the BMW M-division identity palette (m-light / m-dark / m-red) that drives the brand visuals.

Wire it in (consumer app)

// tailwind.config.ts
import preset from "@emdzej/bimmerz-theme";
import type { Config } from "tailwindcss";

export default {
  presets: [preset],
  content: ["./index.html", "./src/**/*.{ts,svelte}"],
  theme: {
    extend: {
      colors: {
        accent: { DEFAULT: "#2563eb", muted: "#1e40af" }, // pick your own
      },
    },
  },
} satisfies Config;
/* src/app.css */
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "@emdzej/bimmerz-theme/tokens.css";
// src/main.ts — apply on boot
import { applyTheme, watchSystemTheme } from "@emdzej/bimmerz-theme";
applyTheme("system"); // or whatever the user has saved
watchSystemTheme(() => applyTheme("system"));

What you get

Semantic theme tokens

Light/dark via the dark class on <html>. Slate-tinted neutrals matching the hub.bimmerz.app + bimmerz.app site palettes.

| Tailwind class | Purpose | |---|---| | bg-base | page background | | bg-surface | raised cards / panels | | bg-elevated | one step further up the stack | | text-foreground | primary text | | text-muted | secondary text (labels, captions) | | text-faint | tertiary text (timestamps, hints) | | border-divider | subtle rule between rows | | border-rule | stronger separator between sections |

M-division identity palette

Same in both themes — these are brand colours, not theme colours.

| Tailwind class | Hex | |---|---| | bg-m-light / text-m-light / border-m-light | #1c69d4 | | bg-m-dark / text-m-dark / border-m-dark | #002664 | | bg-m-red / text-m-red / border-m-red | #c41e3a |

M-stripe

The three-band signature bar BMW M cars carry on their kidney grilles. Available two ways:

<!-- via the Svelte component -->
<script>import { MStripe } from "@emdzej/bimmerz-ui";</script>
<MStripe class="h-1" />
<!-- or as raw HTML / CSS (Tailwind not required) -->
<div class="m-stripe" aria-hidden="true">
  <div class="m-stripe__band m-stripe__band--light"></div>
  <div class="m-stripe__band m-stripe__band--dark"></div>
  <div class="m-stripe__band m-stripe__band--red"></div>
</div>

M-gradient

Canonical brand gradient (light → dark → red, 135°). Two flavours:

<!-- text fill — paint a wordmark in the M signature -->
<h1 class="m-gradient-text">bimmerz</h1>

<!-- background fill — use `bg-m-gradient` from the Tailwind preset -->
<div class="bg-m-gradient" />

Text fill needs background-clip: text which doesn't survive arbitrary Tailwind composition, so it ships as the .m-gradient-text class in tokens.css rather than as a preset utility.

JS API

import { applyTheme, isDarkTheme, watchSystemTheme, type ThemeChoice } from "@emdzej/bimmerz-theme";
  • applyTheme(choice) — toggle the dark class on <html>.
  • isDarkTheme(choice) — resolve "system" against prefers-color-scheme.
  • watchSystemTheme(onChange) — listen for OS-preference changes.