mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-19 18:11:39 -05:00
Fix a missing entry for intenseTextStyle in the Profile schema (#14210)
Fix a missing entry in the JSON schema for `intenseTextStyle`. The JSON schema was missing an entry in the Profile section for `intenseTextStyle`. I have added it as it appears in AppearanceConfig. Note that this is currently duplicated in the schema -- however, this is the pattern used already in Profile as AppearanceConfig entries have alternate descriptions (and I have updated the description in that section to make it clear it applies to unfocused terminals). Longer-term, it likely makes sense to consolidate all entires into ApperanceConfig and rely on the description for the `unfocusedApperance` object/the name of the object to make the limited scope of those keys clear, so that Profile can simply extend ApperanceConfig and the duplication in the schema can be reduced. ## Validation Steps Performed Validation with schema verifying tools including VS Code. Partially addresses #13387
This commit is contained in:
@@ -203,7 +203,7 @@
|
||||
},
|
||||
"intenseTextStyle": {
|
||||
"default": "bright",
|
||||
"description": "Controls how 'intense' text is rendered. Values are \"bold\", \"bright\", \"all\" and \"none\"",
|
||||
"description": "Controls how 'intense' text is rendered when unfocused. Values are \"bold\", \"bright\", \"all\" and \"none\"",
|
||||
"enum": [
|
||||
"none",
|
||||
"bold",
|
||||
@@ -2283,6 +2283,17 @@
|
||||
],
|
||||
"deprecated": true
|
||||
},
|
||||
"intenseTextStyle": {
|
||||
"default": "bright",
|
||||
"description": "Controls how 'intense' text is rendered. Values are \"bold\", \"bright\", \"all\" and \"none\"",
|
||||
"enum": [
|
||||
"none",
|
||||
"bold",
|
||||
"bright",
|
||||
"all"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"foreground": {
|
||||
"$ref": "#/$defs/Color",
|
||||
"default": "#cccccc",
|
||||
|
||||
Reference in New Issue
Block a user