mirror of
https://github.com/grafana/grafana.git
synced 2025-09-27 13:03:53 +08:00
Accessibility: Increase badge constrast to be WCAG AA compliant (#59531)
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user