Skip to content

Commit f8c1ba7

Browse files
committed
add new icon
1 parent 686c454 commit f8c1ba7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

lib/algora_web/components/core_components.ex

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,25 @@ defmodule AlgoraWeb.CoreComponents do
11611161
attr :class, :string, default: nil
11621162
attr :rest, :global, doc: "the arbitrary HTML attributes to add to the icon"
11631163

1164+
def icon(%{name: "tabler-seedling" <> _} = assigns) do
1165+
~H"""
1166+
<svg
1167+
xmlns="http://www.w3.org/2000/svg"
1168+
width="24"
1169+
height="24"
1170+
viewBox="0 0 24 24"
1171+
fill="none"
1172+
stroke="currentColor"
1173+
stroke-width="2"
1174+
stroke-linecap="round"
1175+
stroke-linejoin="round"
1176+
class="icon icon-tabler icons-tabler-outline icon-tabler-seedling"
1177+
>
1178+
<path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M12 10a6 6 0 0 0 -6 -6h-3v2a6 6 0 0 0 6 6h3" /><path d="M12 14a6 6 0 0 1 6 -6h3v1a6 6 0 0 1 -6 6h-3" /><path d="M12 20l0 -10" />
1179+
</svg>
1180+
"""
1181+
end
1182+
11641183
def icon(%{name: "tabler-" <> _} = assigns) do
11651184
~H"""
11661185
<span class={[@name, @class]} {@rest} />

0 commit comments

Comments
 (0)