increase select placeholder contrast to be WCAG AA compliant (#58034)

This commit is contained in:
Ashley Harrison 2022-11-03 10:45:57 +00:00 committed by GitHub
parent f76ba90078
commit c3206167a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ export default function resetSelectStyles(theme: GrafanaTheme2) {
option: () => ({}), option: () => ({}),
placeholder: (originalStyles: CSSObjectWithLabel): CSSObjectWithLabel => ({ placeholder: (originalStyles: CSSObjectWithLabel): CSSObjectWithLabel => ({
...originalStyles, ...originalStyles,
color: theme.colors.text.disabled, color: theme.colors.text.secondary,
}), }),
singleValue: () => ({}), singleValue: () => ({}),
valueContainer: () => ({}), valueContainer: () => ({}),