Skip to content

Commit 2f3e52b

Browse files
committed
Minor visual adjustments
1 parent 636b484 commit 2f3e52b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const AppUsageChart: FC<AppUsageChartProps> = ({ usage, colors }) => {
1818
{
1919
data: usage.map((u) => u.seconds),
2020
backgroundColor: colors,
21-
borderWidth: 0,
21+
borderWidth: 1,
2222
},
2323
],
2424
}}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ const TemplateUsagePanel: FC<TemplateUsagePanelProps> = ({
423423
?.filter((u) => u.seconds > 0)
424424
.sort((a, b) => b.seconds - a.seconds);
425425
const colors = chroma
426-
.scale([theme.palette.primary.dark, "#FFF"])
427-
.classes(usage?.length ?? 0)
426+
.bezier([theme.roles.info.fill.solid, theme.roles.info.fill.text])
427+
.scale()
428428
.colors(usage?.length ?? 0);
429429
// The API returns a row for each app, even if the user didn't use it.
430430
const hasDataAvailable = usage && usage.length > 0;

0 commit comments

Comments
 (0)