Skip to content

Hover states not included after purge #15

Closed
@andersklenke

Description

@andersklenke

Hover states works in development but not in production.

I use these hover states for a button hover:bg-green-600 hover:text-white hover:shadow-lg but when css is purged, these classes are not included.

In the tailwind.css file this is what hover:bg-green-600 looks like, so maybe it's due to structure of this, that the Purger doesn't work?

.hover\:bg-green-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgba(5, 150, 105, var(--tw-bg-opacity));
}

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