Replies: 3 comments 1 reply
-
I'm sitting in the same boat using unocss + uno's class compiler to build web components that can integrate into different sites. First I tried to use the new Then I discovered that there is a @formkit/themes/tailwindcss package using this together with unocss and it works yet it is not as complete and complex as the output you get from the theme editor. What I would really like to see is a output of formkit.theme.ts that is compatible with unocss and that I can just take and include it with unocss instead of writing all of the classes by my self. here is a repository where I tried to use unocss with the formkit.theme.ts output: https://github.com/piscis/formkit-theme-test |
Beta Was this translation helpful? Give feedback.
-
I've found two things so far that UnoCSS is not happy about in my local testing:
There are likely other issues but these are the ones that jumped out to me upon fast inspection. Open to suggestions on how to move forward. |
Beta Was this translation helpful? Give feedback.
-
I've filed an issue with UnoCSS to see if the group selectors is something that can be supported on their end — that'll be at least one item down. unocss/unocss#3441 |
Beta Was this translation helpful? Give feedback.
-
Is there also official unocss support?
![image](https://private-user-images.githubusercontent.com/25219229/289037093-9baac6d0-b48e-4cbb-8e7c-2b4c3fbb840b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTIwNTgsIm5iZiI6MTczOTAxMTc1OCwicGF0aCI6Ii8yNTIxOTIyOS8yODkwMzcwOTMtOWJhYWM2ZDAtYjQ4ZS00Y2JiLThlN2MtMmI0YzNmYmI4NDBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDkxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgwOGJiMjlhODg2YTRjM2UzNDZmOWE5ZmFkY2EyZWRmMmQ5Mjc3ZTcyZTczM2Y4ZGFkMzZhZjAxOGZiMDdhNTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eXELO0c0zM-h7MLsm5gWDDV0rU9Fj9SJof0rlrSrnf4)
![image](https://private-user-images.githubusercontent.com/25219229/289039302-e3e2f57b-bb30-433e-a20a-f6849d5aae3c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTIwNTgsIm5iZiI6MTczOTAxMTc1OCwicGF0aCI6Ii8yNTIxOTIyOS8yODkwMzkzMDItZTNlMmY1N2ItYmIzMC00MzNlLWEyMGEtZjY4NDlkNWFhZTNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDkxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzZmJmZmM3NDE1N2EzNmM2Y2U5OGY5NTVkOTcxZDJlNzFhY2RmMTEwZGU2MzM2NWRmYzY0OTY5OGY0ODk0Y2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TfrJJmBaMYk1F7nurOHAGG-MVuJqcZHnvEvfsC9sblQ)
It works very similar to tailwind but is much more performant
Beta Was this translation helpful? Give feedback.
All reactions