-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Can you support setting custom backdrop color? #209
Comments
Why not just override the existing background color in your own code? .viewer-backdrop {
/* Your custom background color here. */
background-color: rgba(0, 0, 0, .5);
} |
I tried it, but it changes the overall background color. What I need is some pages, some of which have a black background and some white background. |
@mygu A new option |
@fengyuanchen Thanks a lot :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you support setting custom backdrop color?
Current behavior
Now, the
backdrop
option can only supporttrue
orfalse
Expected behavior
I want to set the
backdrop
option custom background color, it's look like:Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
The current default background color is not friendly to some transparent images
Environment
The text was updated successfully, but these errors were encountered: