Skip to content

Improve how light theme is applied #91

Closed

Description

@roblotter

When the document element has the .light or .infinite-light className, the light theme is not applied due to the dark theme selector having higher specificity as it is defined like:

@media {
   (prefers-color-scheme: dark): {
      vars: DarkTheme
    }
  }

We need to make sure if the light/infinite-light are applied on the root element, the light theme is correctly applied

Activity

  1. self-assigned this
    on Jun 7, 2022
  2. added
    enhancement
    on Jun 7, 2022
  3. added this to the 0.3.8 milestone on Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions