Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/cm/canvasOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ interface ThemeConfig {
activeLine?: string;
lineNumber?: string;
lineNumberActive?: string;
gutterBorder?: string;
matchingBracket?: string;
selectionMatch?: string;
[color: string]: unknown;
Expand Down Expand Up @@ -182,6 +183,8 @@ export function getCanvasTheme(
activeLineGutter: seeThrough ? "transparent" : background,
gutterForeground: config.lineNumber,
gutterActiveForeground: config.lineNumberActive,
// A line between the gutter and the code, only when the theme asks.
gutterBorder: config.gutterBorder,
// Acode draws its own (draggable) scrollbars over the editor.
scrollbar: "transparent",
highlight,
Expand Down
Loading