Installation

Source: styles.scss

To use this library inside other projects you can use both the SASS or CSS files. Add the package into a npm based project. Add the following to package.json:

"billmate-style-library": "git+https://<GITHUB_TOKEN>@github.com/Billmate/billmate-style-library.git#<VERSION>"

CSS

To use the CSS file.

@import '~billmate-style-library/css/styles.css';

To use the minified CSS file.

@import '~billmate-style-library/css/styles.min.css';

SASS

To use the SASS file and the framework.

@import '~billmate-style-library/sass/styles.scss';

Then there is a need to override the SASS variable with the correct path.

$billmate-resource-path: '~billmate-style-library';

Overview

Source: styles.scss

A frontend styling library for using Billmate styles. It is built upon the CSS framework called Bulma (https://bulma.io/) and contains the icon library Font Awesome (https://fontawesome.com/).

So basically any component or styling from Bulma documentation (https://bulma.io/documentation/) can be used but with a Billmate look and feel.

Color palette

Source: _variables.scss

The available color palettes.

Font

Source: _fonts.scss

The available fonts are:

  • BuenosAires
  • Sofia Pro

Background

Source: _colors.scss

The background colors types available.

Background Extensions

Source: _colors.scss

The background colors extensions available.

Basics

Source: _colors.scss

The basic colors types available.

Border

Source: _colors.scss

The border colors that can be used with any element.

Border extensions

Source: _colors.scss

The border colors that can be used with any element.

Content

Source: _colors.scss

The text colors that can be used with <p> elements or any element with text.

Text extensions

Source: _colors.scss

The text colors that can be used with <p> elements or any element with text.

Display

Source: _typography.scss

Display types can be used on any element that contains text.

Headers

Source: _typography.scss

Headers are <h1>, <h2>, <h3>, <h4>, <h5> and <h6> elements.

Heading

Source: _typography.scss

Heading types can be used with <h1>, <h2>, <h3>, <h4>, <h5> and <h6> elements.

Label

Source: _typography.scss

Heading types can be used any type of text elements.

Paragraph

Source: _typography.scss

Heading types can be used with <p> elements.

Button

Source: elements/_buttons.scss

Buttons can be used with <a>, <button>, and <input> elements.

Types of buttons:

  • Rectangle Primary: Standard button
  • Rectangle Secondary: Add an secondary indication over the primary button
  • Rectangle Tertiary: Add an tertiary indication over the other button types

Check

Source: elements/_controls.scss

Check can be used with <input> elements.

Input

Source: elements/_inputs.scss

Input can be used with <input>, <textarea>, and <select> other form based elements.

Types of inputs:

  • Standard input: Standard input without any accent
  • Positive input: Input with positive accent
  • Negative input: Input with negative accent

Input - hint helpers

Source: elements/_inputs.scss

Hin helpers can be used with <p> in structure with field class.

Pill

Source: elements/_buttons.scss

Pills can be used with <a>, <button>, and <input> elements.

Types of pills:

  • Pill Primary: Standard pill
  • Pill Secondary: Add an secondary indication over the primary pill
  • Pill Tertiary: Add an tertiary indication over the other pill types

Radio

Source: elements/_controls.scss

Radio can be used with <input> elements.

Select

Source: elements/_selects.scss

Select can be used with <select> elements.

Switch

Source: elements/_controls.scss

Switch can be used with <input> elements.

Tags

Source: elements/_tags.scss

Tags can be used with <div> or <span> elements.

Basic

Source: _icons.scss

Basic icons can be used with <i> and <span> elements and within <input> and <button>.

Direction

Source: _icons.scss

Direction icons can be used with <i> and <span> elements and within <input> and <button>.

Input states

Source: _icons.scss

User icons can be used with <i> and <span> elements and within <input> and <button>.

Misc

Source: _icons.scss

Misc icons can be used with <i> and <span> elements and within <input> and <button>.

Payment

Source: _icons.scss

Payment icons can be used with <i> and <span> elements and within <input> and <button>.

Progress

Source: _icons.scss

User icons can be used with <i> and <span> elements and within <input> and <button>.

User

Source: _icons.scss

User icons can be used with <i> and <span> elements and within <input> and <button>.

No matches.