Skip to content

HenryYong/corgi-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

UI style files of corgi-react

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages