0.1.3 • Published 7 years ago

@maxfield/vscode-color-theme-template v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

vscode-color-theme-template

Build Status Coverage Status

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

Maxfield Walker

License

MIT

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago