Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement →
Sign In

@breadstone-infrastructure/style-dictionary

Package Overview
Dependencies
Maintainers
1
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@breadstone-infrastructure/style-dictionary

Common style-dictionary classes and functions

Source
npmnpm
Version
0.0.160
Version published
Weekly downloads
993
-19.92%
Maintainers
1
Weekly downloads
Ā 
Created
Source

šŸ“¦ @breadstone-infrastructure/style-dictionary

Package StatusSource
npminfra/style-dictionary-plugins

Style Dictionary Plugins for Breadstone projects. Reusable transforms and preprocessors for Style Dictionary to support advanced design token workflows.

šŸ“ Project Structure

Part of the monorepo mosaik Package path: infra/style-dictionary-plugins Version: see npm License: MIT

šŸ“¦ Installation

yarn add @breadstone-infrastructure/style-dictionary
# or
npm install @breadstone-infrastructure/style-dictionary

šŸ”§ Usage

In your Style Dictionary config:

const {
  shadowCssTransform,
  gradientTransform,
  nameSnakeUpperCaseTransform,
  quoteStringTransform,
  listTransform,
  letterSpacingTransform,
  expandShadowPreprocessor,
  lintPreprocessor
} = require('@breadstone-infrastructure/style-dictionary');

// Register transforms
StyleDictionary.registerTransform(shadowCssTransform);
StyleDictionary.registerTransform(gradientTransform);
StyleDictionary.registerTransform(nameSnakeUpperCaseTransform);
StyleDictionary.registerTransform(quoteStringTransform);
StyleDictionary.registerTransform(listTransform);
StyleDictionary.registerTransform(letterSpacingTransform);

// Register preprocessors
StyleDictionary.registerPreprocessor(expandShadowPreprocessor);
StyleDictionary.registerPreprocessor(lintPreprocessor);

āš™ļø Features

  • Custom transforms: shadow, gradient, list, letter spacing, name transforms
  • Preprocessors: lint and expand tokens before transformation
  • TypeScript-first: fully typed
  • Nx Workspace: part of a monorepo for scalable development

šŸ›  Recommendations

  • Use with Style Dictionary for design token management.
  • Integrate into your Nx workspace for design system automation.

šŸ“¦ Publishing

yarn nx run style-dictionary-plugins:publish

šŸ“„ License

MIT Ā© Breadstone

Development

This package is part of the Breadstone Nx monorepo. Use Nx for building and testing:

npx nx run style-dictionary-plugins:build

License

MIT Ā© Breadstone

FAQs

Package last updated on 21 Oct 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