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

material-ui-stylus

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-ui-stylus

Stylus version for the material-ui CSS framework

0.5.0
latest
Source
npmnpm
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

material-ui-stylus

This is the Stylus counterpart of the material-ui React/CSS-framework which originally uses Less for the styles.

Latest Release: 0.5.0

Setup

There are multiple options to get the style files:

  • a) npm install material-ui-stylus
  • b) bower install material-ui-stylus
  • c) Download the master version or clone this repository

Afterwards link the files as a references into your stylus sheet:

  @import 'node_modules/material-ui-stylus';           // (a)
  // or @import 'bower_components/material-ui-stylus'; // (b)

  // Your styles here
  h1 {
    ...
  }

Usage

The Stylus files work with the original material-ui React components.

You can customize the default values overriding those in _custom-variables.styl or including the some custom styles before loading the material-ui-styles files.

  $primary-1-color: red;
  @import 'node_modules/material-ui-stylus';

  // Your styles here
  h1 {
    ...
  }

Thanks

Kudos to the folks of call-em-all for their work on the material-ui framework and Giampaolo for his Sass port of the styles.

Keywords

material-ui

FAQs

Package last updated on 05 Jan 2015

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