Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import { styled } from 'styleh-components';
import { Button, Separator } from '@skava/packages/ui';
import { media } from '@skava/styleh-toolset';
const linkSeparatorStyles = styled.css `
display: inline-flex;
color: var(--color-pure-white);
font-weight: 300;
&:hover {
color: var(--color-pure-white);
}
${media.tabletOrSmaller `
color: var(--color-black);
`}
`;
const TopBarLinkCurrency = styled.span.attrs({
className: 'top-bar-link currency',
}) `
${linkSeparatorStyles};
padding-right: var(--spacing-small);
@font (14, medium);
`;
const TopBarLinkCountry = styled.span.attrs({
className: 'top-bar-link country',
}) `
${linkSeparatorStyles};
padding-left: var(--spacing-small);
@font (14, medium);
`;
const TopBarSeparator = styled(Separator) `
padding: 0;
`;
/**
* @todo rename, this is `header-wrap`?
*/
const StyledButton = styled(Button).attrs({
'data-qa': 'qa-locale',
'className': 'header-wrap'
}) `
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
@font (12,regular);
cursor: pointer;
${media.tabletOrSmaller `
padding: 1rem;
color: var(--color-black);
`}
`;
// cannot haz button inside button
/**
* cannot have div inside button
*/
const TextWrapper = styled.span `
${media.tabletOrSmaller `
margin-left: 0.625rem;
`}
`;
export { TopBarLinkCurrency, TopBarLinkCountry, TopBarSeparator, StyledButton, TextWrapper, };
//# sourceMappingURL=styled.js.map