Skip to content

Light/dark mode toggle no longer works #289

@thisismikovic

Description

@thisismikovic

It seems that Notion changed the structure of the HTML so the onDark and onLight functions no longer target the right thing. I was playing around a bit in the console and I can pinpoint certain elements such as background, but this isn't a good solution as this setting should target the whole theme (colors of text, links, header, whatever else).

Did anyone figure out a more general approach that would set the theme to be light or dark, instead of separate elements?

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