-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add shortcut for theme picker menu #78773
Conversation
Some changes occurred in HTML/CSS/JS. |
Is there a reason for not using Edit: Wait a minute. It’s because you need to put focus within the menu, too, right? |
You edited before I could answer! >< |
But don't they still need to use the tab and shift-tab to change the theme right? Is there some sort of preview theme when they put hover/focus over it? |
f926073
to
8b20e9b
Compare
@pickfire The other PR I linked added the events handling on the theme-picker menu. So you can go through the different themes by only using the keyboard (which is super cool hehe). |
But I don't see that the other patch is handling tab, did I miss it? The old one seemed to support it. Nice, the fallthrough thing above is just my guess (I thought I was wrong), I find it weird since I thought you explicitly do so. |
@bors r+ Sorry for the delay. |
📌 Commit 8b20e9b has been approved by |
⌛ Testing commit 8b20e9b with merge a07877138d105fefbd49cc3565b59618c5d9e7de... |
💔 Test failed - checks-actions |
Network error (rust-lang/cargo#8517). This is the same error as #78826 (comment) so going to avoid retrying for now. |
@bors retry |
…t, r=jyn514 Add shortcut for theme picker menu Follow-up of rust-lang#78584 Just like you can focus the search input by pressing "S", you can now access the theme picker menu by pressing "T" and navigate through the options only using the keyboard. cc `@notriddle` r? `@jyn514`
☀️ Test successful - checks-actions |
Follow-up of #78584
Just like you can focus the search input by pressing "S", you can now access the theme picker menu by pressing "T" and navigate through the options only using the keyboard.
cc @notriddle
r? @jyn514