Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Histoire's Vue 3 tailwind design system example #282

Closed
danielduckworth opened this issue Dec 5, 2022 · 3 comments
Closed

Histoire's Vue 3 tailwind design system example #282

danielduckworth opened this issue Dec 5, 2022 · 3 comments

Comments

@danielduckworth
Copy link

Hi, I've been using this boilerplate for a project, and I love it. Histoire is also an excellent project and a joy to work with.

The Histoire website hosts an example Vue 3 + Tailwind project with a "Design System" section that uses a Tailwind configuration file to import and generate design tokens.

I'm trying to get this to work but with UnoCSS which does not use a local Tailwind configuration file.

Any thoughts on how I could get this feature to work with UnoCSS?

I'll post this on the Histoire repo too.

Thanks,
Daniel.

@gurvancampion
Copy link
Owner

Hi @danielduckworth , sorry for the late reply I didn't see your message!
I think it's a feature only available with TailwindCSS. The best would be to ask directly on histoire repository, it seems you could write a specific design token for unocss as well looking at the code: https://github.com/histoire-dev/histoire/tree/main/packages/histoire/src/node/builtin-plugins

@danielduckworth
Copy link
Author

Thanks @gurvan-guss. I've got it working with Tailwindcss installed. But I'm using your Vuetify + UnoCSS branch so now I've got three different vendor styles going and it's a bit messy. I'm hoping I can unify them with unocss.

@gurvancampion
Copy link
Owner

@danielduckworth I would suggest you to go only with TailwindCSS as they both do the same things if you want to have this design page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants