# basscss-color-forms-dark

> Dark themed form color styles module for Basscss

Latest version **1.1.0** (published 2015-05-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install basscss-color-forms-dark
pnpm add basscss-color-forms-dark
yarn add basscss-color-forms-dark
bun add basscss-color-forms-dark
```

## 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.1.0 |
| Published | 2015-05-09 |
| First published | 2014-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brent Jackson |
| Maintainers | jxnblk |
| Keywords | CSS, OOCSS, Basscss, Rework |

## Links

- npm: https://www.npmjs.com/package/basscss-color-forms-dark
- Repository: https://github.com/basscss/color-forms-dark
- Issues: https://github.com/basscss/color-forms-dark/issues
- npm.io page: https://npm.io/package/basscss-color-forms-dark

## Dependencies (1)

- [basscss-defaults](https://npm.io/package/basscss-defaults.md) ^2.0.1

## 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.1.0 (latest) — 2015-05-09
- 1.0.1 — 2015-04-11
- 1.0.0 — 2015-04-11
- 0.1.4 — 2015-04-10
- 0.1.2 — 2015-04-09
- 0.1.1 — 2015-03-19
- 0.1.0 — 2015-03-19
- 0.0.4 — 2015-03-19
- 0.0.3 — 2015-02-22
- 0.0.2 — 2014-12-23
- 0.0.1 — 2014-12-11

## README

This module sets basic color styles for form elements on dark backgrounds.

## Input Fields

To style the color, background, and border styles for form fields on dark backgrounds, use the `.field-dark` style.
This style works on text inputs, selects, and textareas.

```html
<form class="p2 white bg-black">
  <label>Input</label>
  <input type="text" class="block full-width field-dark">
  <label>Select</label>
  <select class="block full-width field-dark">
    <option value="1">One</option>
    <option value="2">Two</option>
    <option value="3">Three</option>
  </select>
  <label>Textarea</label>
  <textarea class="block full-width field-dark"></textarea>
</form>
```

The `.field-dark` style includes states for disabled and read-only fields, as well as success, warning, and error states.

```html
<form class="p2 white bg-black">
  <label>Normal</label>
  <input type="text" class="block full-width field-dark">
  <label>Disabled</label>
  <input type="text" class="block full-width field-dark" disabled value="This is disabled">
  <label>Read Only</label>
  <input type="text" class="block full-width field-dark" readonly value="This is read-only">
  <label>Required</label>
  <input type="text" class="block full-width field-dark" required>
  <label>Success</label>
  <input type="text" class="block full-width field-dark is-success">
  <label>Warning</label>
  <input type="text" class="block full-width field-dark is-warning">
  <label>Error</label>
  <input type="text" class="block full-width field-dark is-error">
</form>
```

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