mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
product icon file enums. for #94209
This commit is contained in:
parent
b08e5611f1
commit
ddff80b3e6
|
@ -56,13 +56,18 @@ const schema: IJSONSchema = {
|
|||
weight: {
|
||||
type: 'string',
|
||||
description: nls.localize('schema.font-weight', 'The weight of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight for valid values.'),
|
||||
pattern: fontWeightRegex
|
||||
|
||||
anyOf: [
|
||||
{ enum: ['normal', 'bold', 'lighter', 'bolder'] },
|
||||
{ type: 'string', pattern: fontWeightRegex }
|
||||
]
|
||||
},
|
||||
style: {
|
||||
type: 'string',
|
||||
description: nls.localize('schema.font-style', 'The style of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-style for valid values.'),
|
||||
pattern: fontStyleRegex
|
||||
anyOf: [
|
||||
{ enum: ['normal', 'italic', 'oblique'] },
|
||||
{ type: 'string', pattern: fontStyleRegex }
|
||||
]
|
||||
}
|
||||
},
|
||||
required: [
|
||||
|
|
Loading…
Reference in a new issue