Skip to content

umbopepato/visua-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Visua plugin to generate Bootstrap 4.x themes

Resources

Stars

Watchers

Forks

Packages

No packages published