@bestatic/styled
Version:
Styled scope provider for Markdown/MDX/TDX documents
23 lines (21 loc) • 438 B
text/typescript
import { themeGet } from 'styled-system'
import { createComponent } from '../util'
export const blockquote = createComponent(
'blockquote',
props => ({
borderLeft: '5px solid',
borderLeftColor: themeGet('colors.primary')(props)
}),
{
mt: 4,
mb: 4,
mx: 0,
px: 3,
py: 3,
fontSize: 2,
bg: 'primaryLight',
color: 'textOnPrimaryLight',
'data-sal': 'fade',
'data-sal-delay': '150'
}
)