corgi-theme

0.0.1 • Public • Published

corgi-theme

This repo is the UI style for corgi-react.

Install

npm install corgi-theme --save

Usage

In main.js:

import 'corgi-theme'

Also, please make sure you have correct setting for files of font icons. Add follow setting in webpack.config.js:

module: [
    loaders: {
     {
   test: /\.(eot|woff|ttf|svg)$/,
             loader: 'file-loader'
        }
   }
]

Meanwhile, it supports load on demand. For example:

import '{your-path}/node_modules/corgi-theme/dist/Button.css'
import '{your-path}/node_modules/corgi-theme/dist/Checkbox.css'

Custom Compiling

You can modify files in following path: corgi-theme/src, and use gulp (I am using gulp and gulp-sass which can be found in package.json) to compile them.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i corgi-theme

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • henryyong