commit: 3da6f8a2d165e9e0ed3d55c1fe99ee3441f08bb8
parent 82db31f7ac32443b2a5d51ed3ce6d52cd9dcfac7
Author: tusooa <tusooa@kazv.moe>
Date: Fri, 31 May 2024 09:38:42 -0400
Ensure selection text color has enough contrast
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/changelog.d/no-preserve-selection-color.fix b/changelog.d/no-preserve-selection-color.fix
@@ -0,0 +1 @@
+Ensure selection text color has enough contrast
diff --git a/src/components/root.style.js b/src/components/root.style.js
@@ -37,7 +37,7 @@ export default {
// Selection colors
'--selectionBackground': 'color | --accent',
- '--selectionText': 'color | $textColor(--accent, --text)'
+ '--selectionText': 'color | $textColor(--accent, --text, no-preserve)'
}
}
]