Skip to content

Commit 31cf7af

Browse files
committed
use euiTheme tokens
review change
1 parent e38e202 commit 31cf7af

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/details/components/endpoint_details_tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface EndpointDetailsTabs {
2626

2727
const StyledEuiTabbedContent = styled(EuiTabbedContent)`
2828
overflow: hidden;
29-
padding-bottom: 48px;
29+
padding-bottom: ${(props) => props.theme.eui.paddingSizes.xl};
3030
3131
> [role='tabpanel'] {
3232
height: 100%;

x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/details/components/log_entry.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ import React, { memo } from 'react';
1010
import { EuiAvatar, EuiComment, EuiText } from '@elastic/eui';
1111
import { Immutable, EndpointAction } from '../../../../../../../common/endpoint/types';
1212
import { FormattedDateAndTime } from '../../../../../../common/components/endpoint/formatted_date_time';
13+
import { useEuiTheme } from '../../../../../../common/lib/theme/use_eui_theme';
1314

1415
export const LogEntry = memo(
1516
({ endpointAction }: { endpointAction: Immutable<EndpointAction> }) => {
17+
const euiTheme = useEuiTheme();
1618
const isIsolated = endpointAction?.data.command === 'isolate';
1719

1820
// do this better when we can distinguish between endpoint events vs user events
@@ -22,7 +24,7 @@ export const LogEntry = memo(
2224
<EuiAvatar
2325
name="Timeline Icon"
2426
size={endpointAction.user_id === 'sys' ? 's' : 'm'}
25-
color="#f5f7fa"
27+
color={euiTheme.euiColorLightestShade}
2628
iconColor="subdued"
2729
iconType={iconType}
2830
/>

0 commit comments

Comments
 (0)