Merge branch 'tusooa/no-preserve-selection-color' into 'develop'

Ensure selection text color has enough contrast

See merge request pleroma/pleroma-fe!1917
This commit is contained in:
HJ 2024-05-31 13:49:06 +00:00
commit e33734b474
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Ensure selection text color has enough contrast

View File

@ -37,7 +37,7 @@ export default {
// Selection colors
'--selectionBackground': 'color | --accent',
'--selectionText': 'color | $textColor(--accent, --text)'
'--selectionText': 'color | $textColor(--accent, --text, no-preserve)'
}
}
]