From be84a611985f59e55e1f3285b9785e90cfaebecc Mon Sep 17 00:00:00 2001 From: David Mo <44306450+unknown@users.noreply.github.com> Date: Wed, 22 Nov 2023 23:42:50 -0500 Subject: [PATCH] Add vibrancy style --- electron/main.ts | 3 +++ src/App.tsx | 9 +++++++-- src/components/thread-item.tsx | 2 +- src/styles/globals.css | 11 ++++++++++- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/electron/main.ts b/electron/main.ts index 622078d..656f1ac 100644 --- a/electron/main.ts +++ b/electron/main.ts @@ -12,6 +12,9 @@ function createWindow() { webPreferences: { preload: path.join(__dirname, "preload.js"), }, + vibrancy: "under-window", + titleBarStyle: "hidden", + frame: false, }); if (process.env.VITE_DEV_SERVER_URL) { diff --git a/src/App.tsx b/src/App.tsx index 7476b29..288c3ba 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -82,7 +82,12 @@ function App() { return (