Skip to content

White Twice? #1768

@neilchaudhuri

Description

@neilchaudhuri

Not sure if this is a bug or a feature, but I have found that adding the white utility causes white to be added twice to a style definition.

Given the following:

colors: {
      white: '#fff',
...
}

And

button {
    @apply border-none text-center text-white !important;
}

I find this:

button {
  border-style: none !important;
  text-align: center !important;
  --text-opacity: 1 !important;
  color: #fff !important;
  color: rgba(255, 255, 255, var(--text-opacity)) !important;
}

Is it right to have two color entries? Removing text-whitefrom the @apply call removes both.

Wanted to report this in case it is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions