-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Feature Suggestion: Keyboard Keys Rendering #1813
Comments
Can/should we use the same style entirely, or should we come up with something similar? |
hmmm what is "same style"? |
The style applied to |
Maintainability comes first then, simpler would be a better choice. |
My question isn't so much about maintainability as it is about copyright. |
I wouldn't take any risk on that and the time looking it up is not worth it. It should be custom but shouldn't be hard (the style). A span with rounded and shadow, all of which are native to CSS and can be made to look exactly like the styles in here. It would have to be theme-aware, behave nicely on zoom, match with other styles such as bold and italic, etc, the usual stuff. |
I'd like to take on this issue if it's still available. |
Allows for special styles to call them out since they're different than normal text and different than code. They can make use of styles they inherit for font style and weight. Notes on changes: - Added new CSS variables for reused elements - The font-* rules are separate for each aspect so that they can inherit bold/italic/etc Closes rust-lang#1813
It would be nice to have keyboards key markup like this:
Ctrl + Alt + Space
The text was updated successfully, but these errors were encountered: