mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-10 19:58:00 +01:00
default tab color is green
This commit is contained in:
parent
852b227574
commit
11a90b01dc
@ -121,7 +121,7 @@ class ScreenTabs extends React.Component<{ session: Session }, {}> {
|
|||||||
const style = { borderColor: "transparent", background: "none" };
|
const style = { borderColor: "transparent", background: "none" };
|
||||||
if (screen.isActive()) {
|
if (screen.isActive()) {
|
||||||
let tabColor = screen.getTabColor();
|
let tabColor = screen.getTabColor();
|
||||||
if (tabColor === "default") tabColor = "rgb(0, 128, 0)"; //TODO: this is the color of @tab-green in index.css. hardcoding since I cant think of an easy way out
|
if (tabColor === "default") tabColor = "green";
|
||||||
style.borderColor = tabColor;
|
style.borderColor = tabColor;
|
||||||
style.background = generateBackgroundWithGradient(tabColor);
|
style.background = generateBackgroundWithGradient(tabColor);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user