latitude-design-system

0.22.1 • Public • Published

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";
 
function App() {
  return (
    <ThemeProvider theme={defaultTheme}>
      <Text>Hello World</Text>
    </ThemeProvider>
  );
}
 
export default App;

Developing the Design System locally

1. npm install
2. cd website
3. npm install
4. npm start

Package Sidebar

Install

npm i latitude-design-system

Weekly Downloads

2

Version

0.22.1

License

MIT

Unpacked Size

587 kB

Total Files

171

Last publish

Collaborators

  • moroshko