add option to override colours

This commit is contained in:
Vincent Briglia 2018-05-17 15:25:20 +02:00
parent 82fd6f0d2f
commit 76ce7d6fe6
2 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View file

@ -10,8 +10,9 @@ npm-*
/.nyc_output
/coverage
# IDEA
# Editor
/.idea
/.vscode
# Build
/dist

View file

@ -498,9 +498,9 @@ class Runtime extends EventEmitter {
name: maybeFormatMessage(extensionInfo.name),
blockIconURI: extensionInfo.blockIconURI,
menuIconURI: extensionInfo.menuIconURI,
color1: '#FF6680',
color2: '#FF4D6A',
color3: '#FF3355',
color1: extensionInfo.colour || '#FF6680',
color2: extensionInfo.colourSecondary || '#FF4D6A',
color3: extensionInfo.colourTertiary || '#FF3355',
blocks: [],
menus: []
};