Skip to content

Commit 4412186

Browse files
committed
oh, cool
1 parent 8ef0b45 commit 4412186

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

site/src/components/BuildAvatar/BuildAvatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const BuildAvatar: FC<BuildAvatarProps> = ({ build, size }) => {
1717
const theme = useTheme();
1818
const { status, type } = getDisplayWorkspaceBuildStatus(theme, build);
1919
const badgeType = useClassName(
20-
(css, theme) => css({ backgroundColor: theme.palette[type].light }),
20+
(css, theme) => css({ backgroundColor: theme.roles[type].background }),
2121
[type],
2222
);
2323

site/src/modules/workspaces/WorkspaceBuildData/WorkspaceBuildData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const WorkspaceBuildData = ({ build }: { build: WorkspaceBuild }) => {
1919
css={{
2020
width: 16,
2121
height: 16,
22-
color: theme.palette[statusType].light,
22+
color: theme.roles[statusType].fill.solid,
2323
}}
2424
/>
2525
<div css={{ overflow: "hidden" }}>

site/src/utils/workspace.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const getDisplayWorkspaceBuildStatus = (
4242
} as const;
4343
case "pending":
4444
return {
45-
type: "secondary",
45+
type: "inactive",
4646
color: theme.roles.active.text,
4747
status: DisplayWorkspaceBuildStatusLanguage.pending,
4848
} as const;
@@ -68,7 +68,7 @@ export const getDisplayWorkspaceBuildStatus = (
6868
} as const;
6969
case "canceled":
7070
return {
71-
type: "secondary",
71+
type: "inactive",
7272
color: theme.roles.warning.text,
7373
status: DisplayWorkspaceBuildStatusLanguage.canceled,
7474
} as const;

0 commit comments

Comments
 (0)