# ember-glamor

> Use glamor in your Ember project

Latest version **0.2.1** (published 2016-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-glamor
pnpm add ember-glamor
yarn add ember-glamor
bun add ember-glamor
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2016-12-17 |
| First published | 2016-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.12.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Dustin Farris |
| Maintainers | dustinfarris |
| Keywords | ember-addon |

## Links

- npm: https://www.npmjs.com/package/ember-glamor
- Repository: https://github.com/dustinfarris/ember-glamor
- Homepage: https://github.com/dustinfarris/ember-glamor#readme
- Issues: https://github.com/dustinfarris/ember-glamor/issues
- npm.io page: https://npm.io/package/ember-glamor

## Dependencies (4)

- [broccoli-funnel](https://npm.io/package/broccoli-funnel.md) ^1.1.0
- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^5.1.7
- [broccoli-webpack](https://npm.io/package/broccoli-webpack.md) ^1.0.0
- [broccoli-merge-trees](https://npm.io/package/broccoli-merge-trees.md) ^1.2.1

## Recent versions

- 0.2.1 (latest) — 2016-12-17
- 0.2.0 — 2016-12-17
- 0.1.1 — 2016-12-16
- 0.0.0 — 2016-12-16

## README

# ember-glamor

[![CircleCI](https://circleci.com/gh/dustinfarris/ember-glamor.svg?style=svg)](https://circleci.com/gh/dustinfarris/ember-glamor)

Use [glamor](https://github.com/threepointone/glamor) in your Ember project.


## Installation

```
ember install ember-glamor
```


## Usage

```js
import Ember from 'ember';
import hbs from 'htmlbars-inline-precompile';
import { css } from 'glamor';


const styles = {
  red: css({
    backgroundColor: 'red'
  }),
  blueGreen: css({
    backgroundColor: 'blue',
    ':hover': {
      backgroundColor: 'green'
    }
  })
};


export default Ember.Component.extend({

  styles,

  layout: hbs`

    <div class={{styles.red}}>
      This is red.
    </div>

    <div class={{styles.blueGreen}}>
      This is blue, and green on hover.
    </div>

  `
});
```


## Developing

### Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

### Building

* `ember build`

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

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