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

Control alternate row color using CSS #2841

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jevenski
Copy link
Contributor

@jevenski jevenski commented Jan 3, 2025

  • Control s-table alternate row color using CSS.
  • Define odd row, even row, and active row background using variables.
  • Define highlight row background using color filter with a brightness of 0.75 for MaterialDesign theme only.

This is an amended version of #2839, which I accidentally closed, and didn't find a way to reopen. Background highlight on hovering is now only enabled in MaterialDesign theme. A variable is created for every theme though, for the consistency among all themes.

- Control s-table alternate row color using CSS.
- Define odd row, even row, and active row background using variables.
- Define highlight row background using color filter with a brightness
  of 0.75 for MaterialDesign theme only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants