mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +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" };
|
||||
if (screen.isActive()) {
|
||||
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.background = generateBackgroundWithGradient(tabColor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user