Skip to content

Commit

Permalink
Pulled in changes @mkimberlin to fix table background colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocielliottc committed Sep 30, 2024
1 parent 86913d5 commit c944681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
td,
th {
padding: 0.5rem;
text-align: center;
color: black;
color: var(--checkins-palette-text-primary);
}

th {
Expand All @@ -37,11 +36,12 @@
}

tr:nth-child(even) {
background-color: #eee;
background-color: var(--checkins-palette-background-default);
background-image: var(--checkins-palette-alternate-row-overlay);
}

tr:nth-child(odd) {
background-color: #ffffff;
background-color: var(--checkins-palette-background-default);
}
}

Expand Down
2 changes: 2 additions & 0 deletions web-ui/src/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
--checkins-palette-secondary-mainChannel: 240 184 125;
--checkins-palette-background-paper: var(--white);
--checkins-palette-background-default: #f5f5f5;
--checkins-palette-alternate-row-overlay: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05));
--checkins-palette-content-color: var(--checkins-palette-primary-menuItem);
--checkins-palette-gray-light: var(--gray-light);
--checkins-palette-gray-dark: var(--gray-dark);
Expand Down Expand Up @@ -86,6 +87,7 @@
--checkins-palette-AppBar-darkBg: var(--checkins-palette-primary-main);
--checkins-palette-background-paper: #121212;
--checkins-palette-background-default: #121212;
--checkins-palette-alternate-row-overlay: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
--checkins-palette-content-color: var(--white);
--checkins-palette-gray-light: #e5e5e526;
--checkins-palette-gray-dark: var(--gray);
Expand Down

0 comments on commit c944681

Please sign in to comment.