Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johno/named-colors
A CSS utility class module/generator for all named CSS colors (bg, color, border, svg, etc).
https://github.com/johno/named-colors
Last synced: 2 months ago
JSON representation
A CSS utility class module/generator for all named CSS colors (bg, color, border, svg, etc).
- Host: GitHub
- URL: https://github.com/johno/named-colors
- Owner: johno
- License: mit
- Created: 2015-02-08T18:32:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T17:26:54.000Z (almost 10 years ago)
- Last Synced: 2024-10-19T17:29:34.666Z (3 months ago)
- Language: CSS
- Homepage:
- Size: 164 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# named-colors [![Build Status](https://secure.travis-ci.org/johnotander/named-colors.png?branch=master)](https://travis-ci.org/johnotander/named-colors)
A CSS module for utility classes for all named CSS colors (bg, color, border, svg, etc).
## Installation
```bash
npm install --save named-colors
```## Usage
Works great with Rework/PostCSS (it's recommended to also use this with uncss):
```css
@import 'named-colors';
```The entire CSS stylesheet can be found in the `index.css`. However, within the `css/` directory, there
are stylesheets for individual utilities: `color`, `background-color`, `border`, `fill`, and `stroke`.This module also exposes, within the `lib/` directory, some rework plugins that can be incorporated into
an existing rework project.## License
MIT
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull RequestCrafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).
***
> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).