Replies: 2 comments 1 reply
-
@amir20 Hey! Do you have any idea what the difference in filesize could be? I downloaded the file and
Maybe I'm missing something but this seems like it can be converted by using the CSS variables created in the file: <style>
[data-level="debug"],
[data-level="trace"] {
background-color: var(--color-purple) !important;
}
[data-level="info"] {
background-color: var(--color-green) !important;
}
[data-level="error"],
[data-level="fatal"] {
background-color: var(--color-red) !important;
}
[data-level="warn"] {
background-color: var(--color-orange) !important;
}
</style> |
Beta Was this translation helpful? Give feedback.
-
Hi @philipp-spiess! Thanks for the reply! You are right that I could have used I am trying to figure out what is the best way to help us debug. The problem is that in v4, I have also upgrade DasiyUI to v5. So it wouldn't really be a fair comparison. I think what I'll do is change one of the Vue How does that sound? Is there a better way? |
Beta Was this translation helpful? Give feedback.
-
Hello all,
This is not easy for me to reproduce because it's very unique to my application. After upgrading to v4, I noticed the css file is about 30KB bigger.
in my
master
branch:However, in my new branch with dasiy v5 and tailwind v4:
I have attached the file:
main-C49OPwit.css.zip
Looking at the file, I see a lot of
@layer theme,base,components,utilities
. I have a lot of Vue components and while I have tried to minimize usage of@apply
, there were about a dozen that I couldn't convert. For example,Possibly related to #15228 @philipp-spiess
Beta Was this translation helpful? Give feedback.
All reactions