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
Highlighting on the docs site and help site are currently transparent. The variables being used in the ::selection pseudo element are defined in a scope that it does not have access to, leading to the transparent highlighting. Given that the .theme-dark and .theme-light only define a different alpha value relative to the selection color, one solution may be to define the core components of the colors to the :root and define the alpha values using .has pseudo-classes, as that would give pseudo elements like ::selection access to them.
Highlighting on the docs site and help site are currently transparent. The variables being used in the
::selection
pseudo element are defined in a scope that it does not have access to, leading to the transparent highlighting. Given that the.theme-dark
and.theme-light
only define a different alpha value relative to the selection color, one solution may be to define the core components of the colors to the:root
and define the alpha values using.has
pseudo-classes, as that would give pseudo elements like::selection
access to them.Ex:
The text was updated successfully, but these errors were encountered: