import * as React from "react"; import * as System from "~/components/system"; import * as Constants from "~/common/constants"; import { css } from "@emotion/core"; import SystemPage from "~/components/system/SystemPage"; import ViewSourceLink from "~/components/system/ViewSourceLink"; import CodeBlock from "~/components/system/CodeBlock"; const STYLES_CSS_LABEL = css` display: block; letter-spacing: 0.2px; font-size: 12px; color: ${Constants.system.darkGray}; margin-bottom: 8px; `; const STYLES_TYPE_JETBRAINS = css` font-family: ${Constants.font.code}; `; const STYLES_BOLD = css` font-family: ${Constants.font.text}; font-weight: bold; `; const STYLES_ITALIC = css` font-style: italic; `; const STYLES_UNDERLINE = css` text-decoration: underline; `; export default class SystemPageTypography extends React.Component { render() { return ( Typography

The Filecoin Client uses{" "} Inter {" "} and{" "} Jet Brains .


Imports

Import React and the typography components. If needed, import the ViewSourceLink component.
{`import { H1, H2, H3, H4, P, UL, OL, LI } from "slate-react-system"; import ViewSourceLink from "~/components/system/ViewSourceLink";`}

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

`}


Type Styles

This text is bold This text is italic This text is underlined

{`

This text is bold

This text is italic

This text is underlined

`}


Typefaces

Inter a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9

Jet Brains a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9

Ordered and Unordered Lists

Rainbow Cloud Cake
Cloud Cake Rainbow

{`
  1. Rainbow
  2. Cloud
  3. Cake
`}


Hyperlinks

Internal References{" "} Link to a page External References

{`

Link to a page

`}


); } }