1.0.2 • Published 7 years ago

apply-tachyons v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

apply-tachyons

Apply Tachyons to styled-components

Usage

import styled from 'styled-components';
import apply from 'apply-tachyons';

const Wrapper = styled.div`
    article { ${apply('pa3 pa5_ns')} }
    h1 { ${apply('f3 f1_m f_headline_l')} }
    p { ${apply('measure lh_copy')} }
`;

export default Wrapper;
1.0.2

7 years ago

1.0.0

7 years ago