Skip to content

How to force light mode for certain elements in Tailwind if :root has been set to dark mode #122

@ianmcateer

Description

@ianmcateer

Versions:

  • Package Version: #.#.#
  • Tailwindcss Version: #.#.#

Question:

  • basically i want to force a component to use the light theme regardless of the mode that has been set, wondering what the best way to achieve this would be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions