Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shinnn/font-weight-values

Valid values of CSS font-weight property
https://github.com/shinnn/font-weight-values

Last synced: 27 days ago
JSON representation

Valid values of CSS font-weight property

Awesome Lists containing this project

README

        

# font-weight-values

[![NPM version](https://img.shields.io/npm/v/font-weight-values.svg)](https://www.npmjs.com/package/font-weight-values)
[![Bower version](https://img.shields.io/bower/v/font-weight-values.svg)](https://github.com/shinnn/font-weight-values/releases)
[![Build Status](https://travis-ci.org/shinnn/font-weight-values.svg?branch=master)](https://travis-ci.org/shinnn/font-weight-values)

Valid values of [CSS font-weight property](https://www.w3.org/wiki/CSS/Properties/font-weight), except for the [CSS-wide keywords](https://github.com/shinnn/css-wide-keywords)

```json
[
"normal",
"bold",
"bolder",
"lighter",
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900"
]
```

## Installation

### Package managers

#### [npm](https://www.npmjs.com/)

```
npm install font-weight-values
```

#### [Bower](http://bower.io/)

```
bower install font-weight-values
```

#### [Duo](http://duojs.org/)

```javascript
var fontWeightValues = require('shinnn/font-weight-values');
```

### Standalone

[Download the script file directly.](https://raw.githubusercontent.com/shinnn/font-weight-values/master/browser.js)

## API

### fontWeightValues

Type: `Array` of `String`

## License

[The Unlicense](./LICENSE)