* [PATCH yew-widget-toolkit-assets] charts: improve documentation
@ 2026-04-10 6:47 Dominik Csapak
2026-04-10 7:34 ` applied: " Dietmar Maurer
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-04-10 6:47 UTC (permalink / raw)
To: yew-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-10 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-10 6:47 [PATCH yew-widget-toolkit-assets] charts: improve documentation Dominik Csapak
2026-04-10 7:34 ` applied: " Dietmar Maurer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.