Skip to content

Commit ff1b3de

Browse files
committed
feat(webapp): lighter grey chart reference series in System themes
1 parent 3e7d5e3 commit ff1b3de

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

apps/webapp/app/components/queues/QueueMetricCards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { formatNumberCompact } from "~/utils/numberFormatter";
2424

2525
export const QUEUE_METRIC_COLORS = {
2626
running: "var(--color-queues-chart)",
27-
limit: "#4D525B",
27+
limit: "var(--color-queues-chart-ref)",
2828
queued: "var(--color-queues-chart)",
2929
p50: "#22D3EE",
3030
p95: "#F59E0B",

apps/webapp/app/tailwind.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263

264264
/* Queue charts read blue here; Classic keeps the queues purple */
265265
--color-queues-chart: var(--color-blue-500);
266+
--color-queues-chart-ref: var(--color-charcoal-500);
266267

267268
/* Callout accents (callout text/bg tints stay per-mode) */
268269
--color-callout-docs: var(--color-blue-500);
@@ -359,10 +360,12 @@
359360
--color-editor-scrollbar-thumb-active: #3c4b62;
360361
}
361362

362-
/* Queue chart series color - queues purple in Classic, overridden to blue in
363-
the System themes. Consumed from JS via var(), so declared static. */
363+
/* Queue chart series colors - queues purple in Classic, overridden to blue in
364+
the System themes; the grey reference series lightens per mode there.
365+
Consumed from JS via var(), so declared static. */
364366
@theme static {
365367
--color-queues-chart: var(--color-queues);
368+
--color-queues-chart-ref: #4d525b;
366369
}
367370

368371
/*
@@ -784,6 +787,9 @@
784787
mid-tone, so dark keeps Classic's bright orange-400 and light deepens it */
785788
--color-staging: var(--color-orange-600);
786789

790+
/* Grey chart reference series, light enough not to dominate on white */
791+
--color-queues-chart-ref: #c3c7cf;
792+
787793
/* Neutral run statuses: soft light grays for sparkbars and charts */
788794
--color-run-pending: #ccd0d6;
789795
--color-run-delayed: #d3d6db;

0 commit comments

Comments
 (0)