Skip to content

Tailwind plugin elevation classes do not respect priority #233

@vanderburg

Description

@vanderburg

Attempting to override the shadow on an elevated component by applying .elevation-0 or .shadow-none to the component, both in the classes prop and in settings, but elevation-# from the plugin overrides anything I enter. It also appears that .elevation-2 overrides .elevation-1, and so on. This also happens on Components with no shadow (if I add multiple elevation classes, the higher number takes priority) and on regular HTML elements.

shdow

In the above image, that is produced, regardless of the order of the classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions