Skip to content

Commit

Permalink
Adjust default color and style for spelling error decorations (#3799)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoah1 authored Nov 19, 2024
1 parent b8baccd commit 5a4ae24
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3062,7 +3062,7 @@
"type": "string"
},
"textDecorationColor": {
"default": "#fc4",
"default": "#348feb",
"markdownDescription": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"scope": "application",
"since": "4.0.0",
Expand Down Expand Up @@ -3151,7 +3151,7 @@
"type": "string"
},
"textDecorationColor": {
"default": "#fc4",
"default": "#348feb",
"markdownDescription": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"scope": "application",
"since": "4.0.0",
Expand Down Expand Up @@ -3223,7 +3223,7 @@
"type": "string"
},
"cSpell.textDecorationColor": {
"default": "#fc4",
"default": "#348feb",
"markdownDescription": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"scope": "application",
"since": "4.0.0",
Expand Down Expand Up @@ -3277,7 +3277,7 @@
"type": "string"
},
"cSpell.useCustomDecorations": {
"default": true,
"default": false,
"markdownDescription": "Draw custom decorations on Spelling Issues.\n- `true` - Use custom decorations.\n- `false` - Use the VS Code Diagnostic Collection to render spelling issues.",
"scope": "application",
"since": "4.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/_server/spell-checker-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2651,7 +2651,7 @@
"type": "string"
},
"textDecorationColor": {
"default": "#fc4",
"default": "#348feb",
"description": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"markdownDescription": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"scope": "application",
Expand Down Expand Up @@ -2750,7 +2750,7 @@
"type": "string"
},
"textDecorationColor": {
"default": "#fc4",
"default": "#348feb",
"description": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"markdownDescription": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"scope": "application",
Expand Down Expand Up @@ -2830,7 +2830,7 @@
"type": "string"
},
"cSpell.textDecorationColor": {
"default": "#fc4",
"default": "#348feb",
"description": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"markdownDescription": "The decoration color for normal spelling issues.\n\nSee: [text-decoration - CSS: Cascading Style Sheets, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n- color - see: [text-decoration-color, MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color)\n\nExamples:\n- `green`\n- `yellow`\n- `#ff0c`",
"scope": "application",
Expand Down Expand Up @@ -2890,7 +2890,7 @@
"type": "string"
},
"cSpell.useCustomDecorations": {
"default": true,
"default": false,
"description": "Draw custom decorations on Spelling Issues.\n- `true` - Use custom decorations.\n- `false` - Use the VS Code Diagnostic Collection to render spelling issues.",
"markdownDescription": "Draw custom decorations on Spelling Issues.\n- `true` - Use custom decorations.\n- `false` - Use the VS Code Diagnostic Collection to render spelling issues.",
"scope": "application",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ interface Decoration {
*
* @scope application
* @since 4.0.0
* @default "#fc4"
* @default "#348feb"
*/
textDecorationColor?: string;

Expand Down Expand Up @@ -183,7 +183,7 @@ export interface AppearanceSettings extends Appearance {
*
* @scope application
* @since 4.0.0
* @default true
* @default false
*/
useCustomDecorations?: boolean;

Expand Down

0 comments on commit 5a4ae24

Please sign in to comment.