fix(icons): strip outer <svg> wrapper from LavaLamp — MudBlazor supplies its own

This commit is contained in:
daniel-c-harvey
2026-06-16 00:37:20 -04:00
parent e59271aa00
commit 2bb7d86e63
+10 -10
View File
@@ -24,17 +24,17 @@ public static class DDIcons
""";
/// <summary>
/// Lava lamp - the Mix visualizer settings glyph. Tapered base, tall rounded glass vessel, a cap,
/// and three suspended blobs at varied heights. The silhouette is currentColor so it themes with
/// its context (Color.Secondary tint, light/dark). The blobs carry a warm two-tone accent à la the
/// gas-lamp flame so the lamp reads as "lit" at icon size; the silhouette still tints with context.
/// Lava lamp - the Mix visualizer settings glyph. Inner path/shape markup for MudBlazor's Icon= slot
/// (no outer &lt;svg&gt; wrapper — MudBlazor supplies that). Tapered base, tall rounded glass vessel,
/// a cap, and three suspended blobs at varied heights. The silhouette is currentColor so it themes
/// with its context (Color.Secondary tint, light/dark). The blobs carry a warm two-tone accent à la
/// the gas-lamp flame so the lamp reads as "lit" at icon size; coordinates are in the 24×24 space
/// that matches MudBlazor's viewBox="0 0 24 24" wrapper.
/// </summary>
public const string LavaLamp = """
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="currentColor" d="M9 1h6l-1.2 3h-3.6zM7.5 21l1.7-15h5.6l1.7 15zM6 21h12v2H6z"/>
<ellipse cx="12" cy="17.5" rx="2.6" ry="2.2" fill="#FF9800"/>
<ellipse cx="10.4" cy="12.5" rx="1.5" ry="1.7" fill="#FFB74D"/>
<ellipse cx="13.3" cy="9.5" rx="1.1" ry="1.3" fill="#FFCA28"/>
</svg>
<path fill="currentColor" d="M9 1h6l-1.2 3h-3.6zM7.5 21l1.7-15h5.6l1.7 15zM6 21h12v2H6z"/>
<ellipse cx="12" cy="17.5" rx="2.6" ry="2.2" fill="#FF9800"/>
<ellipse cx="10.4" cy="12.5" rx="1.5" ry="1.7" fill="#FFB74D"/>
<ellipse cx="13.3" cy="9.5" rx="1.1" ry="1.3" fill="#FFCA28"/>
""";
}