Giter Club home page Giter Club logo

rsuite-v2-css-build's Introduction

rsuite-css-build

Genarate css file use some paramer.

Installation

npm install rsuite-css-build

transform(option)

*option.output

输出目录,必填

option.url

rsuite的地址,默认为http://t.hypers.com.cn/libs/rsuite/css/0.1.0/

option.oldColor

rsuite的原始基色,默认为#00bcd4

option.color

输出主题的基色,默认为#00bcd4

pull(option)

*option.output

输出目录,必填

option.targets

需要拉取的文件,可选值为fonts,css

Usage examples

var rsuiteCssBuild = require('./main');
var outPutDir = 'rsuite/css';

//拉取操作
rsuiteCssBuild.pull({
    output: outPutDir+'/pull',
    targets: ['fonts', 'css']
});
//输出css起别名
rsuiteCssBuild.transform({
    color: '#1b9451',
    output: outPutDir,
    alias: 'test2'
});

rsuite-v2-css-build's People

Contributors

hiyangguo avatar

Watchers

 avatar  avatar

rsuite-v2-css-build's Issues

css 与 fonts 单独处理

为了适应多套主题,css可能存在多份,但是fonts 只需要一份,所以最好可以两个单独的方法处理, 另外css 文件最好可以重命名

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.