From 11a90b01dc33258ee6df813eab7ba0e74cd1e081 Mon Sep 17 00:00:00 2001 From: sawka Date: Thu, 12 Oct 2023 21:42:02 -0700 Subject: [PATCH] default tab color is green --- src/app/workspace/screen/tabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/workspace/screen/tabs.tsx b/src/app/workspace/screen/tabs.tsx index d882ba5f..4390c8dd 100644 --- a/src/app/workspace/screen/tabs.tsx +++ b/src/app/workspace/screen/tabs.tsx @@ -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); }