Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Theme always dark after page refresh #216

@mrlife

Description

@mrlife

After turning off Dark Theme in the Settings page and refreshing the page via the browser, data-theme="Dark" is always added back to <body>.

I'm looking for a way to manage themes within a Blazor app, and was looking here for an example that doesn't flash the light theme when refreshing the page, for which this app is successful. However, I'm not sure if the reason it is successful is because of the issue in the first paragraph.

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