You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking that config per @presenter type would be ideal, but would be nice to add custom control types on a per-design token basis too.
Presenter Config
constparameters={designToken: {controls: {// config per `@presenter` type hereColors: {type: 'color',presetColors: ['#ff0000','#00ff00','#0000ff']},BorderRadius: {type: 'radio',options: ['0px','4px','8px','16px']}}}}
Specific Design Hook Override Config
constparameters={designToken: {controls: {// object of design token specific overrides. Handy for enforcing specific values on specific tokensoverrides: {'--theme-button-background': {type: 'select',options: ['#ff0000','#00ff00','#0000ff']}}}}}
The text was updated successfully, but these errors were encountered:
Would be awesome if we could configure the input types, especially for the Colors.
Proposing a similar setup to the standard Storybook ArgTypes
Thinking that config per
@presenter
type would be ideal, but would be nice to add custom control types on a per-design token basis too.Presenter Config
Specific Design Hook Override Config
The text was updated successfully, but these errors were encountered: