Skip to content

Commit

Permalink
feat: new symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Oct 30, 2024
1 parent 3acbb1e commit f5413ad
Showing 1 changed file with 230 additions and 0 deletions.
230 changes: 230 additions & 0 deletions components/icons/outline.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,3 +751,233 @@ func DocumentDuplicateOutline(p IconProps) htmx.Node {
),
)
}

// BoldOutline ...
func BoldOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z"),
),
)
}

// ItalicOutline ...
func ItalicOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803"),
),
)
}

// ItalicCodeBracketOutline ...
func ItalicCodeBracketOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"),
),
)
}

// LinkOutline ...
func LinkOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"),
),
)
}

// ImageOutline ...
func ImageOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"),
),
)
}

// ListBulletOutline ...
func ListBulletOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"),
),
)
}

// NumberedListOutline ...
func NumberedListOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M8.242 5.992h12m-12 6.003H20.24m-12 5.999h12M4.117 7.495v-3.75H2.99m1.125 3.75H2.99m1.125 0H5.24m-1.92 2.577a1.125 1.125 0 1 1 1.591 1.59l-1.83 1.83h2.16M2.99 15.745h1.125a1.125 1.125 0 0 1 0 2.25H3.74m0-.002h.375a1.125 1.125 0 0 1 0 2.25H2.99"),
),
)
}

// AtSymbolOutline ...
func AtSymbolOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M16.5 12a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 1 0-2.636 6.364M16.5 12V8.25"),
),
)
}

// ArrowUturnLeftOutline ...
func ArrowUturnLeftOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"),
),
)
}

// StrikethroughOutline ...
func StrikethroughOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
tailwind.H6: true,
tailwind.W6: true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M12 12a8.912 8.912 0 0 1-.318-.079c-1.585-.424-2.904-1.247-3.76-2.236-.873-1.009-1.265-2.19-.968-3.301.59-2.2 3.663-3.29 6.863-2.432A8.186 8.186 0 0 1 16.5 5.21M6.42 17.81c.857.99 2.176 1.812 3.761 2.237 3.2.858 6.274-.23 6.863-2.431.233-.868.044-1.779-.465-2.617M3.75 12h16.5"),
),
)
}

0 comments on commit f5413ad

Please sign in to comment.