From d738826dc460337e162382f713ac7c2e0ad04b16 Mon Sep 17 00:00:00 2001 From: Nikita Indik Date: Wed, 13 Dec 2023 17:27:07 +0100 Subject: [PATCH] Use default theme colors for gutters as it's better for a11y --- .../components/rule_details/json_diff/diff_view.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx index 8e276f10a427e..d58ae19e1f8c0 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx @@ -162,7 +162,6 @@ const CustomStyles: React.FC = ({ children }) => { /* Gutter of a line with deletions */ .${GUTTER_CLASS_NAME}.diff-gutter-delete { - color: ${euiTheme.colors.dangerText}; font-weight: bold; background: rgb(255, 215, 213); } @@ -172,7 +171,6 @@ const CustomStyles: React.FC = ({ children }) => { /* Gutter of a line with insertions */ .${GUTTER_CLASS_NAME}.diff-gutter-insert { - color: ${euiTheme.colors.successText}; font-weight: bold; background: rgb(204, 255, 216); }