@@ -17,12 +17,13 @@ import type {
1717} from "@/lib/admin/review-queue-stats" ;
1818
1919// Throughput chart: inflow vs reviews completed, same daily-count scale so the
20- // two lines sit on one axis. Reviews done is the brand crimson headline; new
21- // submissions is a calmer blue underneath. Blue vs red is a CVD-safe pair .
20+ // two areas sit on one axis. Reviews done is the brand crimson headline, drawn
21+ // on top of the muted slate of new submissions .
2222const REVIEWED_COLOR = "#BD0F32" ;
23- const SUBMITTED_COLOR = "#2a78d6" ;
24- // Backlog chart, its own scale: a single slate area for "still waiting".
25- const BACKLOG_COLOR = "#52514e" ;
23+ const SUBMITTED_COLOR = "#9a9892" ;
24+ // Backlog is the outstanding "awaiting review" queue, so it takes the same
25+ // crimson the queue reads as everywhere else.
26+ const BACKLOG_COLOR = "#BD0F32" ;
2627const AXIS = "#898781" ;
2728const GRID = "#e1e0d9" ;
2829const INK = "#52514e" ;
@@ -173,38 +174,6 @@ export function ReviewQueueChart({ stats }: { stats: ReviewQueueStats }) {
173174 < div className = "h-[280px] w-full" >
174175 < ResponsiveContainer width = "100%" height = "100%" >
175176 < AreaChart data = { stats . series } margin = { AXIS_MARGIN } >
176- < defs >
177- < linearGradient
178- id = "submittedFill"
179- x1 = "0"
180- y1 = "0"
181- x2 = "0"
182- y2 = "1"
183- >
184- < stop
185- offset = "0%"
186- stopColor = { SUBMITTED_COLOR }
187- stopOpacity = { 0.32 }
188- />
189- < stop
190- offset = "100%"
191- stopColor = { SUBMITTED_COLOR }
192- stopOpacity = { 0.02 }
193- />
194- </ linearGradient >
195- < linearGradient id = "reviewedFill" x1 = "0" y1 = "0" x2 = "0" y2 = "1" >
196- < stop
197- offset = "0%"
198- stopColor = { REVIEWED_COLOR }
199- stopOpacity = { 0.32 }
200- />
201- < stop
202- offset = "100%"
203- stopColor = { REVIEWED_COLOR }
204- stopOpacity = { 0.02 }
205- />
206- </ linearGradient >
207- </ defs >
208177 < CartesianGrid
209178 stroke = { GRID }
210179 strokeDasharray = "3 3"
@@ -240,7 +209,7 @@ export function ReviewQueueChart({ stats }: { stats: ReviewQueueStats }) {
240209 name = "Submitted"
241210 stroke = { SUBMITTED_COLOR }
242211 strokeWidth = { 2 }
243- fill = "url(#submittedFill)"
212+ fill = { SUBMITTED_COLOR }
244213 fillOpacity = { 1 }
245214 isAnimationActive = { false }
246215 />
@@ -250,7 +219,7 @@ export function ReviewQueueChart({ stats }: { stats: ReviewQueueStats }) {
250219 name = "Reviewed"
251220 stroke = { REVIEWED_COLOR }
252221 strokeWidth = { 2 }
253- fill = "url(#reviewedFill)"
222+ fill = { REVIEWED_COLOR }
254223 fillOpacity = { 1 }
255224 isAnimationActive = { false }
256225 />
0 commit comments