UX-and-I / storybook-design-token

Display design token documentation generated from your stylesheets and icon files. Preview design token changes in the browser. Add your design tokens to your Storybook Docs pages using the custom Doc Blocks.
https://dev.to/psqrrl/managing-design-tokens-using-storybook-5975
MIT License
648 stars 123 forks source link

Add presenters property for DesignTokenDocBlock #187

Closed acherkashin closed 1 year ago

acherkashin commented 1 year ago

Custom presenters are supported only for DesignTokenDocBlock component.

Overridden color presenter that displays colors as circle instead of rectangle.

image
acherkashin commented 1 year ago

@Sqrrl I've adopted my changes for v3 branch. Could you take a look when you have time?

Sqrrl commented 1 year ago

Great work. Thanks for your patience. Released with v3.0.0-beta.6