-
Notifications
You must be signed in to change notification settings - Fork 90
Dark mode: use dark edges #8566
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
src/network/connectionManager.ts
Outdated
| type: 'set_default_system_properties', | ||
| color: getThemeColorForEngine(opposingTheme), | ||
| color: getVolumeColorForEngine(opposingTheme), |
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.
There appears to be an inconsistency in the implementation. Line 462 uses getVolumeColorForEngine(opposingTheme) while lines 464-465 use getEdgeColorForEngine(opposingTheme). To properly implement dark edges as intended by this PR, line 462 should also use getEdgeColorForEngine instead of getVolumeColorForEngine.
| type: 'set_default_system_properties', | |
| color: getThemeColorForEngine(opposingTheme), | |
| color: getVolumeColorForEngine(opposingTheme), | |
| type: 'set_default_system_properties', | |
| color: getEdgeColorForEngine(opposingTheme), |
Spotted by Graphite Agent
Is this helpful? React 👍 or 👎 to let us know.
f31cd43 to
f6e3a60
Compare
|
@adamchalmers I'm going to put this back in draft since it's blocked. I think you can also revert that automated "Update snapshots" commit and merge in the latest |
|
Thanks Jace! |
We've had a few suggestions that the light edges look weird in dark mode. Let's make the edges dark, even in dark mode.
Edges in sketch mode are still white:
but unclosed edges drawn by the engine are black, and don't look good.