Noiseless Peaceful Morning

    visua-bootstrap

    0.1.2 • Public • Published

    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.

    Variable Type Exports 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

    Install

    npm i visua-bootstrap

    DownloadsWeekly Downloads

    8

    Version

    0.1.2

    License

    ISC

    Unpacked Size

    5.36 kB

    Total Files

    3

    Last publish

    Collaborators

    • umbopepato