1.0.8 • Published 7 years ago

wxos-theme v1.0.8

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

wxos-theme

Theme generator cli tool for Wxos.

npm.io

Installation

install local or global

npm i wxos-theme -D

install wxos-ui

npm i wxos-ui
# or from github
npm i https://github.com/yinshipeng/wxos-ui

CLI

# init variables file
wt --init [file path]

# watch then build
wt --watch [--config variable file path] [--out theme path]

# build
wt -g [--config variable file path] [--out theme path] [--minimize]

Node API

var wt = require('wxos-theme')

// watch mode
wt.watch({
  config: 'variables/path',
  out: 'output/path'
})

// build
wt.run({
  config: 'variables/path',
  out: 'output/path',
  minimize: true
})

Options

config

Variable file path, default ./wxos-variables.css.

out

Theme output path, default ./theme.

minimize

Compressed file.

browsers

set browsers, default ['ie > 9', 'last 2 versions'].

watch

watch variable file changes then build.

components

A lists of components that you want to generate themes for. All by default.

License

MIT

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago