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

Merged
merged 1 commit into from
Jan 6, 2025
Merged

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.
@stickz
Copy link
Collaborator

stickz commented Jan 6, 2025

Thanks!

@stickz stickz merged commit 57c877e into Novik:develop Jan 6, 2025
@jevenski jevenski deleted the alternate-row branch January 6, 2025 05:39
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