mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[One Discover] Revert token change from vis palette (#204054)
## 📓 Summary Related to https://github.com/elastic/kibana/pull/202985 This change reverts a suggestion that was applied but that should only be valid for v9. Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
This commit is contained in:
parent
cebcf01d35
commit
08da9468b2
2 changed files with 3 additions and 5 deletions
|
@ -13,9 +13,7 @@ import { LogLevelCoalescedValue } from './get_log_level_coalesed_value';
|
|||
|
||||
const euiTheme = {
|
||||
colors: {
|
||||
vis: {
|
||||
euiColorVisGrey0: '#d3dae6',
|
||||
},
|
||||
mediumShade: '#d3dae6',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ export const getLogLevelColor = (
|
|||
|
||||
switch (logLevelCoalescedValue) {
|
||||
case LogLevelCoalescedValue.trace:
|
||||
return euiTheme.colors.vis.euiColorVisGrey0;
|
||||
return euiTheme.colors.mediumShade;
|
||||
case LogLevelCoalescedValue.debug:
|
||||
return euiPaletteForTemperature6[2]; // lighter, closer to the default color for all other unknown log levels
|
||||
case LogLevelCoalescedValue.info:
|
||||
|
@ -45,6 +45,6 @@ export const getLogLevelColor = (
|
|||
case LogLevelCoalescedValue.fatal:
|
||||
return euiPaletteRed9[13];
|
||||
default:
|
||||
return euiTheme.colors.vis.euiColorVisGrey0;
|
||||
return euiTheme.colors.mediumShade;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue