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

tolle-workspace

v0.0.0

Published

## Config-first theming for Angular

Readme

Tolle UI

Config-first theming for Angular

Tolle UI is designed to be globally configurable. Instead of styling every component individually, you define your design tokens once at the root of your application.

This config-first approach allows you to rebrand your entire application in seconds.


Installation

Tolle UI is built for Angular 18 and relies on a small set of peer dependencies to stay lightweight and flexible.

1. Install Tolle UI

npm install @tolle_/tolle-ui

or with pnpm:

pnpm add @tolle_/tolle-ui

2. Install Peer Dependencies

npm install @angular/core@^18.2.0 @angular/common@^18.2.0 @floating-ui/dom@^1.7.4 class-variance-authority@^0.7.1 tailwind-merge@^3.4.0 clsx@^2.1.1 date-fns@^4.1.0

💡 If you already have Angular 18 installed, you only need to install the non-Angular dependencies.


Angular Provider

The provideTolleConfig function is the brain of the library. It injects your brand settings into all components using Angular’s Dependency Injection system.

app.config.ts

import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
import { provideTolleConfig } from '@tolle_/tolle-ui';

export const appConfig: ApplicationConfig = {
  providers: [
    provideZoneChangeDetection({ eventCoalescing: true }),

    provideTolleConfig({
      primaryColor: '#551a65',
      radius: '0.75rem',
      darkByDefault: false,
    }),
  ],
};

Tailwind Integration

Tolle UI components use Tailwind utility classes that reference CSS variables generated by your configuration.

Update tailwind.config.js

module.exports = {
  darkMode: 'class',
  presets: [require('@tolle_/tolle-ui/preset')],
  content: [
    './src/**/*.{html,ts}',
    './projects/**/*.{html,ts}',
    './node_modules/@tolle_/tolle-ui/**/*.{html,ts,mjs}',
  ],
};

Global Styles

"styles": [
  "src/styles.css",
  "node_modules/@tolle_/tolle-ui/theme.css"
]

Theme Variables

Tolle UI generates a comprehensive system of CSS custom properties (CSS variables) based on your configuration. These variables ensure consistent theming across all components and enable easy customization.

Core Configuration Variables

These are the variables you define in your provideTolleConfig() function:

| Variable | Type | Default | Description | |------------|-------|-----------|------------------------------------| | --primary | Color | #2563eb | The primary brand color (blue-600) | | --radius | Size | 0.5rem | Global border radius for components |