-
-
Notifications
You must be signed in to change notification settings - Fork 50
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 color mode switcher more perceptible #979
Conversation
I prefer the existing and don't find the icons to be any more "intuitive". I'd end up mousing over both of them. If we decide at sync to accept this change, this shouldn't be merged until PRs are open for patterns and the tutorial as well. |
build failure can be ignored. we need to update to be able to the non-insiders version when we do a build check for a PR from a forked repo. |
We discussed on today's Pony sync call. I agree that the current nondescript toggle is not clear, and that it's better to choose a clearer icon. I think showing a moon or sun icon that switches is confusing, because it's not clear whether it's showing the current state or future state. I was saying it might it be better to show an icon which is sun and moon together, which doesn't change when you change the state. So I just looked in the material icon set and I found an icon that shows a moon inside of sun called But please note that before we can merge this PR, we need to also have a corresponding PR in the pony-tutorial and pony-patterns repos. |
… to make the color mode switcher more perceptible As discussed in ponylang/ponylang-website#979 (comment) Co-authored-by: SeanTAllen <sean@seantallen.com>
… to make the color mode switcher more perceptible As discussed in ponylang/ponylang-website#979 (comment) Co-authored-by: SeanTAllen <sean@seantallen.com>
A text label would be nice, too (additionally to the tooltip), but I don't think, that's possible with mkdocs. So, I've changed the icon accordingly, and made the changes in pony-tutorial and pony-patterns respectively. |
@SeanTAllen I just listened to your Sync and yeah, the state is already visible on the site, and therefore, a label would be somewhat redundant. So just forget what I said about the label 😅 |
Fix #978