Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

LatitudeFinancialOSS/basis

Open more actions menu

Repository files navigation

CI

Basis Design System

Installation

npm install --save basis @emotion/core prop-types

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 { BasisProvider, defaultTheme, Text } from "basis";
import "typeface-montserrat";
import "typeface-roboto";

function App() {
  return (
    <BasisProvider theme={defaultTheme}>
      <Text>Hello World</Text>
    </BasisProvider>
  );
}

export default App;

Developing locally

npm install
npm start

Thanks

License

MIT

Morty Proxy This is a proxified and sanitized view of the page, visit original site.