Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit 35b49f3

Browse files
committed
Fonts and css moved to ipfs-css
1 parent 0f19757 commit 35b49f3

File tree

3,396 files changed

+756
-840630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,396 files changed

+756
-840630
lines changed

build/css.js

-81
This file was deleted.

components/Heading.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const PosterH1 = Text.withComponent('h1')
55

66
PosterH1.defaultProps = {
77
color: 'white',
8-
fontFamily: 1,
8+
fontFamily: 'montserrat',
99
fontSize: 5,
1010
fontWeight: 400
1111
}
@@ -15,7 +15,7 @@ export const PosterH2 = Text.withComponent('h2')
1515

1616
PosterH2.defaultProps = {
1717
color: 'aqua',
18-
fontFamily: 1,
18+
fontFamily: 'montserrat',
1919
fontSize: 4,
2020
fontWeight: 400
2121
}

components/Html.jsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react'
22
import PropTypes from 'prop-types'
33
import { ThemeProvider } from 'styled-components'
4-
import theme from '../theme.json'
4+
import theme from 'ipfs-css/theme.json'
55

66
const Html = ({ title = '', description = '', relativePathToRoot = '', styleTags, children }) => (
77
<html>
@@ -12,11 +12,10 @@ const Html = ({ title = '', description = '', relativePathToRoot = '', styleTags
1212
<meta name='description' content={description} />
1313
<title>{title}</title>
1414
{styleTags}
15-
<link href='fonts/montserrat.css' rel='stylesheet' />
16-
<link href='fonts/inter.css' rel='stylesheet' />
15+
<link href='ipfs.css' rel='stylesheet' />
1716
</head>
1817
<ThemeProvider theme={theme}>
19-
<body style={{margin: 0, fontFamily: theme.fonts[0], color: theme.colors.charcoal, backgroundColor: 'white'}}>
18+
<body style={{margin: 0, fontFamily: theme.fonts['sans-serif'], color: theme.colors.charcoal, backgroundColor: 'white'}}>
2019
{children}
2120
</body>
2221
</ThemeProvider>

fonts/inter.css

-41
This file was deleted.

fonts/inter/.gitattributes

-3
This file was deleted.

fonts/inter/.gitignore

-22
This file was deleted.

fonts/inter/CODE_OF_CONDUCT.md

-46
This file was deleted.

0 commit comments

Comments
 (0)