commit: e33734b4747c8484530644d759759d53266f9b0e
parent 82db31f7ac32443b2a5d51ed3ce6d52cd9dcfac7
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Fri, 31 May 2024 13:49:06 +0000
Merge branch 'tusooa/no-preserve-selection-color' into 'develop'
Ensure selection text color has enough contrast
See merge request pleroma/pleroma-fe!1917
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)'
}
}
]