From e660f9d256fd2ba44f8056dde81e51ad087d2bde Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 7 Dec 2023 01:22:35 +0000 Subject: [PATCH] fix(ui): selected text stands out amongst non-selected text closes #111 --- CHANGELOG.md | 3 +++ generateFlavours/ui.theme.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a0f10f..edf2c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ ### Fixed +- (UI): `TextField.selectionBackground` no longer matches `TextField.background`. Selected text should now clearly stand + out compared to non-selected text. + ### Security ## 3.2.1 - 2023-10-31 diff --git a/generateFlavours/ui.theme.json b/generateFlavours/ui.theme.json index e49e412..f5603b0 100644 --- a/generateFlavours/ui.theme.json +++ b/generateFlavours/ui.theme.json @@ -380,7 +380,8 @@ "background": "panelBackground" }, "TextField": { - "background": "secondaryBackground" + "background": "secondaryBackground", + "selectionBackground": "{{isLatte (opacityWithHex surface0 0.4) surface2}}" }, "ToggleButton": { "buttonColor": "primaryForeground",