You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the tag <code> on dark backgrounds and re-introduce it in the example in accordions.
Differents solutions that have seen so far, and that we are confused about the one to choose :
Adding a background to <code> and a fix color to its text. Issue: Change every code, even for example code. Not good.
Find a fixed color that goes well for black and white background color at least (#767676 seems to do it on AA level). Issue: not flexible + not AAA level.
Change in every component the text color for <code>. Issue: Not easy to maintain.
Change the color value to inherit. Issue: Hard to differenciate from the normal text.
Motivation and context
Dark variants of components
The text was updated successfully, but these errors were encountered:
Prerequisites
Proposal
Implement the tag
<code>
on dark backgrounds and re-introduce it in the example in accordions.Differents solutions that have seen so far, and that we are confused about the one to choose :
<code>
and a fix color to its text. Issue: Change every code, even for example code. Not good.#767676
seems to do it on AA level). Issue: not flexible + not AAA level.<code>
. Issue: Not easy to maintain.inherit
. Issue: Hard to differenciate from the normal text.Motivation and context
Dark variants of components
The text was updated successfully, but these errors were encountered: