histoire-dev / histoire

⚡ Fast and beautiful interactive component playgrounds, powered by Vite
https://histoire.dev
MIT License
3.21k stars 192 forks source link

Ability to turn off Tailwind section #496

Open lobo-tuerto opened 1 year ago

lobo-tuerto commented 1 year ago

Clear and concise description of the problem

Couldn't find a way to turn off the Design System/Tailwind section inside Histoire.

Suggested solution

A config option where you can specify if you want or not Tailwind to be included as a section.

Alternative

No response

Additional context

I'm trying to have a minimal UI library page which showcases only components, and I'd like to hide the low level design system tokens section that get included automatically.

Validations

lobo-tuerto commented 1 year ago

Also would be good to be able to configure which sections inside Tailwind to show and in what order. :thinking:

smares commented 1 year ago

In the meantime, does this work for you: https://github.com/histoire-dev/histoire/discussions/439#discussioncomment-5264183?

lobo-tuerto commented 1 year ago

@smares Yes, thank you!

Hopefully it can be converted into a configurable option in the future. :+1: