joyent-portal/packages/ui-toolkit/src/text
2018-02-09 14:16:42 +00:00
..
__tests__ feat(images): bootstrap 2018-02-09 14:16:42 +00:00
headings.js feat(my-joy-beta): create instance user scripts 2018-01-19 17:37:31 +00:00
index.js feat(ui-toolkit): implement native <sup> with badge 2018-01-30 11:03:40 +00:00
p.js feat(images): bootstrap 2018-02-09 14:16:42 +00:00
Readme.md docs(ui-toolkit): updated typography docs 2018-01-03 14:28:44 +00:00
small.js feat(my-joy-beta): create instance user scripts 2018-01-19 17:37:31 +00:00
strong.js feat(my-joy-beta): revise card documentation 2018-01-30 11:03:40 +00:00
sup.js fix(my-joy-beta): small fixes 2018-02-01 10:38:12 +00:00

Large Type Scale

const React = require('react');
const H1 = require('/').H1;
const H2 = require('/').H2;
const H3 = require('/').H3;
const H4 = require('/').H4;
const P = require('/').P;
const Small = require('/').Small;

const styles = {
  color: '#979797',
  marginBottom: '22px',
  display: 'block',
  marginTop: '6px',
  padding: 0
};

<div>
  <H1>H1 - Dont say it, shout it</H1>
  <Small style={styles}>Libre Franklin Regular - 36px with 45px leading</Small>
  <H2>H2 - Breadcrumb? More like breadloaf</H2>
  <Small style={styles}>Libre Franklin Regular - 24px with 30px leading</Small>
  <H3>H3 - Your friendly neighborhood workhorse</H3>
  <Small style={styles}>Libre Franklin Regular - 21px with 26px leading</Small>
  <H4>H4 - Body's bigger brother</H4>
  <Small style={styles}>Libre Franklin Semibold - 15px with 24px leading</Small>
  <P>P - Body copy</P>
  <Small style={styles}>Libre Franklin Regular - 15px with 24px leading</Small>
  <Small> C - Caption text</Small>
  <Small style={styles}>Libre Franklin Regular - 13px with 18px leading</Small>
</div>;