laboratoria-ui
Last updated 2 months ago by anasteph .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install laboratoria-ui 
SYNC missed versions from official npm registry.

Laboratoria UI

Laboratoria UI it's a custom theme of the Material UI with some our custom components.

How to use Laboratoria UI

Integrate with your React Application

First import our fonts

Bitter for titles and Open Sans for texts

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Bitter:400,700|Open+Sans:400,400i,700" />

Lastly, import laboratoria-ui Material-UI theme

import React from 'react';
import ReactDOM from 'react-dom';

// Inject a theme into your application
import { MuiThemeProvider } from '@material-ui/core/styles';

// Our theme
import { Theme } from 'laboratoria-ui';

import Typography from '@material-ui/core/Typography';
import Button from '@material-ui/core/Button';

ReactDOM.render(
  <MuiThemeProvider theme={Theme}>
    <div>
      <Typography variant="h1" align="center">
        Hola
      </Typography>

      <Button variant="contained" color="primary">
        Button
      </Button>
  </MuiThemeProvider>,
  document.getElementById('app'),
);

How to run Storybook

Install the project

yarn

Run Storybook

yarn start

Heroku deployment

The deployment happen automatically, every push to master will deploy a new version of this app on Heroku.

Current Tags

  • 2.7.21                                ...           latest (2 months ago)

18 Versions

  • 2.7.21                                ...           2 months ago
  • 2.7.20                                ...           2 months ago
  • 2.6.20                                ...           2 months ago
  • 2.6.19                                ...           2 months ago
  • 2.5.19                                ...           3 months ago
  • 2.4.19                                ...           3 months ago
  • 2.4.18                                ...           3 months ago
  • 2.4.17                                ...           3 months ago
  • 2.3.17                                ...           3 months ago
  • 2.3.16                                ...           3 months ago
  • 2.3.15                                ...           3 months ago
  • 2.3.14                                ...           3 months ago
  • 2.3.13                                ...           3 months ago
  • 2.3.12                                ...           3 months ago
  • 2.2.12                                ...           3 months ago
  • 2.1.11                                ...           5 months ago
  • 2.1.10                                ...           6 months ago
  • 2.1.9                                ...           6 months ago

Copyright 2014 - 2016 © taobao.org |