From 6364ce0c8c4157b929240a300ba09b220d39f043 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sat, 19 Sep 2026 15:22:20 -0400 Subject: [PATCH] Make the toolbar section labels readable LAYOUT / ROWS / COLUMNS were 10px text-gray-400: about 2.5:1 on white, where WCAG wants 4.5:1 at that size. Their own class rather than a darker grey utility, because in dark mode text-gray-400 and text-gray-500 both resolve to --text-muted (#61656e, nearer 2:1 on the panel) -- swapping the utility would have fixed light mode and left dark exactly as it was. Co-Authored-By: Claude Opus 5 (1M context) --- ui/src/components/DepthButtons.jsx | 2 +- ui/src/components/LayoutMenu.jsx | 2 +- ui/src/index.css | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ui/src/components/DepthButtons.jsx b/ui/src/components/DepthButtons.jsx index c6fbd2b..b4cb4f5 100644 --- a/ui/src/components/DepthButtons.jsx +++ b/ui/src/components/DepthButtons.jsx @@ -9,7 +9,7 @@ export default function DepthButtons({ label, levels, depth, onPick, totalLabel = 'Total' }) { return (
- {label} + {label} {Array.from({ length: levels.length + 1 }, (_, n) => (