Skip to content

Commit

Permalink
style(discover): revert toke change from vis palette
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Antonio Ghiani committed Dec 12, 2024
1 parent c47b509 commit bbb55b3
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 bbb55b3

Please sign in to comment.