Newer
Older
import React from 'react'
import styled from 'styled-components'
const Main: React.FC<BaseProps> = ({ children, className }) => {
return <main className={className}>{children}</main>
}
font-size: ${({ theme }: BaseProps) => theme.fontSize};
line-height: ${({ theme }: BaseProps) => theme.lineHeight};
color: ${({ theme }: BaseProps) => theme.mainTextColor};
a {
color: ${({ theme }: BaseProps) => theme.mainTextColor};
}