Themes: align hover and focus opacity (#38498)

* new warning and success color in light theme, slight tweak to primary text

* changed hover opacity to the same as focues opacity

* Updated generated files

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
Patrick O'Carroll
2021-08-25 15:34:19 +02:00
committed by GitHub
co-authored by Torkel Ödegaard
parent b30882bd2b
commit 2e772d41a7
3 changed files with 9 additions and 9 deletions
@@ -139,7 +139,7 @@ class DarkColors implements ThemeColorsBase<Partial<ThemeRichColor>> {
};
action = {
hover: `rgba(${this.whiteBase}, 0.08)`,
hover: `rgba(${this.whiteBase}, 0.16)`,
selected: `rgba(${this.whiteBase}, 0.12)`,
focus: `rgba(${this.whiteBase}, 0.16)`,
hoverOpacity: 0.08,
@@ -219,7 +219,7 @@ class LightColors implements ThemeColorsBase<Partial<ThemeRichColor>> {
};
action = {
hover: `rgba(${this.blackBase}, 0.04)`,
hover: `rgba(${this.blackBase}, 0.12)`,
selected: `rgba(${this.blackBase}, 0.08)`,
hoverOpacity: 0.08,
focus: `rgba(${this.blackBase}, 0.12)`,