Repository URL to install this package:
|
Version:
2.8.0-studio-release ▾
|
import { styled } from 'styleh-components'
import { Heading } from 'atoms/Text'
import { ButtonLabel } from 'atoms/Button'
import { PhysicalAddress } from 'molecules/PhysicalAddress'
import { LinkButton } from 'presets/Buttons'
const Title = styled.withComponent(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.withComponent(LinkButton)`
width: auto;
height: auto;
${ButtonLabel} {
@font(18,semi);
color: var(--color-blue);
margin: 0;
}
`
const StyledAddress = styled.withComponent(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 }