Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help-beta: Pass fill property to component instead of str manipulation.
Shubham Padiad134c1fa0171
diff --git a/help-beta/astro.config.mjs b/help-beta/astro.config.mjsindex 72a28991dc5..f5ecce2ec92 100644--- a/help-beta/astro.config.mjs+++ b/help-beta/astro.config.mjs@@ -34,11 +34,6 @@ export default defineConfig({throw new Error("Zulip icon not found.");},},- transform(svg, _collection, _icon) {- // unplugin-icons suggests to set the fill color,- // there were some cases were it was being set to none.- return svg.replace(/^<svg /, '<svg fill="currentColor" ');- },}),],},diff --git a/help-beta/src/components/KeyboardTip.astro b/help-beta/src/components/KeyboardTip.astroindex 7c28c02a2d4..91c02bc22a2 100644--- a/help-beta/src/components/KeyboardTip.astro+++ b/help-beta/src/components/KeyboardTip.astro@@ -17,7 +17,7 @@ Link: https://github.com/withastro/starlight/pull/2261--><aside aria-label={title} class={`starlight-aside starlight-aside--tip`}><p class="starlight-aside__title" aria-hidden="true">- <ZulipIconsKeyboard class="starlight-aside__icon" />{title}+ <ZulipIconsKeyboard fill="currentColor" class="starlight-aside__icon" />{title}</p><div class="starlight-aside__content"><slot />