Skip to content

fix: enable transparent background for macOS capsule window - #22

Open
lwshanbd wants to merge 1 commit into
tover0314-w:mainfrom
lwshanbd:main
Open

fix: enable transparent background for macOS capsule window#22
lwshanbd wants to merge 1 commit into
tover0314-w:mainfrom
lwshanbd:main

Conversation

@lwshanbd

Copy link
Copy Markdown

Summary

Fix the macOS capsule window transparency path so the webview and Tauri config both allow a transparent background.

Change Type

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • CI / Infrastructure

Changes

  • add transparent html/body/#root styling in index.html
  • enable Tauri's macos-private-api feature in src-tauri/Cargo.toml
  • add src-tauri/tauri.macos.conf.json to set app.macOSPrivateApi

Test Plan

  • Tested locally on macOS
  • npm run build passes
  • npx vitest run passes (localStorage mock failures in existing src/lib/__tests__/api.test.ts and src/stores/__tests__/authStore.test.ts)
  • cargo clippy -- -D warnings passes (local toolchain is rustc 1.85.0; time currently requires rustc 1.88.0)
  • No regressions in existing functionality

Screenshots / Recordings

Not included.

Related Issues

Add inline CSS for transparent html/body/root, enable macos-private-api
feature in Cargo.toml, and add tauri.macos.conf.json to allow transparent
windows on macOS.
@lwshanbd
lwshanbd requested a review from tover0314-w as a code owner March 15, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant