daisyui
daisyui copied to clipboard
component styled & unstyled: is merged together?
Hi dear Pouya.
Please look at following image:

It seems Alert`s style is formed by two parts: styled & unstyled
Components > styled > alert:
.alert {
@apply bg-base-200 p-4 rounded-box;
}
Components > unstyled > alert:
.alert {
@apply flex w-full flex-col items-center justify-between gap-4 space-y-2 md:flex-row md:space-y-0;
> :where(*) {
@apply flex items-center gap-2;
}
}
Where did this merge occur?
I've only seen styled or unstyled files injecting into components when I look at the TW plugin function mainFunction.