From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-widget-toolkit 2/2] widget: theme mode selector: use 'fa-desktop' for system theme
Date: Tue, 2 Jun 2026 13:43:19 +0200 [thread overview]
Message-ID: <20260602114323.2258590-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20260602114323.2258590-1-d.csapak@proxmox.com>
this is a more common icon used to represent the system theme and the
asterisk and sun icon are too similar on first glance.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/widget/theme_mode_selector.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/widget/theme_mode_selector.rs b/src/widget/theme_mode_selector.rs
index b254108..81390e7 100644
--- a/src/widget/theme_mode_selector.rs
+++ b/src/widget/theme_mode_selector.rs
@@ -79,7 +79,7 @@ impl Component for PwtThemeModeSelector {
let onclick = ctx.link().callback(|_| Msg::NextMode);
let (icon, tip) = match self.theme {
- ThemeMode::System => ("fa fa-fw fa-asterisk", tr!("System Theme")),
+ ThemeMode::System => ("fa fa-fw fa-desktop", tr!("System Theme")),
ThemeMode::Dark => ("fa fa-fw fa-moon-o", tr!("Dark Mode")),
ThemeMode::Light => ("fa fa-fw fa-sun-o", tr!("Light Mode")),
};
--
2.47.3
prev parent reply other threads:[~2026-06-02 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 11:43 [PATCH yew-widget-toolkit 1/2] widget: theme mode selector: add tooltips for the different modes Dominik Csapak
2026-06-02 11:43 ` Dominik Csapak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260602114323.2258590-2-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=yew-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox