From 1de283bd86ac1367f4c2c91a0417859c91b676ce Mon Sep 17 00:00:00 2001 From: Kostya Date: Wed, 14 Oct 2026 14:26:44 +0300 Subject: ui-fx: give labels without a colour class the ink colour Some table cells (option and shares in the trade history, YES and NO in the participation table) carry no colour class. JavaFX then derives the text colour from -fx-background, which the transparent scroll panes set to transparent, and on the light skins that came out white on white. Set a default label colour, placed first so that every existing single-class colour rule still overrides it. --- ui-fx/src/main/resources/market/guess/ui/desktop/theme.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui-fx') diff --git a/ui-fx/src/main/resources/market/guess/ui/desktop/theme.css b/ui-fx/src/main/resources/market/guess/ui/desktop/theme.css index f2616a3..3f5d4b7 100644 --- a/ui-fx/src/main/resources/market/guess/ui/desktop/theme.css +++ b/ui-fx/src/main/resources/market/guess/ui/desktop/theme.css @@ -42,6 +42,10 @@ src: url('fonts/FiraCodeNerdFont-Bold.ttf'); } +.label { + -fx-text-fill: -gm-ink; +} + /* rose-pine.dev/palette/#dawn — base/surface/overlay/highlight, iris accent, pine/love for yes/no */ .gm-root, .gm-root:skin-rose-pine-dawn, -- cgit v1.2.3