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

Make banner look nicer in dark mode #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valterkraemer
Copy link

The banner on https://github.com/sveltejs/svelte doesn't look very nice in dark mode. While trying to get better at working with Figma, I thought creating a SVG version of the banner would be a good exercise!

So I've re-drawn the image in Figma, and there are some (very) minor changes to how the image looks, so also updated the PNG to match the SVG.

Current banner in dark mode

current

SVG banner in dark mode

chrome and firefox

SVG banner in dark mode (in Safari)

Safari doesn't support prefers-color-scheme when loading SVG in img tag. https://bugs.webkit.org/show_bug.cgi?id=199134. Could make so that background would always be transparent, but then text wouldn't be that readable.
safari

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

Successfully merging this pull request may close these issues.

1 participant