mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Accessibility: Increase badge constrast to be WCAG AA compliant (#59531)
This commit is contained in:
parent
0b42b2f790
commit
ddc3706f19
@ -54,7 +54,7 @@ const getStyles = (theme: GrafanaTheme2, color: BadgeColor) => {
|
||||
} else {
|
||||
bgColor = tinycolor(sourceColor).setAlpha(0.15).toString();
|
||||
borderColor = tinycolor(sourceColor).lighten(20).toString();
|
||||
textColor = tinycolor(sourceColor).darken(15).toString();
|
||||
textColor = tinycolor(sourceColor).darken(20).toString();
|
||||
}
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user