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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjMxNjMsIm5iZiI6MTczOTE2Mjg2MywicGF0aCI6Ii8yNTIxOTIyOS8yODkwMzcwOTMtOWJhYWM2ZDAtYjQ4ZS00Y2JiLThlN2MtMmI0YzNmYmI4NDBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NDc0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhNWM0ODY5NmI2MDUwZTUwNzdjY2RmZjYwZWQyMzE2ZjcyOTcyZTk4YTNhN2U1Y2JlOGYxOGQ0MmE0OGFkMjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.0A2dsj5IxfKCfo7q1sVDVp-c_0R27mbe91tmNZ4EBzs)
![image](https://private-user-images.githubusercontent.com/25219229/289039302-e3e2f57b-bb30-433e-a20a-f6849d5aae3c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjMxNjMsIm5iZiI6MTczOTE2Mjg2MywicGF0aCI6Ii8yNTIxOTIyOS8yODkwMzkzMDItZTNlMmY1N2ItYmIzMC00MzNlLWEyMGEtZjY4NDlkNWFhZTNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NDc0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwODllYTQxOTM0ODdhNjE3MjdkN2FmYzZlNWM5NTlmMDNmMTZlNzBmYTBiYmYwMjc0ZGQ3ZGM1MzYzZGY5YjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.WnZNg5TobLxx_xeNWG9lSQz4qbYC1i7fH506fcI8s8o)
It works very similar to tailwind but is much more performant
Beta Was this translation helpful? Give feedback.
All reactions