提交 ddff80b3 编写于 作者: M Martin Aeschlimann

product icon file enums. for #94209

上级 b08e5611
...@@ -56,13 +56,18 @@ const schema: IJSONSchema = { ...@@ -56,13 +56,18 @@ const schema: IJSONSchema = {
weight: { weight: {
type: 'string', 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.'), 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: { style: {
type: 'string', 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.'), 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: [ required: [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册