Skip to content

Commit

Permalink
fix: change the title bar color
Browse files Browse the repository at this point in the history
  • Loading branch information
ylxmf2005 committed Jan 19, 2025
1 parent a7bd63f commit d6aebbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/window-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class WindowManager {
width: 900,
height: 670,
show: false,
backgroundColor: "#ffffff",
backgroundColor: "#111111",
icon:
process.platform === "win32"
? join(__dirname, "../../resources/icon.ico")
Expand All @@ -64,7 +64,7 @@ export class WindowManager {
: {
titleBarStyle: "hidden",
titleBarOverlay: {
color: "#1A1E2B",
color: "#111111",
symbolColor: "rgba(255, 255, 255, 0.8)",
height: 30,
...options.titleBarOverlay,
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/electron/title-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function TitleBar(): JSX.Element {
height: "30px",
width: "100%",
"-webkit-app-region": "drag",
backgroundColor: "#1A202C",
color: "#FFFFFF",
backgroundCoFFFFFFlor: "#1A1E2B",
color: "#1A1E2B",
} as React.CSSProperties
}
>
Expand Down

0 comments on commit d6aebbb

Please sign in to comment.