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
+6 -6
View File
@@ -24,17 +24,17 @@ public static class DDIcons
"""; """;
/// <summary> /// <summary>
/// Lava lamp - the Mix visualizer settings glyph. Tapered base, tall rounded glass vessel, a cap, /// Lava lamp - the Mix visualizer settings glyph. Inner path/shape markup for MudBlazor's Icon= slot
/// and three suspended blobs at varied heights. The silhouette is currentColor so it themes with /// (no outer &lt;svg&gt; wrapper — MudBlazor supplies that). Tapered base, tall rounded glass vessel,
/// its context (Color.Secondary tint, light/dark). The blobs carry a warm two-tone accent à la the /// a cap, and three suspended blobs at varied heights. The silhouette is currentColor so it themes
/// gas-lamp flame so the lamp reads as "lit" at icon size; the silhouette still tints with context. /// 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> /// </summary>
public const string LavaLamp = """ 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"/> <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="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="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"/> <ellipse cx="13.3" cy="9.5" rx="1.1" ry="1.3" fill="#FFCA28"/>
</svg>
"""; """;
} }