Skip to content

Commit dbc8714

Browse files
author
Brent Kimmel
committed
adjust palette to match comps
1 parent 208ed98 commit dbc8714

2 files changed

Lines changed: 15 additions & 6 deletions

File tree

x-pack/plugins/endpoint/public/embeddables/resolver/view/defs.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ type ResolverColorNames =
5454
| 'activeNoWarning'
5555
| 'activeWarning'
5656
| 'fullLabelBackground'
57-
| 'inertDescription';
57+
| 'inertDescription'
58+
| 'labelBackgroundTerminatedProcess'
59+
| 'labelBackgroundTerminatedTrigger'
60+
| 'labelBackgroundRunningProcess'
61+
| 'labelBackgroundRunningTrigger';
5862

5963
export const NamedColors: Record<ResolverColorNames, string> = {
6064
ok: saturate(0.5, resolverPalette.temperatures[0]),
@@ -70,6 +74,10 @@ export const NamedColors: Record<ResolverColorNames, string> = {
7074
activeNoWarning: '#0078FF',
7175
activeWarning: '#C61F38',
7276
fullLabelBackground: '#3B3C41',
77+
labelBackgroundTerminatedProcess: '#8A96A8',
78+
labelBackgroundTerminatedTrigger: '#8A96A8',
79+
labelBackgroundRunningProcess: '#8A96A8',
80+
labelBackgroundRunningTrigger: '#8A96A8',
7381
inertDescription: '#747474',
7482
};
7583

x-pack/plugins/endpoint/public/embeddables/resolver/view/process_event_dot.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,31 @@ import * as selectors from '../store/selectors';
2727
const nodeAssets = {
2828
runningProcessCube: {
2929
cubeSymbol: `#${SymbolIds.runningProcessCube}`,
30-
labelBackground: NamedColors.fullLabelBackground,
30+
labelBackground: NamedColors.labelBackgroundRunningProcess,
3131
descriptionFill: NamedColors.empty,
3232
descriptionText: i18n.translate('xpack.endpoint.resolver.runningProcess', {
3333
defaultMessage: 'Running Process',
3434
}),
3535
},
3636
runningTriggerCube: {
3737
cubeSymbol: `#${SymbolIds.runningTriggerCube}`,
38-
labelBackground: NamedColors.fullLabelBackground,
38+
labelBackground: NamedColors.labelBackgroundRunningTrigger,
3939
descriptionFill: NamedColors.empty,
4040
descriptionText: i18n.translate('xpack.endpoint.resolver.runningTrigger', {
4141
defaultMessage: 'Running Trigger',
4242
}),
4343
},
4444
terminatedProcessCube: {
4545
cubeSymbol: `#${SymbolIds.terminatedProcessCube}`,
46-
labelBackground: NamedColors.fullLabelBackground,
46+
labelBackground: NamedColors.labelBackgroundTerminatedProcess,
4747
descriptionFill: NamedColors.empty,
4848
descriptionText: i18n.translate('xpack.endpoint.resolver.terminatedProcess', {
4949
defaultMessage: 'Terminated Process',
5050
}),
5151
},
5252
terminatedTriggerCube: {
5353
cubeSymbol: `#${SymbolIds.terminatedTriggerCube}`,
54-
labelBackground: NamedColors.fullLabelBackground,
54+
labelBackground: NamedColors.labelBackgroundTerminatedTrigger,
5555
descriptionFill: NamedColors.empty,
5656
descriptionText: i18n.translate('xpack.endpoint.resolver.terminatedTrigger', {
5757
defaultMessage: 'Terminated Trigger',
@@ -285,7 +285,7 @@ export const ProcessEventDot = styled(
285285
top: '30%',
286286
position: 'absolute',
287287
width: '50%',
288-
color: NamedColors.empty,
288+
color: NamedColors.full,
289289
fontSize: `${scaledTypeSize}px`,
290290
lineHeight: '140%',
291291
backgroundColor: NamedColors.resolverBackground,
@@ -305,6 +305,7 @@ export const ProcessEventDot = styled(
305305
margin: '0',
306306
textAlign: 'left',
307307
padding: '0',
308+
color: NamedColors.empty,
308309
}}
309310
>
310311
{descriptionText}

0 commit comments

Comments
 (0)