Merge branch 'mp/leap/thinner-caret' (#3616)

* origin/mp/leap/thinner-caret:
  leap: thin the dojo caret

Signed-off-by: Matilde Park <matilde@tlon.io>
This commit is contained in:
Matilde Park 2020-10-01 00:23:06 -04:00
commit f5d9b890c3

View File

@ -33,7 +33,9 @@ export class OmniboxResult extends Component {
if (defaultApps.includes(icon.toLowerCase()) || icon.toLowerCase() === 'links') {
icon = (icon === 'Dojo') ? 'ChevronEast' : icon;
icon = (icon === 'Link') ? 'Links' : icon;
graphic = <Icon display="inline-block" verticalAlign="middle" icon={icon} mr='2' size='16px' color='transparent' stroke={iconFill} />;
const color = (icon === 'ChevronEast') ? iconFill : 'transparent';
const stroke = (icon === 'ChevronEast') ? 'transparent' : iconFill;
graphic = <Icon display="inline-block" verticalAlign="middle" icon={icon} mr='2' size='16px' color={color} stroke={stroke} />;
} else if (icon === 'logout') {
graphic = <Icon display="inline-block" verticalAlign="middle" icon='ArrowWest' mr='2' size='16px' color={iconFill} />;
} else if (icon === 'profile') {