mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-07 17:44:05 -05:00
product icon file enums. for #94209
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user