Merge pull request #1153 from vincentbriglia/issue1551

Add option for Extensions to have different colour
This commit is contained in:
Chris Willis-Ford 2018-05-25 01:07:20 -07:00 committed by GitHub
commit eae258cce6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View file

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

View file

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