0.0.1 • Published 8 years ago
lui-build v0.0.1
lui-build
Build you own lucca-ui theme and distribution.
Freely change your theme variables in YAML, and choose which scss objects you want to load.
Methods
The node module only has a single method: build([options])
.
Here are the supported options:
basePath
(string)
: Path to the Lucca-UI bower component.
customThemeBasePath
(string)
: Path to your custom theme YAML files. Directory structure must respect the conventions.
build
(string | Object)
: Path to a JSON file or Object that lists the scss components to load into the build.
dest
: Destination where the build file should be written. Example: /path/to/your/custom-build.scss
.
Usage
"use strict";
var builder = require('./dist/lui-build.js');
builder.build(
{
basePath: '/bower-components/lucca-ui/',
customThemeBasePath: null,
build: 'scss/my-theme/build.json',
dest: 'scss/my-theme/lucca-ui.build.scss',
}
);
0.0.1
8 years ago