Latitude Design System
Installation
npm install --save latitude-design-system @emotion/core
Install the fonts that your theme needs. For example, if you are using the default theme:
npm install --save typeface-{montserrat,roboto}
Usage
import React from "react";import ThemeProvider defaultTheme Text from "latitude-design-system";import "typeface-montserrat";import "typeface-roboto"; { return <ThemeProvider => <Text>Hello World</Text> </ThemeProvider> ;} ;
Developing the Design System locally
1. npm install2. cd website3. npm install4. npm start