Skip to content

:root defined CSS-variable swap for light/dark-mode? #90

Open
@exetico

Description

@exetico

Hi

Thank you for a great script.

Have you considered adding a support for a CSS-variable swap logic, or at least, manipulate the existing ones? (And restore them, if light-mode is enabled again).

I've created a few pages where it's actually pretty easy to turn almost everything into dark-variables, but I'd like to have a solution like this on top. Allowing me the best of both worlds: Some cool tricks, and "CSS-variable" color swaps. The CSS-variable color swaps could be defined manually in the settings, or... Let the computer guess, and... allow us to at least tell the computer, if something goes wrong 🙈 ;-) ...

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