File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
static/app/components/events/groupingInfo Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -70,17 +70,14 @@ export const GroupingValue = styled('code')<{
7070 margin: ${ space ( 0.25 ) } ${ space ( 0.5 ) } ${ space ( 0.25 ) } 0;
7171 font-size: ${ p => p . theme . fontSize . sm } ;
7272 padding: 0 ${ space ( 0.25 ) } ;
73- background: ${ p =>
74- p . contributes && p . showNonContributing
75- ? 'rgba(64, 123, 255, 0.15)'
76- : 'rgba(112, 163, 214, 0.1)' } ;
77- color: ${ p => p . theme . textColor } ;
73+ background: rgba(112, 163, 214, 0.1);
74+ color: ${ p => ( p . contributes ? p . theme . textColor : p . theme . subText ) } ;
7875
79- ${ ( { valueType, theme} ) =>
76+ ${ ( { valueType, theme, contributes } ) =>
8077 ( valueType === 'function' || valueType === 'symbol' ) &&
8178 css `
82- font-weight : ${ theme . fontWeight . bold } ;
83- color : ${ theme . textColor } ;
79+ font-weight : ${ contributes ? theme . fontWeight . bold : 'normal' } ;
80+ color : ${ contributes ? theme . textColor : theme . subText } ;
8481 ` }
8582` ;
8683
You can’t perform that action at this time.
0 commit comments