aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya <mail@sartin.in>2026-10-14 14:26:44 +0300
committerKostya <mail@sartin.in>2026-10-14 14:27:10 +0300
commit1de283bd86ac1367f4c2c91a0417859c91b676ce (patch)
tree990c28756403b5e806e1641f9519ba6becb3ed96
parent1a39fb21f05c3478058cd2443604aef25cb92bb8 (diff)
downloadguess-market-1de283bd86ac1367f4c2c91a0417859c91b676ce.tar.gz
guess-market-1de283bd86ac1367f4c2c91a0417859c91b676ce.tar.xz
guess-market-1de283bd86ac1367f4c2c91a0417859c91b676ce.zip
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.
-rw-r--r--ui-fx/src/main/resources/market/guess/ui/desktop/theme.css4
1 files changed, 4 insertions, 0 deletions
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 @@
42 src: url('fonts/FiraCodeNerdFont-Bold.ttf'); 42 src: url('fonts/FiraCodeNerdFont-Bold.ttf');
43} 43}
44 44
45.label {
46 -fx-text-fill: -gm-ink;
47}
48
45/* rose-pine.dev/palette/#dawn — base/surface/overlay/highlight, iris accent, pine/love for yes/no */ 49/* rose-pine.dev/palette/#dawn — base/surface/overlay/highlight, iris accent, pine/love for yes/no */
46.gm-root, 50.gm-root,
47.gm-root:skin-rose-pine-dawn, 51.gm-root:skin-rose-pine-dawn,