utiltypography

v1.1.1arrow_drop_down
v1.1.1
STATUS
Passing
DOWNLOADS
10
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
N/A
Font size adjustments.
1 contributor
Install utiltypography as a package?
Copied
npm i @bit/ashwani18.shared-ui-components.sd-ui.styles.utiltypography
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

Font size adjustments.

Redefine our standard body font sizes using the following classes.

I am an p that with larger size than normal

Headings.

Redefine our heading styles against utility classes. This gives us a double stranded heading hierarchy whereby we can style one heading as another, e.g.:

I am an H4 that is the same size as an H1

Adjustments.

‘Can you just make that text a little bigger?’

Sure! Use these utilities to adjust the size of a span of text by a little bit more, or a little bit less, e.g.:

A little bit bigger.

Alignments.

Truncation.

Cause long spans of text to truncate after running out of horizontal space.

Style.

Help and resources