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

Switch styles on the fly? #156

Open
coryf-ctl opened this issue Feb 9, 2022 · 0 comments
Open

Switch styles on the fly? #156

coryf-ctl opened this issue Feb 9, 2022 · 0 comments

Comments

@coryf-ctl
Copy link

I've tried a few options, but without reloading the page, is there a simple way to switch opentip styles 'on the fly' for use in dark/light mode situations?

I know I can set Opentip.defaultStyle = "dark", but then changing that again to another style has no effect. Is there a way to reinitialize opentip or change styles immediately?

Thanks in advance

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