@maxfield/vscode-color-theme-template
v0.1.3
Published
[![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
Downloads
9
Readme
vscode-color-theme-template
Features
- Color variables
- Alpha value variables
Example
$ 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
// $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
License
MIT