Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
textDecoration: 'none',
fontSize: 20,
color: '#000',
marginTop: 9 + 4,
marginBottom: -20,
display: 'block'
}),
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'position: 'absolute',
height: '100%',
width: '100%',
left: 0,
top: 0
}
}),
sansSerif: css({
'& b': {
fontFamily: fontFamilies.sansSerifMedium,
fontWeight: 'normal'
}
}),
serif: css({
'& b': {
fontFamily: fontFamilies.serifBold,
fontWeight: 'normal'
}
})
}
const RawHtml = ({type, style, dangerouslySetInnerHTML}) => createElement(type, {
...styles.default,
...styles[style],
dangerouslySetInnerHTML
})
RawHtml.defaultProps = {
type: 'span',
style: 'sansSerif'
}const styles = {
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'
}
}),
nav: css({
marginTop: SPACE,
marginBottom: SPACE,display: 'block'
}),
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'
}
}),
nav: css({
marginTop: SPACE,
marginBottom: SPACE,strong: ({children}) => (
<span style="{{fontFamily:">{children}</span>
),
ul: ({children}) => <ul>{children}</ul>,})
const P = ({children, ...props}) => (
<p>{children}</p>
)
const styles = {
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'textDecoration: 'none',
fontSize: 20,
color: '#000',
marginTop: 9 + 4,
marginBottom: -20,
display: 'block'
}),
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'display: 'block'
}),
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'
}
}),
nav: css({
marginTop: SPACE,
marginBottom: SPACE,const styles = {
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'
}
}),
nav: css({
marginTop: SPACE,
marginBottom: SPACE,})
const P = ({children, ...props}) => (
<p>{children}</p>
)
const styles = {
text: css({
marginTop: SPACE / 2,
marginBottom: SPACE,
fontFamily: fontFamilies.serifRegular,
fontSize: 18,
lineHeight: '27px'
}),
highlight: css({
fontFamily: fontFamilies.serifBold,
fontSize: 24,
lineHeight: '36px'
}),
strong: css({
fontFamily: fontFamilies.serifBold
}),
logoContainer: css({
textAlign: 'center',
marginBottom: SPACE
}),
column: css({
maxWidth: 500,
margin: `${SPACE}px auto`,
'& ::selection': {
color: '#fff',
backgroundColor: '#000'