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

@mucsi96/angular-material-theme

v1.10.0

Published

A future-proof, opinionated dark Angular Material 21+ theme inspired by mucsi96/ui-elements.

Readme

@mucsi96/angular-material-theme

A future-proof, opinionated dark Angular Material 21+ theme, distilled from mucsi96/ui-elements. The theme is built on top of Angular Material's M3 system tokens — no internal selectors, no !important, so it survives Material upgrades.

Getting started

The theme ships as SCSS plus a couple of small Angular helpers. Drop it into any Angular 21+ application in three steps.

1. Install

Install the package alongside the Angular Material peers.

npm install @mucsi96/angular-material-theme @angular/material @angular/cdk

2. Apply the theme

Add the mixin to your global stylesheet (e.g. src/styles.scss). That single call emits the --bt-* design tokens, runs mat.theme(), and re-maps Material's M3 system tokens onto the ui-elements palette.

@use '@mucsi96/angular-material-theme/styles' as bt;

html {
  @include bt.theme();
}

3. (Optional) wire up the providers

In app.config.ts, register the opinionated defaults (outlined form fields, accessible disabled buttons) and you're done.

import { provideAngularMaterialTheme } from '@mucsi96/angular-material-theme';

export const appConfig: ApplicationConfig = {
  providers: [
    // ...
    provideAngularMaterialTheme(),
  ],
};

From there

  • Use any --bt-* token from your own styles — background-color: var(--bt-surface-1);.
  • Drop in <bt-bar-loader /> for page-level loading.
  • Use <bt-split-button label="Save" (primaryAction)="save()">…</bt-split-button> when you need a primary action with a secondary menu.
  • Use <bt-donut-slider [(value)]="amount" [valuePerTurn]="100" /> for a touch-friendly multi-turn rotary number input.
  • Fire toasts with NotificationsService.success() / .error().
  • Render inline alerts with the .bt-notification / .bt-notification--success / .bt-notification--error classes.
  • Override any Material token in the same selector: --mat-sys-tertiary: var(--bt-success);.

Customizing

Every color is overridable. Two layers:

html {
  @include bt.theme();

  // Override an `--bt-*` token (cascades into Material).
  --bt-primary: hsl(280, 80%, 60%);

  // Or override a Material system token directly.
  --mat-sys-tertiary: var(--bt-success);
}

You can also @use the palette module directly to read the raw HSL values:

@use '@mucsi96/angular-material-theme/styles/palette' as bt-palette;

.banner {
  background-color: bt-palette.$brand-primary;
}

What the mixin does

  1. Emits --bt-* design tokens on :root so your own styles can reuse them.
  2. Configures Angular Material's M3 theme (mat.theme()) with a blue/violet palette pair.
  3. Re-maps --mat-sys-* tokens onto the ui-elements palette so all MDC components inherit the look.
  4. Applies small component tweaks (border radii, menu padding, table cell padding and row heights, snackbar success/error variants, …).

Releases

Versions are computed automatically by CI using mucsi96/get-next-version — it inspects existing theme-* git tags and conventional commits touching projects/theme, then bumps and stamps package.json before the build. Publishing to npm and creating the GitHub release are gated on its hasNextVersion output, so a push without library changes is a no-op. The on-disk "version" field in projects/theme/package.json is a 0.0.0-dev placeholder.

License

MIT © Igor Bari