Skip to content

chore(site): remove paperLight background value #10857

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

Merged
merged 10 commits into from
Nov 27, 2023
Merged
Prev Previous commit
Next Next commit
Refactor timeline components
  • Loading branch information
BrunoQuaresma committed Nov 24, 2023
commit 3addeb2f41336e89c379ff4083a7d9892dfcaff4
2 changes: 1 addition & 1 deletion site/src/components/TemplateFiles/TemplateFiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const styles = {
}),

codeWrapper: (theme) => ({
background: theme.palette.background.paperLight,
background: theme.palette.background.paper,
}),

files: (theme) => ({
Expand Down
4 changes: 1 addition & 3 deletions site/src/components/Timeline/TimelineDateRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export const TimelineDateRow: FC<TimelineDateRow> = ({ date }) => {
return (
<TableRow
css={css`
background: ${theme.palette.background.paper};

&:not(:first-of-type) td {
border-top: 1px solid ${theme.palette.divider};
}
Expand All @@ -24,7 +22,7 @@ export const TimelineDateRow: FC<TimelineDateRow> = ({ date }) => {
<TableCell
css={{
padding: `8px 32px !important`,
background: `${theme.palette.background.paperLight} !important`,
background: `${theme.palette.background.paper} !important`,
fontSize: 12,
position: "relative",
color: theme.palette.text.secondary,
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/WorkspaceBuildLogs/Logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const styles = {
},

"&.debug": {
backgroundColor: theme.palette.background.paperLight,
backgroundColor: theme.palette.background.paper,
},

"&.warn": {
Expand Down