diff --git a/styles/src/styleTree/editor.ts b/styles/src/styleTree/editor.ts index 0c2435ed5ad3f7d9094f51ac324082c1d151ce06..84ef51406ea17e97ee3cdb91017043794130e228 100644 --- a/styles/src/styleTree/editor.ts +++ b/styles/src/styleTree/editor.ts @@ -44,9 +44,7 @@ export default function editor(colorScheme: ColorScheme) { activeLineBackground: withOpacity(background(layer, "on"), 0.75), highlightedLineBackground: background(layer, "on"), // Inline autocomplete suggestions, Co-pilot suggestions, etc. - suggestion: { - color: syntax.predictive.color, - }, + suggestion: syntax.predictive, codeActions: { indicator: { color: foreground(layer, "variant"), diff --git a/styles/src/themes/common/syntax.ts b/styles/src/themes/common/syntax.ts index 50c3e4e3b730de7e59ac22fd583f2620f8f82ef3..925ed7e5c14ba1308fee179113879c13db25d344 100644 --- a/styles/src/themes/common/syntax.ts +++ b/styles/src/themes/common/syntax.ts @@ -181,6 +181,7 @@ function buildDefaultSyntax(colorScheme: ColorScheme): Syntax { }, predictive: { color: color.predictive, + italic: true, }, emphasis: { color: color.emphasis,