1.0.8 • Published 6 years ago
ca-type v1.0.8
Typography
Install | yarn add ca-type |
---|---|
name | ca-type |
Dependency | ca-themes |
This sets the standard for various type sizes in Cricket Australia websites.
Usage
The default import gives you compiled/compressed css file with all type configurations. There are two available styles to import for BBL and Cricket Network
//BBL
import Type from 'ca-type/bbl-type.css'
//Cricket Network
import Type from 'ca-type/cn-type.css'
You can import type.scss on its own for custom builds but you must define required variables in advance.
@import 'ca-grid/src/type.scss'