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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@knime/kds-styles

v0.3.1

Published

Package containing the design tokens and icons for the KNIME Design System

Downloads

5,837

Readme

Image KNIME® Design Tokens

This package contains the design tokens used across the KNIME Design System. The design tokens are stored in a standard W3C JSON format and are transformed into CSS and JavaScript variables using Style Dictionary.

Design Tokens Format

The design tokens are stored in a standard W3C JSON format. For more information, see the W3C Design Tokens Format.

Transformation Process

Style Dictionary

Style Dictionary is utilized to transform the token definitions into CSS and JavaScript variables. Style Dictionary allows for the definition and transformation of design tokens into various formats.

Tokens Studio Plugin

Certain tokens employ special modifiers from Tokens Studio. To manage these modifiers, the Tokens Studio Style Dictionary Plugin is used. This plugin provides a preprocessor and custom transforms to accurately calculate the values of the tokens.

Calculation of Values

All token values are fully calculated, ensuring that no variable references remain in the result files. This guarantees that the output files contain only the final values.

Light and Dark Mode

Two sets of files are generated for light and dark mode. Subsequently, the CSS files are merged to contain all variables only once. For variables that use different color values in light and dark mode, the light-dark() function is employed.

Fonts

The design system uses the Roboto, Roboto Condensed and Roboto Mono fonts for typography. When using @knime/kds-styles as a dependency the fonts will automatically be installed, no separate dependency is needed.

Usage

To use the design tokens and basic CSS you can simply import the following into a central CSS of your project:

  • @import "@knime/kds-styles/kds-variables.css";: Imports all built design tokens as CSS variables, including the colors in light and dark mode

  • @import "@knime/kds-styles/kds-legacy-theme.css";: Imports a legacy theme, which should be used to roll out design system components and tokens into an existing project, styles are adopted so old webapps-common components and new components can be used side by side

  • @import "@knime/kds-styles/fonts.css": Import CSS font definitions for Roboto and Roboto Mono

  • @import "@knime/kds-styles/fonts-workflows.css": Import CSS font definitions for Roboto Condensed which is only used in the context of workflow editing

  • @import "@knime/kds-styles/index.css": Bundles all previous imports and adds basic core style rules, e.g. uses modern-normalize for browser reset. Important: Use only for new projects, or if conversion is already at a point where core styles can be replaced.

Important Scripts

Here are some of the most important scripts defined in the package.json:

  • Build Design Tokens: Builds the design tokens. The resulting files will be written in dist/tokens/
    pnpm build:tokens

Join the Community!