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

@public-ui/theme-default

v4.0.3

Published

Contains the default theme for KoliBri - The accessible HTML-Standard.

Readme

Public UI - Default-Theme

npm license downloads issues pull requests size contributors

This is the default theme for the Public UI web component library. You can customize this theme by using css variables or by creating a new theme.

Integration in React

import { register } from '@public-ui/components';
import { defineCustomElements } from '@public-ui/components/loader';
import { DEFAULT } from '@public-ui/theme-default';

register(DEFAULT, defineCustomElements).then(() => {
	ReactDOM.createRoot(document.getElementById('root')!).render(
		<React.StrictMode>
			<App />
		</React.StrictMode>,
	);
});

Full documentation

👉 https://public-ui.github.io

Usage

The default theme is token based and works with minimal adjustments. It already contains all necessary styling and can be customized with design tokens using CSS Custom Properties.

Variables

| Variable | Default value | Meaning | | --------------------------------- | ------------------------------------------------ | -------------------------------------- | | --kolibri-border-radius | 5px | Border radius for rounded elements | | --kolibri-font-family | Verdana, Arial, Calibri, Helvetica, sans-serif | Default font family | | --kolibri-font-size | 16px | Base font size | | --kolibri-spacing | 0.25rem | Base spacing between elements | | --kolibri-border-width | 1px | Border width | | --kolibri-color-primary | #004b76 | Primary color | | --kolibri-color-primary-variant | #0077b6 | Alternative primary color | | --kolibri-color-secondary | #ccebf7 | Secondary color | | --kolibri-color-danger | #c0003c | Color for errors and dangerous actions | | --kolibri-color-warning | #c44931 | Warning color | | --kolibri-color-success | #005c45 | Success color | | --kolibri-color-subtle | #576164 | Subtle accent color for borders | | --kolibri-color-light | #ffffff | Light background color | | --kolibri-color-text | #202020 | Text color | | --kolibri-color-mute | #f2f3f4 | Color for disabled elements | | --kolibri-color-mute-variant | #bec5c9 | Alternate disabled color |

Usage

Import and register the theme:

import { register } from '@public-ui/components';
import { defineCustomElements } from '@public-ui/components/loader';
import { DEFAULT } from '@public-ui/theme-default';

register(DEFAULT, defineCustomElements);

For more details and options see Getting started.

To adjust the design tokens, create a simple stylesheet that overrides the desired custom properties. You do not need to set every property—only those you want to change. Example:

:root {
	--kolibri-border-radius: 3px;
	--kolibri-font-size: 18px;
	--kolibri-spacing: 0.3rem;
	--kolibri-color-primary: #cc006e;
	--kolibri-color-primary-variant: #ff64b9;
}

Design Tokens

The following tokens are defined in src/global.scss and serve as the base for colors, fonts, and spacing across all components.

| Token | Default value | Meaning | | ------------------------- | ---------------------------------------------------------------------------- | ---------------------------- | | --border-radius | var(--kolibri-border-radius, 5px) | Default border radius | | --font-family | var(--kolibri-font-family, Verdana, Arial, Calibri, Helvetica, sans-serif) | Default font | | --font-size | var(--kolibri-font-size, #{to-rem(16)}) | Base font size | | --spacing | var(--kolibri-spacing, #{to-rem(4)}) | Standard spacing | | --border-width | var(--kolibri-border-width, 1px) | Border width | | --color-primary | var(--kolibri-color-primary, #004b76) | Primary accent color | | --color-primary-variant | var(--kolibri-color-primary-variant, #0077b6) | Variant of the primary color | | --color-secondary | var(--kolibri-color-secondary, #ccebf7) | Secondary color | | --color-danger | var(--kolibri-color-danger, #b4003c) | Error color | | --color-warning | var(--kolibri-color-warning, #c44931) | Warning color | | --color-success | var(--kolibri-color-success, #005c45) | Success color | | --color-subtle | var(--kolibri-color-subtle, #576164) | Subtle lines and borders | | --color-light | var(--kolibri-color-light, #ffffff) | Light surface color | | --color-text | var(--kolibri-color-text, #202020) | Standard text color | | --color-mute | var(--kolibri-color-mute, #f2f3f4) | Muted color | | --color-mute-variant | var(--kolibri-color-mute-variant, #bec5c9) | Alternate muted color |