You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

kivra-theme-material-ui

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kivra-theme-material-ui

Universal styling rules for all Kivra using the material-ui library

0.0.3
latest
npmnpm
Version published
Maintainers
5
Created
Source

kivra-theme-material-ui

Universal styles for React projects using Material-ui

Install

$ npm install kivra-theme-material-ui --save-dev

Usage

Using the package out of the box

Make all needed imports in your top-most component

import React, {Component} from 'react';
import {MuiThemeProvider, createMuiTheme} from '@material-ui/core/styles';
import kivraTheme from 'kivra-theme-material-ui';

Wrap the app in Material-ui and set the theme

  return (
    <MuiThemeProvider theme={createMuiTheme(kivraTheme)}>
      <MyApp />
    </MuiThemeProvider>
  );

Overriding default rules

To be documented :)

Deployment

This is a public npm package and can easely be published from the terminal:

$ npm login (use your own npm user and get added to Kivra organization)

$ npm version major|minor|patch

$ npm publish

Keywords

material-ui

FAQs

Package last updated on 18 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts