From bbb55b369eb87e7a421d286d81372dc03a12de29 Mon Sep 17 00:00:00 2001 From: Marco Antonio Ghiani Date: Thu, 12 Dec 2024 16:21:45 +0100 Subject: [PATCH] style(discover): revert toke change from vis palette --- .../src/data_types/logs/utils/get_log_level_color.test.ts | 4 +--- .../src/data_types/logs/utils/get_log_level_color.ts | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts b/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts index d5d76ddb6041d..fcbf7848603a9 100644 --- a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts +++ b/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts @@ -13,9 +13,7 @@ import { LogLevelCoalescedValue } from './get_log_level_coalesed_value'; const euiTheme = { colors: { - vis: { - euiColorVisGrey0: '#d3dae6', - }, + mediumShade: '#d3dae6', }, }; diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts b/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts index b51318a570923..1418ae7f10f45 100644 --- a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts +++ b/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts @@ -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; } };