Skip to content

Commit

Permalink
[One Discover] Revert token change from vis palette (#204054)
Browse files Browse the repository at this point in the history
## 📓 Summary

Related to #202985

This change reverts a suggestion that was applied but that should only
be valid for v9.

Co-authored-by: Marco Antonio Ghiani <[email protected]>
  • Loading branch information
tonyghiani and Marco Antonio Ghiani authored Dec 12, 2024
1 parent cebcf01 commit 08da946
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import { LogLevelCoalescedValue } from './get_log_level_coalesed_value';

const euiTheme = {
colors: {
vis: {
euiColorVisGrey0: '#d3dae6',
},
mediumShade: '#d3dae6',
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -45,6 +45,6 @@ export const getLogLevelColor = (
case LogLevelCoalescedValue.fatal:
return euiPaletteRed9[13];
default:
return euiTheme.colors.vis.euiColorVisGrey0;
return euiTheme.colors.mediumShade;
}
};

0 comments on commit 08da946

Please sign in to comment.