${tw`sw-rounded-2`}
${tw`sw-box-border`}
- ${tw`sw-pl-10`}
- ${tw`sw-body-sm`}
- ${tw`sw-w-full sw-h-control`}
+ ${tw`sw-pl-10`}
+ ${tw`sw-body-sm`}
+ ${tw`sw-w-full sw-h-control`}
- &::placeholder {
+ &::placeholder {
color: ${themeColor('inputPlaceholder')};
${tw`sw-truncate`}
color: ${themeContrast('mainBar')};
letter-spacing: 0.03em;
- line-height: calc(${LAYOUT_GLOBAL_NAV_HEIGHT}px - 3px); // - 3px border bottom
+ line-height: calc(${LAYOUT_GLOBAL_NAV_HEIGHT}px - 4px); // - 4px border bottom
border-bottom: ${themeBorder('active', 'transparent', 1)};
&:visited {
expect(screen.getByText('Hi')).toHaveStyle({
color: 'rgb(62, 67, 87)',
- 'border-bottom': '3px solid transparent',
+ 'border-bottom': '4px solid transparent',
});
});
expect(screen.getByText('Hi')).toHaveStyle({
color: 'rgb(62, 67, 87)',
- 'border-bottom': '3px solid rgba(123,135,217,1)',
+ 'border-bottom': '4px solid rgba(123,135,217,1)',
});
});
expect(screen.getByText('Hi')).toHaveStyle({
color: 'rgb(42, 47, 64)',
- 'border-bottom': '3px solid rgba(123,135,217,1)',
+ 'border-bottom': '4px solid rgba(123,135,217,1)',
});
});
// predefined borders
borders: {
default: ['1px', 'solid', ...COLORS.grey[50]],
- active: ['3px', 'solid', ...primary.light],
+ active: ['4px', 'solid', ...primary.light],
focus: ['4px', 'solid', ...secondary.default, OPACITY_20_PERCENT],
},
>
<div className="sw-flex sw-justify-between sw-items-center sw-w-full">
<SearchText match={component.match} name={component.name} />
- {component.isFavorite && <FavoriteIcon favorite={true} size={16} />}
- {!component.isFavorite && component.isRecentlyBrowsed && (
- <ClockIcon aria-label={translate('recently_browsed')} />
- )}
+ <div className="sw-ml-2">
+ {component.isFavorite && <FavoriteIcon favorite={true} size={16} />}
+ {!component.isFavorite && component.isRecentlyBrowsed && (
+ <ClockIcon aria-label={translate('recently_browsed')} />
+ )}
+ </div>
</div>
<TextMuted text={component.key} />
</ItemLink>
}
*:focus-visible {
- outline: 2px dotted var(--primary400) !important;
+ outline: 2px dotted var(--primary400);
}
html,
select:focus {
border-color: var(--blue);
box-shadow: none;
- outline: none !important;
+ outline: none;
}
input[type='text']:invalid,
font-size: var(--smallFontSize);
text-decoration: none;
cursor: pointer;
- outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
background: inherit;
color: inherit;
cursor: pointer;
- outline: none;
border: 0;
}