Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thaispalmer/styleg

Simple style guide generator and visualizer
https://github.com/thaispalmer/styleg

cli generator styleguide

Last synced: about 1 month ago
JSON representation

Simple style guide generator and visualizer

Awesome Lists containing this project

README

        

# StyleG

## Description

**StyleG** is a command line tool to generate and visualize style guides for the web.

Useful for artists and developers who wants to create guides for consistent visual implementations, this tool generates a `.json` file that has all the parameters needed. And optionally it can build this data visually into a HTML file.

Currently, it has support for color palettes, font families and font icons. View [example folder](https://github.com/thaispalmer/styleg/tree/master/examples) for more information.

## Installation

Just run `npm i -g styleg` and it'll be installed globally.

## Usage

### `styleg [options] [command] [file]`

Shows style guide in browser for a given file (defaults to styleg.json)

### Options

#### `-V, --version`

Output the version number

#### `-p, --port `

Change listen port (default: 9800)

#### `--live-reload `

Change live reload port (default: 9801)

#### `-b, --build `

Build style guide into a HTML file

#### `-h, --help`

Output usage information

### Commands

#### `create [file]`

Create a new style guide file