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
{{ message }}
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
In the current state text colors of the schemes are only applied on p, ul, li and span elements. This causes elements not included here not to inherit the right coloring.
Expected behavior
When the scheme is applied to an element using scheme-html derivatives such as scheme-html-default, the text and link coloring should be set equally for all elements, including but not limited to plain <div>s, tables, description lists, figures and preformatted texts.
Current behavior
Scheme only colors links in paragraphs and text in lists, paragraphs and <span>s.
Context (Environment)
Scheming should work anywhere. It shouldn't matter what elements you are using in your actual code. By specifying text colors in more general level, we also ease debugging of our components' coloring. Also text-color related features as for example currentColor work more reliably.
Possible solution
Remove element specific selectors from _scheme-html.scss.
The text was updated successfully, but these errors were encountered:
In the current state text colors of the schemes are only applied on p, ul, li and span elements. This causes elements not included here not to inherit the right coloring.
Expected behavior
When the scheme is applied to an element using
scheme-html
derivatives such asscheme-html-default
, the text and link coloring should be set equally for all elements, including but not limited to plain<div>
s, tables, description lists, figures and preformatted texts.Current behavior
Scheme only colors links in paragraphs and text in lists, paragraphs and
<span>
s.Context (Environment)
Scheming should work anywhere. It shouldn't matter what elements you are using in your actual code. By specifying text colors in more general level, we also ease debugging of our components' coloring. Also text-color related features as for example
currentColor
work more reliably.Possible solution
Remove element specific selectors from _scheme-html.scss.
The text was updated successfully, but these errors were encountered: