Tieto styles

Generic Tieto style components.

Installation

Composer

Add this as a repository in your composer.json file

{ "type": "vcs", "url": "https://github.com/brainsum/tieto_styles" }

We are using alpha release, add minimum stability:

"minimum-stability": "dev", "prefer-stable": true,
composer require --dev brainsum/tieto_styles:^1.0

NPM

In terminal type:

npm i lkduerig/tieto_styles#2.x

Or add to package.json file:

"tieto_styles": "github:lkduerig/tieto_styles#2.x"

Usage

Include SCSS files from the folder 'styles-library'.

Style Guide

Style guide is generated by SC5 styleguide generator and its files reside in '/style-guide'.

Development

To develop the style guide type 'npm start' it will open up a server on port localhost:3000.

The development process is based on the SC5 styleguide tool, so the files located in folder "styles-library" need to be developed in tandem with the styleguide definition files located in folder "style-guide". The gude watches all SCSS files an changes/ reloads accordingly.

Build

To build the style guide type 'gulp styleguide' it will build the guide into the 'docs' folder.