Add italic styles to copilot suggestions

This commit is contained in:
Mikayla Maki 2023-04-19 13:54:43 -07:00
parent 70ff4ca48f
commit 745e5e3a09
2 changed files with 2 additions and 3 deletions

View File

@ -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"),

View File

@ -181,6 +181,7 @@ function buildDefaultSyntax(colorScheme: ColorScheme): Syntax {
},
predictive: {
color: color.predictive,
italic: true,
},
emphasis: {
color: color.emphasis,