Fonts
A collection of private fonts for use within the Sportsbet design system,
currently including:
avertaStd
- Averta Standard (sportsbet.io)
Usage
- Import the
fontFace
into your global stylesheet.
import { avertaStd } from '@heathmont/moon-fonts';
import { createGlobalStyle } from 'styled-components';
const Global = createGlobalStyle(avertaStd.fontFace);
export const App = () => (
<main>
<Global styles={avertaStd.fontFace} />
{/* …app */}
</main>
);
- Import crucial font settings into your theme's design tokens for further
implementation:
import { avertaStd } from '@heathmont/moon-fonts';
export const yourTheme = {
fontFamily: avertaStd.fontStack,
fontWeight: avertaStd.fontWeight,
};