daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

component styled & unstyled: is merged together?

Open KingMatrix1989 opened this issue 3 years ago โ€ข 0 comments

Hi dear Pouya.

Please look at following image: 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.

KingMatrix1989 avatar Jun 13 '22 08:06 KingMatrix1989