stylr
Convenience utility for a quick styling workflow.
Last updated 5 years ago by joshuabc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install stylr 
SYNC missed versions from official npm registry.

stylr

stylr is a convenience utility for getting my styling workflow up and running quickly without much added complexity. It's a very simple utility that encapsulates my most common styling workflow, allowing me to keep the base application from exploding with dependencies unrelated to its domain.

Motivation

I found myself using a similar pattern to compile styles on all my projects, and I wanted a quicker way to get up and running while getting as many boilerplate dependencies as possible out of the individual project's package.json. I like the idea of small, UNIX-like tools and am experimenting with how I might be able to create specific and simple utilities that can be easily combined together.

Usage

Step 0: Install

npm install -g stylr

Step 1: Prepare Your Styles

stylr expects to receive a .styl manifest file.

If desired, you can @require any combination of the following libraries in the manifest (or stylesheets it includes):

  • jeet
  • nib
  • typographic

Step 2: Stylize

From the command line, run stylr [source] [destination], where [source] is the path to your manifest file and destination is the path to your desired CSS file. Paths can be absolute or relative.

Example: stylr ui/ui.styl build/css/ui.css

Current Tags

  • 0.0.4                                ...           latest (5 years ago)

4 Versions

  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 1
Last Week 1
Last Month 1
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |