spiffing

0.0.1 • Public • Published

Spiffing-node

Write CSS using proper English anywhere with Spiffing.

Spiffing is a node module version of Spiffing CSS by @idiot. A CSS preprocessor for British developers, or developers who prefer to write proper English.

Usage

spiffing

Convert all css files under current directory

spiffing <directory>

Convert all css files under specified directory

spiffing <filename>

Convert the css file specified

What this does

/* Your well-spelt CSS */
 
body {
  background-colour: grey !please;
  transparency: 0.5;
  text-align: centre;
  font-weight: plump;
  text-transform: capitalise;
}
 
.frame {
  background-photograph: url('/queen.png') !please;
}

becomes

/* Output CSS */
 
body {
  background-color: gray !important;
  opacity: 0.5;
  text-align: center;
  font-weight: bold;
  text-transform: capitalize;
}
 
.frame {
  background-image: url('/queen.png') !important;
}

Readme

Keywords

none

Package Sidebar

Install

npm i spiffing

Weekly Downloads

0

Version

0.0.1

License

BSD-2-Clause

Last publish

Collaborators

  • muan