Theemo / @theemo/style-dictionary / registerTheemo
Function: registerTheemo()
ts
function registerTheemo(styleDictionary): void
Register all theemo extensions with style dictionary
Parameters
Parameter | Type |
---|---|
styleDictionary | Core |
Returns
void
Example
In your style dictionary config:
js
const StyleDictionary = require('style-dictionary');
const { registerTheemo } = require('@theemo/style-dictionary');
registerTheemo(StyleDictionary);
// ...