2017-12-15 16:09:09 +02:00
|
|
|
|
#### Large Type Scale
|
2017-10-12 21:15:51 +03:00
|
|
|
|
|
2017-09-26 14:12:15 +03:00
|
|
|
|
```jsx
|
2017-10-31 12:03:44 +02:00
|
|
|
|
const React = require('react');
|
2017-09-26 14:12:15 +03:00
|
|
|
|
const H1 = require('/').H1;
|
|
|
|
|
const H2 = require('/').H2;
|
|
|
|
|
const H3 = require('/').H3;
|
|
|
|
|
const H4 = require('/').H4;
|
|
|
|
|
const P = require('/').P;
|
|
|
|
|
const Small = require('/').Small;
|
2017-10-31 12:03:44 +02:00
|
|
|
|
|
2017-12-15 16:09:09 +02:00
|
|
|
|
const styles = {
|
2017-12-15 16:53:59 +02:00
|
|
|
|
color: '#979797',
|
2017-12-15 16:09:09 +02:00
|
|
|
|
marginBottom: '22px',
|
|
|
|
|
display: 'block',
|
|
|
|
|
marginTop: '6px',
|
|
|
|
|
padding: 0
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
<div>
|
2017-12-15 16:53:59 +02:00
|
|
|
|
<H1>H1 - Don’t 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>
|
2018-01-03 16:28:44 +02:00
|
|
|
|
<H3>H3 - Your friendly neighborhood workhorse</H3>
|
2017-12-15 16:53:59 +02:00
|
|
|
|
<Small style={styles}>Libre Franklin Regular - 21px with 26px leading</Small>
|
2018-01-03 16:28:44 +02:00
|
|
|
|
<H4>H4 - Body's bigger brother</H4>
|
2017-12-15 16:53:59 +02:00
|
|
|
|
<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>
|
2018-01-03 16:28:44 +02:00
|
|
|
|
<Small style={styles}>Libre Franklin Regular - 13px with 18px leading</Small>
|
2017-12-15 16:53:59 +02:00
|
|
|
|
</div>;
|
2017-09-26 14:12:15 +03:00
|
|
|
|
```
|
2018-03-01 15:40:36 +02:00
|
|
|
|
|
|
|
|
|
#### Small Type Scale
|
|
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
|
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 small>H1 - Don’t say it, shout it</H1>
|
|
|
|
|
<Small style={styles}>Libre Franklin Regular - 32px with 45px leading</Small>
|
|
|
|
|
<H2 small>H2 - Breadcrumb? More like breadloaf</H2>
|
|
|
|
|
<Small style={styles}>Libre Franklin Regular - 21px with 30px leading</Small>
|
|
|
|
|
<H3 small>H3 - Your friendly neighborhood workhorse</H3>
|
|
|
|
|
<Small style={styles}>Libre Franklin Regular - 18px with 26px leading</Small>
|
|
|
|
|
<H4 small>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>;
|
|
|
|
|
```
|