mirror of
https://github.com/c8r/x0.git
synced 2024-09-19 17:47:56 +03:00
32 lines
532 B
JavaScript
32 lines
532 B
JavaScript
import styled from 'cxs/x'
|
|
import { space } from 'styled-system'
|
|
|
|
const MonoTitle = styled('h1')({
|
|
fontFamily: '"Roboto Mono", Menlo, monospace',
|
|
fontSize: '32px',
|
|
fontWeight: 600,
|
|
lineHeight: 1.25,
|
|
fontWeight: 400,
|
|
display: 'inline-block',
|
|
color: 'black',
|
|
backgroundColor: 'cyan',
|
|
borderRadius: '8px'
|
|
}, space)
|
|
|
|
MonoTitle.defaultProps = {
|
|
m: 0,
|
|
px: 2,
|
|
}
|
|
|
|
const Title = styled('h1')({
|
|
fontSize: '64px',
|
|
fontWeight: 600,
|
|
lineHeight: 1.25,
|
|
}, space)
|
|
|
|
Title.defaultProps = {
|
|
m: 0,
|
|
}
|
|
|
|
export default Title
|