# biscotti-css

> CoffeeScript virtual CSS templates

Latest version **1.0.0** (published 2018-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install biscotti-css
pnpm add biscotti-css
yarn add biscotti-css
bun add biscotti-css
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-03-29 |
| First published | 2018-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | dyoder |

## Links

- npm: https://www.npmjs.com/package/biscotti-css
- Repository: https://github.com/pandastrike/biscotti-css
- Homepage: https://github.com/pandastrike/biscotti-css#readme
- Issues: https://github.com/pandastrike/biscotti-css/issues
- npm.io page: https://npm.io/package/biscotti-css

## Dependencies (2)

- [biscotti](https://npm.io/package/biscotti.md) ^2.0.0
- [panda-vcss](https://npm.io/package/panda-vcss.md) ^1.0.0

## Recent versions

- 1.0.0 (latest) — 2018-03-29

## README

# Biscotti CSS

CoffeeScript virtual CSS templates.

```coffee
# add a helper
rhythm = (lineHeight, fontSize) -> [
  p "font-size", scale lineHeight, fontSize
  p "line-height", lineHeight
]

$$ s "article", [

  # nested styles using &
  s "& > h1", [

    # built-in unit helpers
    rhythm (rem 4), (pct 90)
  ]

  s "& > p", [
    p "font-face", "Montserrat"
  ]
]
```

# Install

`npm i -s biscotti-css`

# Usage

```coffee
import processor from "biscotti-css"
render = do processor
render path: "./vcss/index.vcss"
```

---
_Source: https://npm.io/package/biscotti-css · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
