Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(electron): refine desktop tab bar dark theme surface (#14203)

Innei1d7b81233a06
diff --git a/src/features/Electron/titlebar/TabBar/styles.ts b/src/features/Electron/titlebar/TabBar/styles.ts
index 1960b6c44f0..b50be8141ad 100644
--- a/src/features/Electron/titlebar/TabBar/styles.ts
+++ b/src/features/Electron/titlebar/TabBar/styles.ts
@@ -75,6 +75,15 @@ export const useStyles = createStaticStyles(({ css, cssVar }) => ({
&:hover {
background-color: ${cssVar.colorBgElevated};
}
+
+ html.desktop[data-theme='dark'] & {
+ background-color: ${cssVar.colorFillSecondary};
+ box-shadow: inset 0 0 0 1px ${cssVar.colorBorderSecondary};
+
+ &:hover {
+ background-color: ${cssVar.colorFillSecondary};
+ }
+ }
`,
tabIcon: css`
flex-shrink: 0;