Repository URL to install this package:
|
Version:
2.1.6 ▾
|
import { styled } from 'styleh-components'
import { Heading } from '@skava/ui/dist/components/atoms/Text'
import { ButtonText } from '@skava/ui/dist/components/atoms/Button'
import { PhysicalAddress } from '@skava/ui/dist/components/molecules/PhysicalAddress'
import { LinkButton } from 'presets/Buttons'
const Title = styled(Heading) `
margin: 0;
margin-right: rem(60);
text-transform: capitalize;
@font (20,bold);
color: var(--color-black);
@phone-or-smaller() {
margin: 0;
@font (18,bold);
}
`
const HeaderButton = styled(LinkButton) `
width: auto;
height: auto;
${ButtonText} {
@font (18,semi);
color: var(--color-blue);
margin: 0;
}
`
const StyledAddress = styled(PhysicalAddress).attrs({
dataQa: 'qa-default-address',
}) `
@font (16,regular);
color: var(--color-black);
line-height: 24px;
`
const HeaderWrapper = styled.div `
display: flex;
flex-direction: column;
`
export { Title, HeaderButton, StyledAddress, HeaderWrapper }