diff --git a/package.json b/package.json index 0b272b02d..7fad76816 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "lodash-es": "4.17.21", "lucide-react": "0.381.0", "ofetch": "1.3.4", + "react-helmet-async": "2.0.5", "react-hook-form": "7.51.5", "react-intersection-observer": "9.10.2", "react-router-dom": "6.23.1", @@ -88,6 +89,7 @@ "@egoist/tailwindcss-icons": "1.8.0", "@electron-toolkit/tsconfig": "^1.0.1", "@iconify-json/mingcute": "1.1.17", + "@tailwindcss/container-queries": "0.1.1", "@tailwindcss/typography": "0.5.13", "@types/lodash-es": "4.17.12", "@types/node": "^20.12.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 24317b402..e30668bb7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,6 +134,9 @@ importers: ofetch: specifier: 1.3.4 version: 1.3.4 + react-helmet-async: + specifier: 2.0.5 + version: 2.0.5(react@18.3.1) react-hook-form: specifier: 7.51.5 version: 7.51.5(react@18.3.1) @@ -198,6 +201,9 @@ importers: '@iconify-json/mingcute': specifier: 1.1.17 version: 1.1.17 + '@tailwindcss/container-queries': + specifier: 0.1.1 + version: 0.1.1(tailwindcss@3.4.3) '@tailwindcss/typography': specifier: 0.5.13 version: 0.5.13(tailwindcss@3.4.3) @@ -1811,6 +1817,11 @@ packages: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} + '@tailwindcss/container-queries@0.1.1': + resolution: {integrity: sha512-p18dswChx6WnTSaJCSGx6lTmrGzNNvm2FtXmiO6AuA1V4U5REyoqwmT6kgAsIMdjo07QdAfYXHJ4hnMtfHzWgA==} + peerDependencies: + tailwindcss: '>=3.2.0' + '@tailwindcss/typography@0.5.13': resolution: {integrity: sha512-ADGcJ8dX21dVVHIwTRgzrcunY6YY9uSlAHHGVKvkA+vLc5qLwEszvKts40lx7z0qc4clpjclwLeK5rVCV2P/uw==} peerDependencies: @@ -4374,6 +4385,14 @@ packages: peerDependencies: react: ^18.3.1 + react-fast-compare@3.2.2: + resolution: {integrity: sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==} + + react-helmet-async@2.0.5: + resolution: {integrity: sha512-rYUYHeus+i27MvFE+Jaa4WsyBKGkL6qVgbJvSBoX8mbsWoABJXdEO0bZyi0F6i+4f0NuIb8AvqPMj3iXFHkMwg==} + peerDependencies: + react: ^16.6.0 || ^17.0.0 || ^18.0.0 + react-hook-form@7.51.5: resolution: {integrity: sha512-J2ILT5gWx1XUIJRETiA7M19iXHlG74+6O3KApzvqB/w8S5NQR7AbU8HVZrMALdmDgWpRPYiZJl0zx8Z4L2mP6Q==} engines: {node: '>=12.22.0'} @@ -4636,6 +4655,9 @@ packages: set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + shallowequal@1.1.0: + resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} + shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -6901,6 +6923,10 @@ snapshots: dependencies: defer-to-connect: 2.0.1 + '@tailwindcss/container-queries@0.1.1(tailwindcss@3.4.3)': + dependencies: + tailwindcss: 3.4.3 + '@tailwindcss/typography@0.5.13(tailwindcss@3.4.3)': dependencies: lodash.castarray: 4.4.0 @@ -10085,6 +10111,15 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 + react-fast-compare@3.2.2: {} + + react-helmet-async@2.0.5(react@18.3.1): + dependencies: + invariant: 2.2.4 + react: 18.3.1 + react-fast-compare: 3.2.2 + shallowequal: 1.1.0 + react-hook-form@7.51.5(react@18.3.1): dependencies: react: 18.3.1 @@ -10380,6 +10415,8 @@ snapshots: set-blocking@2.0.0: {} + shallowequal@1.1.0: {} + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 diff --git a/src/main/window.ts b/src/main/window.ts index 4d873ce6b..50b9c9ad2 100644 --- a/src/main/window.ts +++ b/src/main/window.ts @@ -33,7 +33,7 @@ export function createWindow(options?: { transparent: true, backgroundColor: "#00000000", // transparent hexadecimal or anything with transparency, vibrancy: "sidebar", - visualEffectState: "followWindow", + visualEffectState: "active", }) window.on("ready-to-show", () => { diff --git a/src/renderer/index.html b/src/renderer/index.html index d02f2005b..5090dec0b 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -18,6 +18,7 @@ (document.documentElement.dataset.theme = "dark"); })(); +