import * as React from "react"; import * as System from "~/components/system"; import * as Constants from "~/common/constants"; import { css } from "@emotion/react"; import SystemPage from "~/components/system/SystemPage"; import ViewSourceLink from "~/components/system/ViewSourceLink"; const STYLES_CSS_LABEL = css` display: block; letter-spacing: 0.2px; font-size: 12px; color: ${Constants.system.darkGray}; margin-bottom: 8px; `; export default class SystemPageTypography extends React.Component { render() { return ( Typography

The Filecoin Client uses the Inter typeface family.


Imports

Import React and the Typography Component.
{`import { H1, H2, H3, H4, P, UL, OL, LI } from 'slate-react-system'; `}

Typescale

1.953rem   Semi Bold This is heading level 1
1.563rem   Medium This is heading level 2
1.25rem   Medium This is heading level 3
1rem   Medium This is heading level 4

{` This is heading level 1 This is heading level 2 This is heading level 3 This is heading level 4 `}

Ordered and Unordered Lists

Rainbow Cloud Cake
Cloud Cake Rainbow

{` Rainbow Cloud Cake Cloud Cake Rainbow `}


); } }