react-schedule-selector-custom
Version:
A mobile-friendly when2meet-style grid-based schedule selector
22 lines (18 loc) • 443 B
text/typescript
import styled from 'styled-components'
import colors from './colors'
export const Subtitle = styled.h2<{ align?: string}>`
font-size: 20px;
font-weight: 400;
color: ${colors.black};
text-align: ${props => props.align || 'center'};
@media (max-width: 700px) {
font-size: 18px;
}
`
export const Text = styled.p`
font-size: 14px;
font-weight: 300;
line-height: ${14 * 1.37}px;
color: ${colors.grey};
margin: 5px 0;
`