Row classes overrides for tables (#4472)

* Row classes overrides for tables

* Adjust faint highlight
This commit is contained in:
Jaco Greeff 2021-01-24 12:52:21 +01:00 committed by GitHub
parent 905a1e01a3
commit 0323d96b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -177,11 +177,8 @@ export default React.memo(styled(Body)(({ theme }: ThemeProps) => `
}
tr {
// &:nth-child(odd) {
// background: #faf8f6;
// }
&:nth-child(odd) {
&:nth-child(odd):not(.isEven),
&:nth-child(even).isOdd {
background: ${theme.bgTable};
}

View File

@ -76,7 +76,7 @@ export default createGlobalStyle<Props & ThemeProps>(({ theme, uiHighlight }: Pr
}
.highlight--bg-faint:before {
opacity: 0.025;
opacity: 0.0375;
}
.highlight--bg-light:before {