# hydrogencss

> Atomic CSS for CSS Modules

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

## Install

```sh
npm install hydrogencss
pnpm add hydrogencss
yarn add hydrogencss
bun add hydrogencss
```

## 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.5 |
| Published | 2018-03-29 |
| First published | 2017-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 447.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 90 Seconds |
| Maintainers | eddiemoore |
| Keywords | atomic, css, modules |

## Links

- npm: https://www.npmjs.com/package/hydrogencss
- Repository: https://github.com/eddiemoore/hydrogencss
- Homepage: https://github.com/eddiemoore/hydrogencss#readme
- Issues: https://github.com/eddiemoore/hydrogencss/issues
- npm.io page: https://npm.io/package/hydrogencss

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2018-03-29
- 1.0.4 — 2017-04-07
- 1.0.3 — 2017-04-07
- 1.0.2 — 2017-04-07
- 1.0.1 — 2017-04-07
- 1.0.0 — 2017-04-07
- 0.3.0 — 2017-03-31
- 0.2.0 — 2017-03-30
- 0.1.0 — 2017-03-30

## README

# hydrogen.css
Atomic CSS for CSS Modules

[![npm](https://img.shields.io/npm/v/hydrogencss.svg)](http://npm.im/hydrogencss)

## Installation

#### NPM
```shell
npm i -S hydrogencss
```

#### Yarn
```shell
yarn add hydrogencss
```

## Usage with CSS Modules
There are two ways to compose with each value. The first:

```css
.container {
  composes: <value> from 'hydrogencss/<property>.css';
}
```
With this way you will be importing all the classes within `<property>.css`, unless
you are clearing up the unused CSS.

The alternate way to import is
```css
.container {
  composes: <value> from 'hydrogencss/<property>/<value>.css';
}
```

Example:
```css
.container {
  composes: flex from 'hydrogencss/display/flex.css';
}
```

Which will just include:
```css
.flex { display: flex; }
```

To see all the properties and values available please check the [docs](docs/) folder.

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