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
A white or black color won't work with both colr schemes. However, a nuetral color like yellow or green seems to be fine, with a higher alpha value.
Obviously, a new color variable could be created and called to match each of the light and dark color schemes. However, this seemed like a simple solution to the problem. Plus, the information for this modification could be documented as a stylesheet override in the data table section for users who'd want to customize it.
Thanks for reporting. Fixed in 8796d90. There's now a designated CSS variable which defines the table hover color. The slate color scheme defines a shade that mimics the same intensity as the light scheme now:
Additionally, if wished, you can now easily override the hover color with additional CSS.
Context
Modify the background color of a table row when a mouse hovers over a table's row.
Description
When using the default dark color palette, the background color change when hovering over a table's row is almost indistinguishable.
From the MkDocs-Material documentation
Related links
Use Cases
A white or black color won't work with both colr schemes. However, a nuetral color like yellow or green seems to be fine, with a higher alpha value.
Obviously, a new color variable could be created and called to match each of the light and dark color schemes. However, this seemed like a simple solution to the problem. Plus, the information for this modification could be documented as a stylesheet override in the data table section for users who'd want to customize it.
Visuals
Yellow Modification:
Green Modification:
Before submitting
The text was updated successfully, but these errors were encountered: