From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-widget-toolkit-assets] charts: improve documentation
Date: Fri, 10 Apr 2026 08:47:09 +0200 [thread overview]
Message-ID: <20260410064714.336023-1-d.csapak@proxmox.com> (raw)
so later readers don't have to wonder why this class is necessary.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
scss/_charts.scss | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scss/_charts.scss b/scss/_charts.scss
index 88ee946..0f5e87e 100644
--- a/scss/_charts.scss
+++ b/scss/_charts.scss
@@ -5,6 +5,10 @@
///
/// This class uses the variable `--pwt-legend-color` to set
/// the correct text color. Used for the icon in the legend.
+///
+/// This is necessary since we can't access the style of the icon in a `Button`
+/// directly, and with this, we can set the variable on the button instead,
+/// and give only the icon this class.
.pwt-legend-color {
color: var(--pwt-legend-color)
}
--
2.47.3
next reply other threads:[~2026-04-10 6:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-10 6:47 Dominik Csapak [this message]
2026-04-10 7:34 ` applied: " Dietmar Maurer
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=20260410064714.336023-1-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