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

@progressiveui/themes-core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progressiveui/themes-core

Themes for un core

latest
Source
npmnpm
Version
0.5.1
Version published
Maintainers
1
Created
Source

themes-core

The themes core generates design tokens by using Style Dictionary.

Using existing theme

TODO: Add paragraph

import variables from @progressiveui/themes-core/scss/variables;

Building a theme

Generate Source json on your own

The source can be json, preferably generated from Figma using Design Tokens.

An example can be found in tokens/design-tokens.tokens.json

// Add this to your package.json to generate a theme
scripts: {
    "build:theme": "node buildTheme.js",
}
// buildTheme.js configuration
const { config } = require("@progressiveui/themes-core/config.js");

/*
config() can be configured
source: defines the lookup for finding
Example can be found in tokens/design-tokens.tokens.json
*/
const source = "tokens/**/*.json";

// BuildPath: Output for the build
const buildPath = "dist";

config({ source, buildPath });

Development

build

Builds themes from existing raw tokens.

yarn build

build:tokens

A shorthand command that executes sync:tokens, filter:theme, and build. This script does the synchronization of design tokens, filtering of theme data, and the final theme build.

yarn build:tokens

sync:tokens

Downloads the latest tokens.json (Figma Tokens) from the tokens repository.

Create a .env with GIT_ACCESS_TOKEN.

yarn sync:tokens

filter:theme

TODO: Remove this once the token source is cleaned up.

Prepares raw tokens and cleans them up.

yarn filter:theme

Keywords

colors

FAQs

Package last updated on 26 Feb 2026

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