Skip to content

Theemo / @theemo/style-dictionary / registerTheemo

Function: registerTheemo() ​

ts
function registerTheemo(styleDictionary): void;

Defined in: extend.ts:29

Register all theemo extensions with style dictionary

Parameters ​

ParameterType
styleDictionaryStyleDictionary

Returns ​

void

Example ​

In your style dictionary config:

js
const StyleDictionary = require('style-dictionary');
const { registerTheemo } = require('@theemo/style-dictionary');

registerTheemo(StyleDictionary);

// ...

See ​

Extending Style Dictionary