Skip to content

Latest commit

 

History

History
 
 

style-guide

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

OTKit Style Guide

This is where our visual style guide will live.

Getting started

To run the style guide, run the following commands at root level of this repo. Make sure you meet the Node and npm version requirements.

# Install the dependencies
npm install
# Build the OTTheme & OTKit tokens
npm run build
# Build the tokens for the style guide
npm run build-styleguide

To view the style guide locally, run the following commands inside this folder:

npm run develop

To view the style guide locally for production preview, run the following commands inside this folder:

# Perform an optimized production build by generating static HTML and per-route JavaScript code bundles
npm run build
# Starts a local HTML server for testing
npm run serve