0.5.0 • Published 1 year ago
@ausbom/typography v0.5.0
@ausbom/typography
Typography is an important part of creating visual hierarchy. The way information is presented to users is as important as the information itself.
Installation
npm install @ausbom/typography
Usage
Typography can be used via the bom-typography
Sass mixin or the Typography
React component. A combination of the two might also suit your project.
Sass mixin
.my-heading {
@include bom-typography(
$style-name: 'heading-l',
$dark: true,
$large: false
)
}
Properties
<Property name="$style-name" type="string" required description="The name of the style to be applied" list={styles.join(',')} />
React component
import Typography from '@ausbom/typography'
import React from 'react'
<Typography
as="h3"
styleName="heading-l"
dark
isLarge
>
My heading text
</Typography>
0.5.0
1 year ago
0.4.6
1 year ago
0.4.5
1 year ago
0.4.4
2 years ago
0.4.3
2 years ago
0.3.8
3 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.4.2
2 years ago
0.3.7
3 years ago
0.3.6
3 years ago
0.3.5
3 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
6 years ago
0.2.6
6 years ago
0.2.5
6 years ago
0.2.4
6 years ago
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago