-
Notifications
You must be signed in to change notification settings - Fork 585
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 logo dark-mode friendly #4020
Conversation
d4fa901
to
e85c9f6
Compare
Great idea. I wonder if this should be using the Realm logo from our LeafyGreen design system or if this is reserved for the "server side" / sync part of the product: https://www.mongodb.design/component/logo/example/ |
The SVG is actually from the design department. I just made it dark mode aware |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if the logo was produced by someone brand aware.
12766c7
to
43b0c2a
Compare
I have approved the change. It is not a full-proof solution but it is an improvement to what we have now. |
43b0c2a
to
36ddfcc
Compare
What, How & Why?
Added SVG in the logo that detects dark-mode preference from the users system settings and changes the text color based on said preference.
Unfortunately, if the user has their system setting to "dark" and their github preferences to "light", it will display the wrong fill color. I assume this should work for 99% of the vistors reading the Readme.