Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnableSystem does not seem to work #56

Closed
silesky opened this issue Sep 3, 2021 · 0 comments
Closed

EnableSystem does not seem to work #56

silesky opened this issue Sep 3, 2021 · 0 comments

Comments

@silesky
Copy link

silesky commented Sep 3, 2021

As a user who has "dark" mode enabled on their system, but wants to make an app that completely ignores system theme, I ran into the following issue:

// _app.tsx

  <ThemeProvider
      attribute="class"
       defaultTheme="light"
      enableSystem={false}
    >
    {...etc}
    </ThemeProvider>

yields the following:

<html class="system dark">
...etc
</html>
@silesky silesky closed this as completed Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant