diff --git a/src/main/index.ts b/src/main/index.ts index b822286..114d6a2 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -6,11 +6,18 @@ let mainWindow: BrowserWindow | null = null function createWindow() { mainWindow = new BrowserWindow({ - width: 1024, - height: 720, - minWidth: 720, - minHeight: 540, + width: 1280, + height: 800, + minWidth: 980, + minHeight: 600, title: 'Hoist', + // titleBarStyle: 'hiddenInset' removes the OS title bar but keeps + // the macOS traffic-light buttons; we draw our own titlebar in the + // renderer starting at 0,0, and the lights are placed at the + // leftmost position so the design system owns the chrome. + titleBarStyle: 'hiddenInset', + trafficLightPosition: { x: 12, y: 16 }, + backgroundColor: '#1d1d21', webPreferences: { preload: join(__dirname, '../preload/index.js'), contextIsolation: true, diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 01a8140..9353431 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -487,7 +487,7 @@ function LibraryInspectionPanel({ entry }: { entry: LibraryEntry | undefined }) const [cardOpen, setCardOpen] = useState(true) if (!entry) { return ( -