histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Allow to set the font family and sizes on the global theme

Open leifmarcus opened this issue 2 years ago • 1 comments

Clear and concise description of the problem

As a developer using Histoire I want to use a brand font family and sizes so that the component library can be styled in a way that fits the design system of the brand.

Suggested solution

Currently in the global theme you can set the colors (which is already great) and the logo. As it seems, Histoire is using tailwind css to style the library. In that case it would be a possibility to set the fontFamily, fontSizes and fontWeights within the global theme.

Alternative

No response

Additional context

I really appreciate the value that the Histoire library brings for Vue component library documentations as it is really easy to use and also fully done in Vue. Nevertheless, it would be really nice, if the styling of the library documentation has more options to align it with the design system of the company.

Validations

leifmarcus avatar Jul 13 '22 09:07 leifmarcus