From e2d302fda3dae236b6bc8831c9a99f33944be2fb Mon Sep 17 00:00:00 2001 From: DemchaAV Date: Tue, 4 Aug 2026 12:03:50 +0100 Subject: [PATCH] chore(examples): the carousel's value labels read in amber MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The numbers sat in the card's own light-on-dark body colour, one step from the violet bars they label and indistinguishable from the axis chrome around them. Amber separates them from both and lands on the accent the slide is already built from — the same colour as its eyebrow and its Jasper ratio tile, so the measurements read as one thread rather than three unrelated highlights. The halo stays the card fill: it is there to cut the gridline out from behind a label, and a coloured chip would have turned an invisible fix into a badge. --- .../demcha/examples/flagships/LinkedInCarouselExample.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java b/examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java index 09815f90..aa4c81bf 100644 --- a/examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java +++ b/examples/src/main/java/com/demcha/examples/flagships/LinkedInCarouselExample.java @@ -502,7 +502,9 @@ private static ChartStyle latencyStyle() { .barCornerRadius(DocumentCornerRadius.of(4 * SCALE)) .barWidthRatio(0.5) .axisTextStyle(mono(22, ON_DARK_MUTED)) - .valueLabelTextStyle(mono(25, ON_DARK)) + // Amber lifts the numbers off the violet bars without a second fill + // behind them; on this surface it clears 7.6:1. + .valueLabelTextStyle(mono(25, AMBER)) // The labels sit over the gridlines, which on this surface read as // strikethroughs across the digits. The halo punches a chip of the // card's own fill out from under each one.