Support theming of scroll bar slider

This commit is contained in:
Daniel Imms
2024-07-10 07:54:39 -07:00
parent c7f80986c8
commit 884141cd8f
7 changed files with 52 additions and 14 deletions
+15
View File
@@ -368,6 +368,21 @@ declare module '@xterm/xterm' {
* be transparent)
*/
selectionInactiveBackground?: string;
/**
* The scrollbar slider background color. Defaults to
* {@link ITerminalOptions.foreground foreground} with 20% opacity.
*/
scrollbarSliderBackground?: string;
/**
* The scrollbar slider background color when hovered. Defaults to
* {@link ITerminalOptions.foreground foreground} with 40% opacity.
*/
scrollbarSliderHoverBackground?: string;
/**
* The scrollbar slider background color when clicked. Defaults to
* {@link ITerminalOptions.foreground foreground} with 50% opacity.
*/
scrollbarSliderActiveBackground?: string;
/**
* The border color of the overview ruler. This visually separates the terminal from the scroll
* bar when {@link ITerminalOptions.overviewRulerWidth overviewRulerWidth} is set. When this is