mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
quick fixes -- terminal selection color and connection modal terminal styles (#440)
* fix lightmode selction color * fix styles on remote conn view
This commit is contained in:
@@ -220,6 +220,4 @@
|
|||||||
--modal-header-bottom-border-color: rgba(241, 246, 243, 0.15);
|
--modal-header-bottom-border-color: rgba(241, 246, 243, 0.15);
|
||||||
|
|
||||||
--logo-button-hover-bg-color: #1e1e1e;
|
--logo-button-hover-bg-color: #1e1e1e;
|
||||||
|
|
||||||
--xterm-viewport-border-color: rgba(241, 246, 243, 0.15);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,4 @@
|
|||||||
--toggle-thumb-color: var(--app-bg-color);
|
--toggle-thumb-color: var(--app-bg-color);
|
||||||
|
|
||||||
--logo-button-hover-bg-color: #f0f0f0;
|
--logo-button-hover-bg-color: #f0f0f0;
|
||||||
|
|
||||||
--xterm-viewport-border-color: rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
:root {
|
:root {
|
||||||
/*
|
/*
|
||||||
* term colors (16 + 2) form the base terminal theme
|
* term colors (16 + 5) form the base terminal theme
|
||||||
* for consistency these colors should be used by plugins/applications
|
* for consistency these colors should be used by plugins/applications
|
||||||
*/
|
*/
|
||||||
--term-black: #000000;
|
--term-black: #000000;
|
||||||
@@ -27,4 +27,5 @@
|
|||||||
--term-cmdtext: #ffffff;
|
--term-cmdtext: #ffffff;
|
||||||
--term-foreground: #d3d7cf;
|
--term-foreground: #d3d7cf;
|
||||||
--term-background: #000000;
|
--term-background: #000000;
|
||||||
|
--term-selection-background: #ffffff40;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,4 +6,5 @@
|
|||||||
--term-foreground: #000000;
|
--term-foreground: #000000;
|
||||||
--term-background: #fefefe;
|
--term-background: #fefefe;
|
||||||
--term-cmdtext: #000000;
|
--term-cmdtext: #000000;
|
||||||
|
--term-selection-background: #00000018;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,25 +90,12 @@
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
border: 1px solid var(--app-border-color);
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 6px 10px;
|
||||||
|
|
||||||
.terminal-connectelem {
|
.terminal-connectelem {
|
||||||
height: 163px !important; // Needed to override plugin height
|
height: 163px !important; // Needed to override plugin height
|
||||||
|
|
||||||
.xterm-viewport {
|
|
||||||
display: flex;
|
|
||||||
padding: 6px 10px;
|
|
||||||
gap: 8px;
|
|
||||||
align-items: flex-start;
|
|
||||||
align-self: stretch;
|
|
||||||
border-radius: 6px;
|
|
||||||
border: 1px solid var(--xterm-viewport-border-color);
|
|
||||||
background: #080a08;
|
|
||||||
height: 163px !important; // Needed to override plugin height
|
|
||||||
}
|
|
||||||
|
|
||||||
.xterm-screen {
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ function getThemeFromCSSVars(): ITheme {
|
|||||||
theme.brightMagenta = rootStyle.getPropertyValue("--term-bright-magenta");
|
theme.brightMagenta = rootStyle.getPropertyValue("--term-bright-magenta");
|
||||||
theme.brightCyan = rootStyle.getPropertyValue("--term-bright-cyan");
|
theme.brightCyan = rootStyle.getPropertyValue("--term-bright-cyan");
|
||||||
theme.brightWhite = rootStyle.getPropertyValue("--term-bright-white");
|
theme.brightWhite = rootStyle.getPropertyValue("--term-bright-white");
|
||||||
|
theme.selectionBackground = rootStyle.getPropertyValue("--term-selection-background");
|
||||||
return theme;
|
return theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user