Skip to content

Theemo / @theemo/style-dictionary / registerTheemo

Function: registerTheemo()

ts
function registerTheemo(styleDictionary): void

Register all theemo extensions with style dictionary

Parameters

ParameterType
styleDictionaryCore

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

Defined in

extend.ts:40