Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions io/src/main/scala/laika/helium/config/HeliumIcon.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ object HeliumIcon {
val github: Icon = InlineSVGIcon(SVGIcons.githubIcon, Some("Source Code"), Styles("github"))
val mastodon: Icon = InlineSVGIcon(SVGIcons.mastodonIcon, Some("Mastodon"), Styles("mastodon"))

val mavenCentral: Icon =
InlineSVGIcon(SVGIcons.mavenCentralIcon, Some("Maven Central"), Styles("mavenCentral"))

private[helium] val registry: IconRegistry = IconRegistry(
"navigationMenu" -> navigationMenu,
"home" -> home,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,11 @@ private[helium] object SVGIcons {
| </g>
|</svg>""".stripMargin

val mavenCentralIcon =
"""<svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
| <g class="svg-shape">
| <path fill-rule="evenodd" d="M50 4 L89.8 27 L89.8 73 L50 96 L10.2 73 L10.2 27 Z M50 18 L77.7 34 L77.7 66 L50 82 L22.3 66 L22.3 34 Z"/>
| </g>
|</svg>""".stripMargin

}
Loading