New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@knime/styles

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knime/styles

Internal style definitions and icons shared across @knime packages

latest
Source
npmnpm
Version
1.15.0
Version published
Maintainers
1
Created
Source

Image @knime/styles

Internal style definitions, config, base CSS, icons and images shared across @knime packages.

Demo

A demo of all contained UI components, icons, CSS colors etc. can be found here: https://knime.github.io/webapps-common/?tab=images

Installation

To install the @knime/styles package, you can use npm:

npm install @knime/styles

Usage

To use it in your project, you can import it as follows:

Icons

import ImageIcon from "@knime/styles/img/icons/media-image.svg";

NOTE: You will need to have the image extension at the end of the path

Make sure you have an appropriate SVG loader setup in your project, e.g. for Vue:

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

import svgLoader from "vite-svg-loader";
import { svgoConfig } from "@knime/styles/config/svgo.config";

export default defineConfig({
  plugins: [vue(), svgLoader({ svgoConfig })],
  // [...]
});

CSS

@import "@knime/styles/css";

Images

<img src="~@knime/styles/img/KNIME_Logo_gray.svg" />

Config

import @knime/styles/config/svg.d.ts

Color

import * as $colors from "@knime/styles/colors/knimeColors";

Styling

KNIME color scheme

The KNIME color scheme is defined in JavaScript and has to be converted into CSS by running

npm run generate-css

This is done automatically on pnpm install, but needs to be run manually after changing any of the colors/* files.

Other JS-defined colors are:

  • Node Background Colors

Theming

Custom theming can be supported by overwriting the theme CSS custom properties defined in /css/variables.

SVG-Style-Guidelines

Join the Community!

FAQs

Package last updated on 20 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts