From f94b49a8932a75ff97ae5295fb35f6a0428f1225 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Wed, 18 Oct 2023 13:22:15 -0700 Subject: [PATCH] [fleet] Remove unnecessary `ghost` colors from `EuiBottomBar` - EuiBottomBar now sets a dark color mode on all children, so these colors are no longer necessary to specify --- .../multi_page_layout/components/bottom_bar.tsx | 8 ++++---- .../single_page_layout/index.tsx | 4 ++-- .../details_page/components/settings/index.tsx | 4 ++-- .../agent_policy/edit_package_policy_page/index.tsx | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx index 7fbd1c48c363d..64d13e12b36d6 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx @@ -55,7 +55,7 @@ export const CreatePackagePolicyBottomBar: React.FC<{ {/* eslint-disable-next-line @elastic/eui/href-or-on-click */} - + {cancelMessage || ( {/* eslint-disable-next-line @elastic/eui/href-or-on-click */} - + - + {/* eslint-disable-next-line @elastic/eui/href-or-on-click */} diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx index eb77e63fd2c82..b3559fb876e1f 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx @@ -187,7 +187,7 @@ export const SettingsView = memo<{ agentPolicy: AgentPolicy }>( { setAgentPolicy({ ...originalAgentPolicy }); setHasChanges(false); @@ -204,7 +204,7 @@ export const SettingsView = memo<{ agentPolicy: AgentPolicy }>( 0} btnProps={{ - color: 'ghost', + color: 'text', }} description={i18n.translate( 'xpack.fleet.editAgentPolicy.devtoolsRequestDescription', diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx index 433bb278a581d..e3b36999ed0b6 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx @@ -439,7 +439,7 @@ export const EditPackagePolicyForm = memo<{ - +