refactor(tui): remove subtle syntax styles (#36746)
This commit is contained in:
parent
ed1636e3bd
commit
748b0d8836
10 changed files with 10 additions and 101 deletions
|
|
@ -143,7 +143,7 @@ export class RunScrollbackStream {
|
|||
}
|
||||
|
||||
active.renderable.fg = entryColor(active.commit, theme)
|
||||
active.renderable.syntaxStyle = entrySyntax(active.commit, theme)
|
||||
active.renderable.syntaxStyle = entrySyntax(theme)
|
||||
}
|
||||
|
||||
private createEntry(commit: StreamCommit, body: ActiveBody): ActiveEntry {
|
||||
|
|
@ -165,7 +165,7 @@ export class RunScrollbackStream {
|
|||
? new CodeRenderable(surface.renderContext, {
|
||||
content: "",
|
||||
filetype: body.filetype,
|
||||
syntaxStyle: entrySyntax(commit, this.theme),
|
||||
syntaxStyle: entrySyntax(this.theme),
|
||||
width: "100%",
|
||||
wrapMode: "word",
|
||||
drawUnstyledText: false,
|
||||
|
|
@ -175,7 +175,7 @@ export class RunScrollbackStream {
|
|||
})
|
||||
: new MarkdownRenderable(surface.renderContext, {
|
||||
content: "",
|
||||
syntaxStyle: entrySyntax(commit, this.theme),
|
||||
syntaxStyle: entrySyntax(this.theme),
|
||||
width: "100%",
|
||||
streaming: true,
|
||||
internalBlockMode: "top-level",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue