From 1bafc6f22f5263a0dc44526cea57dbadfd87fdb1 Mon Sep 17 00:00:00 2001 From: Marcus Crane Date: Sun, 16 Feb 2025 13:57:52 +1300 Subject: [PATCH] [v3] Fix invisible footer for light mode users across default templates (#4056) * Remove invisible footer styling Signed-off-by: Marcus Crane * Add changelog entry Signed-off-by: Marcus Crane --------- Signed-off-by: Marcus Crane Co-authored-by: Lea Anthony --- docs/src/content/docs/changelog.mdx | 1 + v3/examples/file-association/frontend/public/style.css | 1 - v3/internal/templates/lit-ts/frontend/src/my-element.ts | 1 - v3/internal/templates/lit/frontend/src/my-element.js | 1 - v3/internal/templates/preact-ts/frontend/public/style.css | 1 - v3/internal/templates/preact/frontend/public/style.css | 1 - v3/internal/templates/qwik-ts/frontend/public/style.css | 1 - v3/internal/templates/qwik/frontend/public/style.css | 1 - v3/internal/templates/solid-ts/frontend/public/style.css | 1 - v3/internal/templates/solid/frontend/public/style.css | 1 - v3/internal/templates/svelte-ts/frontend/public/style.css | 1 - v3/internal/templates/svelte/frontend/public/style.css | 1 - v3/internal/templates/sveltekit-ts/frontend/static/style.css | 1 - v3/internal/templates/sveltekit/frontend/frontend/style.css | 1 - v3/internal/templates/sveltekit/frontend/static/style.css | 1 - v3/internal/templates/vanilla-ts/frontend/public/style.css | 1 - v3/internal/templates/vanilla/frontend/public/style.css | 1 - v3/internal/templates/vue-ts/frontend/public/style.css | 1 - v3/internal/templates/vue/frontend/public/style.css | 1 - 19 files changed, 1 insertion(+), 18 deletions(-) diff --git a/docs/src/content/docs/changelog.mdx b/docs/src/content/docs/changelog.mdx index 939b5101b..5802f7696 100644 --- a/docs/src/content/docs/changelog.mdx +++ b/docs/src/content/docs/changelog.mdx @@ -78,6 +78,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moved injected code to the end of service files by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045) - Fixed handling of errors from file close operations in binding generator by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045) - Suppressed warnings for services that define lifecycle or http methods but no other bound methods by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045) +- Fixed non-React templates failing to display Hello World footer when using light system colour scheme by [@marcus-crane](https://github.com/marcus-crane) in [#4056](https://github.com/wailsapp/wails/pull/4056) - Fixed hidden menu items on macOS by [@leaanthony](https://github.com/leaanthony) ### Changed diff --git a/v3/examples/file-association/frontend/public/style.css b/v3/examples/file-association/frontend/public/style.css index 865f7f38a..259397254 100644 --- a/v3/examples/file-association/frontend/public/style.css +++ b/v3/examples/file-association/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/lit-ts/frontend/src/my-element.ts b/v3/internal/templates/lit-ts/frontend/src/my-element.ts index de6c56c5d..437b74cb8 100644 --- a/v3/internal/templates/lit-ts/frontend/src/my-element.ts +++ b/v3/internal/templates/lit-ts/frontend/src/my-element.ts @@ -136,7 +136,6 @@ export class MyElement extends LitElement { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } .input-box .btn:hover { diff --git a/v3/internal/templates/lit/frontend/src/my-element.js b/v3/internal/templates/lit/frontend/src/my-element.js index c1dc7e31b..5c617da3b 100644 --- a/v3/internal/templates/lit/frontend/src/my-element.js +++ b/v3/internal/templates/lit/frontend/src/my-element.js @@ -125,7 +125,6 @@ export class MyElement extends LitElement { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } .input-box .btn:hover { diff --git a/v3/internal/templates/preact-ts/frontend/public/style.css b/v3/internal/templates/preact-ts/frontend/public/style.css index 043b96be0..5d7b7e09c 100644 --- a/v3/internal/templates/preact-ts/frontend/public/style.css +++ b/v3/internal/templates/preact-ts/frontend/public/style.css @@ -115,7 +115,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/preact/frontend/public/style.css b/v3/internal/templates/preact/frontend/public/style.css index 043b96be0..5d7b7e09c 100644 --- a/v3/internal/templates/preact/frontend/public/style.css +++ b/v3/internal/templates/preact/frontend/public/style.css @@ -115,7 +115,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/qwik-ts/frontend/public/style.css b/v3/internal/templates/qwik-ts/frontend/public/style.css index 1f3534af9..2b447c0b6 100644 --- a/v3/internal/templates/qwik-ts/frontend/public/style.css +++ b/v3/internal/templates/qwik-ts/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/qwik/frontend/public/style.css b/v3/internal/templates/qwik/frontend/public/style.css index 1f3534af9..2b447c0b6 100644 --- a/v3/internal/templates/qwik/frontend/public/style.css +++ b/v3/internal/templates/qwik/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/solid-ts/frontend/public/style.css b/v3/internal/templates/solid-ts/frontend/public/style.css index 63826ae72..2b7547eb4 100644 --- a/v3/internal/templates/solid-ts/frontend/public/style.css +++ b/v3/internal/templates/solid-ts/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/solid/frontend/public/style.css b/v3/internal/templates/solid/frontend/public/style.css index 63826ae72..2b7547eb4 100644 --- a/v3/internal/templates/solid/frontend/public/style.css +++ b/v3/internal/templates/solid/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/svelte-ts/frontend/public/style.css b/v3/internal/templates/svelte-ts/frontend/public/style.css index 865f7f38a..259397254 100644 --- a/v3/internal/templates/svelte-ts/frontend/public/style.css +++ b/v3/internal/templates/svelte-ts/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/svelte/frontend/public/style.css b/v3/internal/templates/svelte/frontend/public/style.css index 865f7f38a..259397254 100644 --- a/v3/internal/templates/svelte/frontend/public/style.css +++ b/v3/internal/templates/svelte/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/sveltekit-ts/frontend/static/style.css b/v3/internal/templates/sveltekit-ts/frontend/static/style.css index 865f7f38a..259397254 100644 --- a/v3/internal/templates/sveltekit-ts/frontend/static/style.css +++ b/v3/internal/templates/sveltekit-ts/frontend/static/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/sveltekit/frontend/frontend/style.css b/v3/internal/templates/sveltekit/frontend/frontend/style.css index 865f7f38a..259397254 100644 --- a/v3/internal/templates/sveltekit/frontend/frontend/style.css +++ b/v3/internal/templates/sveltekit/frontend/frontend/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/sveltekit/frontend/static/style.css b/v3/internal/templates/sveltekit/frontend/static/style.css index 865f7f38a..259397254 100644 --- a/v3/internal/templates/sveltekit/frontend/static/style.css +++ b/v3/internal/templates/sveltekit/frontend/static/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/vanilla-ts/frontend/public/style.css b/v3/internal/templates/vanilla-ts/frontend/public/style.css index 865f7f38a..259397254 100644 --- a/v3/internal/templates/vanilla-ts/frontend/public/style.css +++ b/v3/internal/templates/vanilla-ts/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/vanilla/frontend/public/style.css b/v3/internal/templates/vanilla/frontend/public/style.css index 865f7f38a..259397254 100644 --- a/v3/internal/templates/vanilla/frontend/public/style.css +++ b/v3/internal/templates/vanilla/frontend/public/style.css @@ -114,7 +114,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/vue-ts/frontend/public/style.css b/v3/internal/templates/vue-ts/frontend/public/style.css index c748dca35..187e7e4b9 100644 --- a/v3/internal/templates/vue-ts/frontend/public/style.css +++ b/v3/internal/templates/vue-ts/frontend/public/style.css @@ -99,7 +99,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) { diff --git a/v3/internal/templates/vue/frontend/public/style.css b/v3/internal/templates/vue/frontend/public/style.css index c748dca35..187e7e4b9 100644 --- a/v3/internal/templates/vue/frontend/public/style.css +++ b/v3/internal/templates/vue/frontend/public/style.css @@ -99,7 +99,6 @@ h1 { margin-top: 1rem; align-content: center; text-align: center; - color: rgba(255, 255, 255, 0.67); } @media (prefers-color-scheme: light) {