style-dictionary
style-dictionary copied to clipboard
A build system for creating cross-platform styles.
*Description of changes:* Morning! Fixes an issue where the `pxToRem` transformer was missing from the docs site as it was missing the `@memberof` property. > By submitting this pull request,...
``` Build completed! /Users/my_user/.nvm/versions/node/v14.16.0/lib/node_modules/style-dictionary/lib/buildAllPlatforms.js:30 Object.keys(this.options.platforms).forEach(function (key) { ^ TypeError: Cannot convert undefined or null to object at Function.keys () at Object.buildAllPlatforms (/Users/my_user/.nvm/versions/node/v14.16.0/lib/node_modules/style-dictionary/lib/buildAllPlatforms.js:30:10) at Command.styleDictionaryBuild (/Users/my_user/.nvm/versions/node/v14.16.0/lib/node_modules/style-dictionary/bin/style-dictionary:91:21) at Command.listener [as _actionHandler] (/Users/my_user/.nvm/versions/node/v14.16.0/lib/node_modules/style-dictionary/node_modules/commander/lib/command.js:488:17)...
Hey SD community... we need your help! We would really love to hear what YOU would like to see in SD 4.0. Answers to this might include answers to these...
Lately I have been bumping into Style Dictionary's lack of support for composite tokens. At the time of this writing, composite tokens are part of the w3c spec draft, most...
So far I have been very successful in generating CSS variables from design tokens. But is it possible to generate CSS classes from tokens? ### Example I have a token...
Being kind of new to Style Dictionary, is it possible to exclude or filter out a single property from being transformed? I'm converting unit-less integers to rems. However, this means...
Issue #727 *Description of changes:* - The json/original format allows you to leave only those keys that were specified in the original object without additional metadata. More info #727. -...
## Issue description I was trying to build a JSON file for the Figma Tokens plugin written by @six7. When a `name` property is declared for a token in the...
Hi, I have been using Style Dictionary and it's great! Thanks a lot for the hard work. I have a question. I have the following configuration file to generate styles...
I wanted to generate multiple target files with the same hierarchy of folders and files as my input files in `properties/`. I tried to use the [`matching-build-files` example](https://github.com/amzn/style-dictionary/tree/3.0/examples/advanced/matching-build-files), but it...