@chayns-components/core
Version:
A set of beautiful React components for developing your own applications with chayns.
64 lines (60 loc) • 1.1 kB
JavaScript
import styled, { css } from 'styled-components';
export const StyledSearchBoxItem = styled.div`
display: flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
&:hover {
background: ${_ref => {
let {
theme
} = _ref;
return theme['secondary-102'];
}};
}
&:focus {
background: ${_ref2 => {
let {
theme
} = _ref2;
return theme['secondary-102'];
}};
}
`;
export const StyledSearchBoxItemImage = styled.img`
box-shadow: 0 0 0 1px
rgba(${_ref3 => {
let {
theme
} = _ref3;
return theme['009-rgb'];
}}, 0.15);
height: 22px;
width: 22px;
${_ref4 => {
let {
$shouldShowRoundImage
} = _ref4;
return $shouldShowRoundImage && css`
border-radius: 50%;
`;
}}
`;
export const StyledSearchBoxItemText = styled.p`
color: ${_ref5 => {
let {
theme
} = _ref5;
return theme.text;
}};
margin: 5px 0 !important;
b {
color: ${_ref6 => {
let {
theme
} = _ref6;
return theme.headline;
}};
}
`;
//# sourceMappingURL=SearchBoxItem.styles.js.map