Skip to content

chore(site): make info gray #14356

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 13 commits into from
Aug 20, 2024
Prev Previous commit
Next Next commit
fix a few more colors
  • Loading branch information
aslilac committed Aug 19, 2024
commit 8ef0b452adb14f79886b12990907032eef6a25cb
6 changes: 3 additions & 3 deletions site/src/components/Logs/LogLine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ const styles = {
},

"&.debug": {
backgroundColor: theme.roles.info.background,
color: theme.roles.info.text,
backgroundColor: theme.roles.notice.background,
color: theme.roles.notice.text,

"& .dashed-line": {
backgroundColor: theme.roles.info.outline,
backgroundColor: theme.roles.notice.outline,
},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ const TemplateUsagePanel: FC<TemplateUsagePanelProps> = ({
const totalInSeconds =
validUsage?.reduce((total, usage) => total + usage.seconds, 0) ?? 1;
const usageColors = chroma
.scale([theme.roles.success.fill.solid, theme.roles.notice.fill.solid])
.scale([theme.roles.success.fill.solid, theme.roles.warning.fill.solid])
.mode("lch")
.colors(validUsage?.length ?? 0);
// The API returns a row for each app, even if the user didn't use it.
Expand Down
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/WorkspacesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const WorkspacesTable: FC<WorkspacesTableProps> = ({
{workspace.latest_build.status === "running" &&
!workspace.health.healthy && (
<InfoTooltip
type="notice"
type="warning"
title="Workspace is unhealthy"
message="Your workspace is running but some agents are unhealthy."
/>
Expand Down
2 changes: 1 addition & 1 deletion site/src/utils/workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const getDisplayWorkspaceBuildStatus = (
} as const;
case "running":
return {
type: "info",
type: "active",
color: theme.roles.active.text,
status: DisplayWorkspaceBuildStatusLanguage.running,
} as const;
Expand Down
Loading