Add italic styles to copilot suggestions
This commit is contained in:
parent
70ff4ca48f
commit
745e5e3a09
2 changed files with 2 additions and 3 deletions
|
@ -44,9 +44,7 @@ export default function editor(colorScheme: ColorScheme) {
|
||||||
activeLineBackground: withOpacity(background(layer, "on"), 0.75),
|
activeLineBackground: withOpacity(background(layer, "on"), 0.75),
|
||||||
highlightedLineBackground: background(layer, "on"),
|
highlightedLineBackground: background(layer, "on"),
|
||||||
// Inline autocomplete suggestions, Co-pilot suggestions, etc.
|
// Inline autocomplete suggestions, Co-pilot suggestions, etc.
|
||||||
suggestion: {
|
suggestion: syntax.predictive,
|
||||||
color: syntax.predictive.color,
|
|
||||||
},
|
|
||||||
codeActions: {
|
codeActions: {
|
||||||
indicator: {
|
indicator: {
|
||||||
color: foreground(layer, "variant"),
|
color: foreground(layer, "variant"),
|
||||||
|
|
|
@ -181,6 +181,7 @@ function buildDefaultSyntax(colorScheme: ColorScheme): Syntax {
|
||||||
},
|
},
|
||||||
predictive: {
|
predictive: {
|
||||||
color: color.predictive,
|
color: color.predictive,
|
||||||
|
italic: true,
|
||||||
},
|
},
|
||||||
emphasis: {
|
emphasis: {
|
||||||
color: color.emphasis,
|
color: color.emphasis,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue