-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
Have light/dark variant of the backdrop in contrast to snippet background #8
Comments
Indeed, I have seen similar screenshots of code with the same shadow on multiple blog posts that is embedded perfectly with the rest of the page. Should be great to be able to change those parameter:
|
While changing would be nice, I'd also be happy with just plain transparent. :) |
Yeah, currently it does not handle light theme well. |
Exactly as he said. Frankly I'm not even concerned about the colors inside the black portion, it's the gray border. Seeing it here on GitHub is a perfect example. If it was transparent, it could work anywhere. Thank you @jgierer12. |
I get what you are asking for. I was calling them snippet background (read from your theme) and background (set to |
Was about to say the same thing.
In package.json:
Here is the result with the background-color: transparent; and a bigger padding to make it work well with the shadow (not being cropped) |
Using a transparent background is much better than an opaque one, because it looks good everywhere. |
Often, the gray background may not be ideal, such as when embedding into a blog with a white background. Allowing the user to set a custom background would solve this problem and make the output even more individualizable!
The text was updated successfully, but these errors were encountered: