Skip to content
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

Apply <strong> color to material-icons class #150

Open
eric-schneider opened this issue Jul 24, 2024 · 0 comments
Open

Apply <strong> color to material-icons class #150

eric-schneider opened this issue Jul 24, 2024 · 0 comments
Labels
enhancement New feature or request quick win

Comments

@eric-schneider
Copy link
Contributor

When referencing a button icon in the documentation, the Google Developer Documentation Style Guide recommends placing the icon inline with the text, immediately followed by the name of the button in bold.

image

<span class="material-icons" aria-hidden="true" translate="no">more_vert</span> <b>Settings and utilities</b>

To achieve this in AsciiDoc, you'd use the following syntax:

[.material-icons]#more_vert# *Settings and utilities*
<span class="material-icons">more_vert</span> <strong>Settings and utilities</strong>

However, with our current UI, this results in the bold text having a different color than the icon, which diminishes the icon:

image

Ideally, the icon and the name of the icon should be the same color, e.g.

image

(See discussion for background on the style discussions related to this issue.)

@eric-schneider eric-schneider added P2 quick win enhancement New feature or request and removed P2 labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request quick win
Projects
None yet
Development

No branches or pull requests

1 participant