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

@wmcadigital/ui-font

v0.1.0-alpha.2

Published

Fonts for the design system

Readme

# Font

Fonts for the design system.

## Usage

Include the font styles in your build or import the compiled CSS from the package.

## Contributing

Add fonts and test across platforms; PRs welcome.

# @wmcadigital/ui-font

This package provides webfont declarations used across the design system. It exposes `dist/styles/main.css` (and the SCSS source) which includes `@font-face` rules for the project’s chosen typeface.

## Install

pnpm add @wmcadigital/ui-font

## What this package provides

- `@font-face` declarations for "Noto Sans Display" regular and bold weights.
- A compiled stylesheet at `dist/styles/main.css` (see the `style` field in `package.json`).

The `@font-face` rules point to the project CDN by default and use `font-display: swap` so text remains visible while webfonts load.

## Usage

Import the package stylesheet in your global styles or build pipeline:

```css
@import '@wmcadigital/ui-font/dist/styles/main.css';
```

Or, if your bundler supports package style resolution, include the package and the stylesheet will be available via the package style field.

Notes and recommendations

  • The shipped @font-face rules reference CDN-hosted font files (woff/woff2). You can override these src URLs if you self-host fonts or want to use different versions.
  • font-display: swap is enabled to reduce invisible text during font loading.
  • If you care about reducing layout shift when switching from fallback fonts to the webfont, consider adding font-metric overrides (as suggested in the SCSS comments). Those values require measurement or tooling to tune properly.

Accessibility

  • Use sensible font-size and contrast with the typeface. The package only provides the font files and declarations — accessibility choices (sizes, line-height, contrast) remain the responsibility of consuming projects.

Development

  • SCSS source: src/styles/main.scss (contains the @font-face declarations and helpful comments about metric overrides).
  • When developing locally, the package build outputs compiled CSS to dist/ — run pnpm -w -r run build from the monorepo root to regenerate artifacts.