Does Skeleton support tailwind prefix ? #2345
Answered
by
endigo9740
dror-weiss
asked this question in
Q&A
-
My tailwind prefix is set to "tw-"; how can I configure Skeleton to prefix all tailwind classes it uses with that? |
Beta Was this translation helpful? Give feedback.
Answered by
endigo9740
Dec 21, 2023
Replies: 1 comment 2 replies
-
@dror-weiss unfortunately prefixes are kind of "all or nothing". If you set a prefix in your Tailwind config it will expect ALL classes defining the Skeleton features to also have that prefix - but they won't. This means this will not work. So generally speaking prefix is not supported in Skeleton, even though we would love for it to be! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dror-weiss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dror-weiss unfortunately prefixes are kind of "all or nothing". If you set a prefix in your Tailwind config it will expect ALL classes defining the Skeleton features to also have that prefix - but they won't. This means this will not work.
So generally speaking prefix is not supported in Skeleton, even though we would love for it to be!