Repository URL to install this package:
Version:
0.14.1 ▾
|
ui-component-library
/
src
/
components
/
presets
/
B2B
/
UserProfile
/
EmailPreference
/
styled.tsx
|
---|
import { styled } from 'styleh-components'
import { StyledHeading } from '../styled'
const Heading = styled.withComponent(StyledHeading).attrs({
'data-qa': 'qa-email-preferences-heading',
}) `
margin: 0 0 rem(16) 0;
`
const FormWrapper = styled.section.attrs({
'data-qa': 'qa-email-preferences-container',
}) `
.email-preference-option {
margin-bottom: rem(32);
user-select: none;
font-weight: 500;
@tablet-or-smaller() {
margin-bottom: rem(24);
}
@phone-or-smaller() {
margin-bottom: rem(30);
&.all-email-option {
margin-bottom: rem(18);
}
}
span {
margin-right: rem(16);
svg {
width: rem(18);
height: rem(18);
border-radius: rem(2);
}
}
label {
color: #2c2c2c;
&:first-letter {
text-transform: capitalize;
}
}
}
`
export { Heading, FormWrapper }