提交 07da4309 编写于 作者: M Martin Aeschlimann

theme-schemas: set color defaults (for better code completion)

上级 9c78e13b
......@@ -122,7 +122,7 @@ export const tokenColorizationSettingSchema: IJSONSchema = {
type: 'string',
description: nls.localize('schema.token.foreground', 'Foreground color for the token.'),
format: 'color-hex',
defaultSnippets: [{ body: '${1:#FF0000}' }]
default: '#ff0000'
},
background: {
type: 'string',
......
......@@ -584,8 +584,7 @@ function tokenGroupSettings(description: string) {
anyOf: [
{
type: 'string',
format: 'color-hex',
defaultSnippets: [{ body: '#FF0000' }]
format: 'color-hex'
},
colorThemeSchema.tokenColorizationSettingSchema
]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册