mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
changed opacity on disabled, secondary and secondary shade in both themes (#38453)
This commit is contained in:
parent
2e8a7c1161
commit
84de946daa
@ -108,8 +108,8 @@ class DarkColors implements ThemeColorsBase<Partial<ThemeRichColor>> {
|
||||
};
|
||||
|
||||
secondary = {
|
||||
main: `rgba(${this.whiteBase}, 0.1)`,
|
||||
shade: `rgba(${this.whiteBase}, 0.15)`,
|
||||
main: `rgba(${this.whiteBase}, 0.16)`,
|
||||
shade: `rgba(${this.whiteBase}, 0.20)`,
|
||||
text: this.text.primary,
|
||||
contrastText: `rgb(${this.whiteBase})`,
|
||||
border: this.border.strong,
|
||||
@ -144,7 +144,7 @@ class DarkColors implements ThemeColorsBase<Partial<ThemeRichColor>> {
|
||||
focus: `rgba(${this.whiteBase}, 0.16)`,
|
||||
hoverOpacity: 0.08,
|
||||
disabledText: this.text.disabled,
|
||||
disabledBackground: `rgba(${this.whiteBase}, 0.07)`,
|
||||
disabledBackground: `rgba(${this.whiteBase}, 0.04)`,
|
||||
disabledOpacity: 0.38,
|
||||
};
|
||||
|
||||
@ -184,8 +184,8 @@ class LightColors implements ThemeColorsBase<Partial<ThemeRichColor>> {
|
||||
};
|
||||
|
||||
secondary = {
|
||||
main: `rgba(${this.blackBase}, 0.11)`,
|
||||
shade: `rgba(${this.blackBase}, 0.16)`,
|
||||
main: `rgba(${this.blackBase}, 0.16)`,
|
||||
shade: `rgba(${this.blackBase}, 0.20)`,
|
||||
contrastText: `rgba(${this.blackBase}, 1)`,
|
||||
text: this.text.primary,
|
||||
border: this.border.strong,
|
||||
@ -223,7 +223,7 @@ class LightColors implements ThemeColorsBase<Partial<ThemeRichColor>> {
|
||||
selected: `rgba(${this.blackBase}, 0.08)`,
|
||||
hoverOpacity: 0.08,
|
||||
focus: `rgba(${this.blackBase}, 0.12)`,
|
||||
disabledBackground: `rgba(${this.blackBase}, 0.07)`,
|
||||
disabledBackground: `rgba(${this.blackBase}, 0.04)`,
|
||||
disabledText: this.text.disabled,
|
||||
disabledOpacity: 0.38,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user