# @maxfield/vscode-color-theme-template

> [![Build Status](https://travis-ci.org/MaxfieldWalker/vscode-color-theme-template.svg?branch=master)](https://travis-ci.org/MaxfieldWalker/vscode-color-theme-template) [![Coverage Status](https://coveralls.io/repos/github/MaxfieldWalker/vscode-color-them

Latest version **0.1.3** (published 2017-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @maxfield/vscode-color-theme-template
pnpm add @maxfield/vscode-color-theme-template
yarn add @maxfield/vscode-color-theme-template
bun add @maxfield/vscode-color-theme-template
```

Provides the command `vscode-color-theme-template`.

## 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.1.3 |
| Published | 2017-05-07 |
| First published | 2017-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Maxfield Walker |
| Maintainers | maxfield |

## Links

- npm: https://www.npmjs.com/package/@maxfield/vscode-color-theme-template
- npm.io page: https://npm.io/package/@maxfield/vscode-color-theme-template

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4

## Recent versions

- 0.1.3 (latest) — 2017-05-07
- 0.1.2 — 2017-05-07
- 0.1.1 — 2017-05-07
- 0.1.0 — 2017-05-06
- 0.0.2 — 2017-05-06
- 0.0.1 — 2017-05-06

## README

## vscode-color-theme-template

[![Build Status](https://travis-ci.org/MaxfieldWalker/vscode-color-theme-template.svg?branch=master)](https://travis-ci.org/MaxfieldWalker/vscode-color-theme-template)
[![Coverage Status](https://coveralls.io/repos/github/MaxfieldWalker/vscode-color-theme-template/badge.svg?branch=master)](https://coveralls.io/github/MaxfieldWalker/vscode-color-theme-template?branch=master)


## Features
- Color variables
- Alpha value variables

## Example

```bash
$ vscode-color-theme-template ./theme.json ./out/theme.json


# Result
# {
#     "foreground": "$blue@mid", => will be replaced with "#0000FF80"
#
#     "colorPalette": {
#         "$blue": "#0000FF", <= Color definition
#         "@mid": "80"        <= Alpha value definition
#     }
# }
```


## Format

```json
// $color -> Hex Color (e.g. #000, #CDCDCD)
// @alpha -> Alpha value (e.g. FF, 80)
// $$alias -> Alias (e.g. $blue, $blue@mid)

{
    "colorPalette": {
        "$blue": "#0000FF",
        "@mid": "80"
    },
    "alias": {
        "$$string-color": "$blue",
        "$$medium": "@mid"
    }
}
```

## Author
[Maxfield Walker](https://github.com/MaxfieldWalker)

## License
MIT

---
_Source: https://npm.io/package/@maxfield/vscode-color-theme-template · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
