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

Question: Is it possible to LAUNCH PDftron in darkmode? #1030

Open
exotexot opened this issue Sep 7, 2023 · 1 comment
Open

Question: Is it possible to LAUNCH PDftron in darkmode? #1030

exotexot opened this issue Sep 7, 2023 · 1 comment

Comments

@exotexot
Copy link

exotexot commented Sep 7, 2023

At the moment I change the theme after the Webviewer instance is running.
I wonder if it is possible to define the theme in the Webviewer constructor, so that no theme "change" is visible, but immediealty starts in the right theme (e.g. dark instead of light theme)

@bollain
Copy link
Collaborator

bollain commented Sep 14, 2023

Hi @exotexot,

We currently don't have a constructor option to instantiate WebViewer in darkmode - if you are forking this UI then you can just change the initial value of activeTheme in the redux store.

I will add this as a feature request in our backlog.

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

2 participants