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

@mantic-ui/theme

v22.17.1

Published

The native theme for mantic UI Angular components: modern CSS, adjustable at runtime. Requires @mantic-ui/angular

Readme

mantic UI Theme

| Documentation | Github Repository | Support |

The native theme for mantic UI Angular components: modern CSS, dark mode built in, and colors, radii, spacing, fonts and motion adjustable at runtime.

Requires @mantic-ui/angular and a current browser (2024 or newer).

It styles every mantic component and keeps the class contract of the Semantic UI and Fomantic UI themes, so an app can switch to it without changing its templates.

Install

npm i @mantic-ui/angular @mantic-ui/theme

Usage

import { ManticResetComponent, ManticSiteComponent, ManticThemeComponent } from '@mantic-ui/theme';

@Component({
    selector: 'app-root',
    imports: [ManticThemeComponent, ManticResetComponent, ManticSiteComponent],
    templateUrl: './app.component.html'
})
export class AppComponent {}
<!-- auto follows the dark mode setting of the operating system, dark forces it -->
<m-mantic-theme auto>
    <!-- Normalize browser defaults -->
    <m-mantic-reset />
    <!-- Page colors, typography, links, focus and selection -->
    <m-mantic-site />
</m-mantic-theme>

The fonts are stylesheets for the global styles of the app:

// angular.json
"styles": [
    // Self-hosted Lato (Latin and Latin Extended)
    "@mantic-ui/theme/styles/lato.scss",
    // Icon font for icon names (not needed when you only use Font Awesome)
    "@mantic-ui/theme/styles/icons.scss",
    // Brand icons like "github"
    "@mantic-ui/theme/styles/brand-icons.scss",
    "src/styles.scss"
]

@use '@mantic-ui/theme/styles/lato'; in src/styles.scss works as well. The Angular builder emits the fonts as files of their own, hashed and with relative URLs: they work behind any base href, nothing has to be copied to the assets, they stay cached across releases, and the browser only downloads the faces a page renders (italic only for italic text, Latin Extended only for characters like ł č ő). Until Lato has loaded, the text shows Arial scaled to Lato's metrics, so the page barely shifts when Lato swaps in. Preloading Lato-Regular-latin and Lato-Bold-latin (from the build output's media folder) in index.html lets the first render use Lato right away.

Icons work with names (<m-icon icon="home" />, needs icons.scss) and with Font Awesome icon definitions (<m-icon [icon]="faHome" />), both share the same size, spacing and variants. Brand icons (icon="github") need brand-icons.scss in addition.

The components m-mantic-lato-local, m-mantic-lato-ext-local, m-mantic-icons-local and m-mantic-brand-icons-local are deprecated: they inline the fonts into the component styles, which puts them into main.js and makes every release download them again.

Runtime theming

All design decisions are CSS custom properties (--m-*). Hover, active, tinted and text-on-color variants are derived from them automatically.

import { ThemeTokenService } from '@mantic-ui/theme';

// Whole page
inject(ThemeTokenService).apply({ primary: '#e03997', radius: '0.5rem', density: 0.85 });
<!-- Only this element and its descendants -->
<section [m-theme-tokens]="{ primary: '#e03997', radius: '1rem' }">...</section>

Any CSS value works, e.g. light-dark(#2185d0, #54c8ff) for different light and dark values, or var(--my-brand). Plain CSS works as well: set the custom properties in your own stylesheet; unlayered app styles always win over the theme.