Skip to content

Commit 60d8ec8

Browse files
committed
Remove remaining paperLight elements
1 parent 3addeb2 commit 60d8ec8

File tree

9 files changed

+13
-14
lines changed

9 files changed

+13
-14
lines changed

site/src/components/WorkspaceStatusBadge/WorkspaceStatusBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const FailureTooltip: FC<TooltipProps> = ({ children, ...tooltipProps }) => {
9292
const popper = useClassName(
9393
(css, theme) => css`
9494
& .${tooltipClasses.tooltip} {
95-
background-color: ${theme.palette.background.paperLight};
95+
background-color: ${theme.palette.background.paper};
9696
border: 1px solid ${theme.palette.divider};
9797
font-size: 12px;
9898
padding: 8px 10px;

site/src/pages/TemplatePage/TemplateInsightsPage/DateRange.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const styles = {
157157
color: theme.palette.text.secondary,
158158

159159
"&:hover .rdrStaticRangeLabel": {
160-
background: theme.palette.background.paperLight,
160+
background: theme.palette.background.paper,
161161
color: theme.palette.text.primary,
162162
},
163163

@@ -175,7 +175,7 @@ const styles = {
175175
},
176176

177177
"& .rdrCalendarWrapper": {
178-
backgroundColor: theme.palette.background.paperLight,
178+
backgroundColor: theme.palette.background.paper,
179179
},
180180

181181
"& .rdrDateDisplayItem": {
@@ -188,7 +188,7 @@ const styles = {
188188

189189
"&.rdrDateDisplayItemActive": {
190190
borderColor: theme.palette.text.primary,
191-
backgroundColor: theme.palette.background.paperLight,
191+
backgroundColor: theme.palette.background.paper,
192192

193193
"& input": {
194194
color: theme.palette.text.primary,

site/src/pages/TemplatePage/TemplateVersionsPage/VersionRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const styles = {
147147
},
148148

149149
active: (theme) => ({
150-
backgroundColor: theme.palette.background.paperLight,
150+
backgroundColor: theme.palette.background.paper,
151151
}),
152152

153153
versionCell: {

site/src/pages/TerminalPage/TerminalAlerts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const TerminalAlert = (props: AlertProps) => {
9696
borderWidth: 0,
9797
borderBottomWidth: 1,
9898
borderBottomColor: (theme) => theme.palette.divider,
99-
backgroundColor: (theme) => theme.palette.background.paperLight,
99+
backgroundColor: (theme) => theme.palette.background.paper,
100100
borderLeft: (theme) =>
101101
`3px solid ${theme.palette[props.severity!].light}`,
102102
marginBottom: 1,

site/src/pages/TerminalPage/TerminalPageAlert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default ({
112112
borderWidth: 0,
113113
borderBottomWidth: 1,
114114
borderBottomColor: (theme) => theme.palette.divider,
115-
backgroundColor: (theme) => theme.palette.background.paperLight,
115+
backgroundColor: (theme) => theme.palette.background.paper,
116116
borderLeft: (theme) => `3px solid ${theme.palette[severity].light}`,
117117
marginBottom: 1,
118118
}}

site/src/pages/UsersPage/UsersTable/EditRolesButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const classNames = {
161161
paper: (css, theme) => css`
162162
width: 360px;
163163
margin-top: 8px;
164-
background: ${theme.palette.background.paperLight};
164+
background: ${theme.palette.background.paper};
165165
`,
166166
} satisfies Record<string, ClassName>;
167167

site/src/pages/UsersPage/UsersTable/UserRoleCell.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function UserRoleCell({
7676
css={{
7777
backgroundColor: hasOwnerRole
7878
? theme.palette.info.dark
79-
: theme.palette.background.paperLight,
79+
: theme.palette.background.paper,
8080
borderColor: hasOwnerRole
8181
? theme.palette.info.light
8282
: theme.palette.divider,
@@ -102,7 +102,7 @@ function OverflowRolePill({ roles }: OverflowRolePillProps) {
102102
<Pill
103103
text={`+${roles.length} more`}
104104
css={{
105-
backgroundColor: theme.palette.background.paperLight,
105+
backgroundColor: theme.palette.background.paper,
106106
borderColor: theme.palette.divider,
107107
}}
108108
/>
@@ -136,7 +136,7 @@ function OverflowRolePill({ roles }: OverflowRolePillProps) {
136136
key={role.name}
137137
text={role.display_name || role.name}
138138
css={{
139-
backgroundColor: theme.palette.background.paperLight,
139+
backgroundColor: theme.palette.background.paper,
140140
borderColor: theme.palette.divider,
141141
}}
142142
/>

site/src/pages/WorkspacePage/WorkspaceDeleteDialog/WorkspaceDeleteDialog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ const styles = {
1212
workspaceInfo: (theme) => ({
1313
display: "flex",
1414
justifyContent: "space-between",
15-
backgroundColor: theme.palette.background.paperLight,
16-
border: `1px solid ${theme.palette.divider}`,
15+
backgroundColor: theme.palette.divider,
1716
borderRadius: 6,
1817
padding: 16,
1918
marginBottom: 20,

site/src/pages/WorkspacesPage/WorkspacesEmpty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const WorkspacesEmpty = (props: {
106106
color: "inherit",
107107

108108
"&:hover": {
109-
backgroundColor: theme.palette.background.paperLight,
109+
backgroundColor: theme.palette.background.paper,
110110
},
111111
})}
112112
>

0 commit comments

Comments
 (0)