0.1.2 • Published 5 years ago

visua-bootstrap v0.1.2

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Visua Bootstrap

An example visua plugin that generates Bootstrap 4.x themes.

See theming bootstrap to know how to build your Bootstrap assets from the generated scss variables file.

Prerequisites

See visua.io to get started with visua and visua plugins.

Installation

$ npm i visua-bootstrap

Usage

$ visua run bootstrap [--outFile]

Variables

This plugin uses the following variables. They are all optional: undefined variables will not appear in the exported variable file.

VariableTypeExports to
--primary-color<color>$primary
--secondary-color<color>$secondary
--success-color<color>$success
--info-color<color>$info
--warning-color<color>$warning
--error-color<color>$danger
--light-color<color>$light
--dark-color<color>$dark
--background-color<color>$body-bg
--secondary-text-color<color>$body-color
--spacer<length>$spacer
--font-family[<family-name>\|<generic-family>]#$font-family-base
--code-font-family[<family-name>\|<generic-family>]#$font-family-monospace
--font-size<length>$font-size-base
--font-weight<length>$font-weight-base
--line-height<length>$line-height-base
--headings-font-family[<family-name>\|<generic-family>]#$headings-font-family
--primary-text-color<color>$headings-color
--headings-color<color>$headings-color
--headings-line-height<color>$headings-line-height
--headings-font-weight<color>$headings-font-weight

Options

--outFile

The path where the variables file is generated

Examples

--outFile=filename.scss
--outFile=path/to/filename.scss
--outFile="path/to/filename.scss"

Default value variables.scss

Required No

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago