Sample in the playground updated.

pull/2616/head
SpaceComet 2021-08-19 17:35:24 -04:00
parent 5b3c0d0116
commit e42557eac7
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ monaco.editor.create(document.getElementById("container"), {
'peekViewEditor.matchHighlightBackground' // Match highlight color in the peek view editor.
/*
var colors = require('vs/platform/registry/common/platform').Registry.data['base.contributions.colors'].colorSchema.properties
var colors = require('vs/platform/registry/common/platform').Registry.data.get('base.contributions.colors').colorSchema.properties
Object.keys(colors).forEach(function(key) {
var val = colors[key];
console.log( '//' + val.description + '\n' + key);