Use themable symbol instead of svg source (#2597)
This commit is contained in:
parent
8e4843bd53
commit
79281e066e
|
|
@ -7,7 +7,7 @@
|
|||
[](https://plugins.jenkins.io/configuration-as-code)
|
||||
[](https://gitter.im/jenkinsci/configuration-as-code-plugin)
|
||||
|
||||
<img src="plugin/src/main/webapp/img/logo-head.svg" width="192">
|
||||
<img src="images/logo-head.svg" width="192">
|
||||
|
||||
|
||||
- [Introduction](#introduction)
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
|
@ -34,7 +34,7 @@
|
|||
-->
|
||||
<hpi.compatibleSinceVersion>1.28</hpi.compatibleSinceVersion>
|
||||
<hpi.pluginChangelogUrl>https://github.com/jenkinsci/configuration-as-code-plugin/releases</hpi.pluginChangelogUrl>
|
||||
<hpi.pluginLogoUrl>https://raw.githubusercontent.com/jenkinsci/configuration-as-code-plugin/master/plugin/src/main/webapp/img/logo-head.svg</hpi.pluginLogoUrl>
|
||||
<hpi.pluginLogoUrl>https://raw.githubusercontent.com/jenkinsci/configuration-as-code-plugin/master/plugin/src/main/resources/images/symbols/logo.svg</hpi.pluginLogoUrl>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ public class ConfigurationAsCode extends ManagementLink {
|
|||
@CheckForNull
|
||||
@Override
|
||||
public String getIconFileName() {
|
||||
return "/plugin/configuration-as-code/img/logo-head.svg";
|
||||
return "symbol-logo plugin-configuration-as-code";
|
||||
}
|
||||
|
||||
@CheckForNull
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
|
||||
<path fill="none" d="M31,39c2-1,5.22-5.89,5.91-7.54,1.65-4,1.41-12,1.42-13.62,0-3.44-3.73-4.81-8.17-4.5-8.95.63-8.73,3.48-11.69,4.49-.62.21-2.06.48-2.65.78a15.79,15.79,0,0,0-3.05,2.91c-1.23-1.18-3.89-.25-4.56,1.19s0,3.59.8,4.86c3.09,4.9,5.67,2.78,5.67,2.78a30.22,30.22,0,0,0,.83,3.31c.67,2,1.43,3.8,1.43,3.8L28.41,47.1Z"/>
|
||||
<path fill="currentColor" d="M25.58,17.07c-2.84-.92-4.44.84-5.48,2.72-.77-.26-.36-1.3-.12-1.82.64-1.38,2.89-3.1,4.58-2.69.72.17,1.66.93,1,1.8"/>
|
||||
<path fill="currentColor" d="M32.2,16.55c3-1.74,4.87.29,5.93,1.5.7-.41.08-1.34-.27-1.81-.92-1.21-3.48-2.41-5-1.66-.67.32-1.43,1.26-.62,2"/>
|
||||
<path fill="currentColor" d="M25.09,18.55c.3.54.46,1.13.75,1.67a7.69,7.69,0,0,0,1.11,1.46,2.25,2.25,0,0,1,.42.59c.32.75-.44,1.39-1.07,1.59a4.11,4.11,0,0,1-2.22,0,1.59,1.59,0,0,1-.78-.37.81.81,0,0,1,0-1c.17-.28,1.26.16,1.52.2a1.84,1.84,0,0,0,1.59-.32c-.59-.91-1.64-2.72-1.28-3.8"/>
|
||||
<path fill="currentColor" d="M28.15,30.91c-.83-.16-1.2-1.85-.59-2.67.33.55.14,1.58,1,1.72a6.34,6.34,0,0,0,4.59-1.64c1.59-1.38.33-1.82-.4-2.58-1.51-1.59-3.43-3.64-3.4-6.16.56-.42.55.39.71.8,1.3,3.55,4.69,5.81,4.93,6.23A1.16,1.16,0,0,1,34.82,28C33.74,29.55,29.91,31.25,28.15,30.91Z"/>
|
||||
<path fill="currentColor" d="M35.87,29.77c-.83,1.63-2,3.43-4.5,3.52a6.16,6.16,0,0,1,0-1.63c1.91-.21,3.07-1.2,4.52-1.89"/>
|
||||
<path fill="currentColor" d="M23.93,31c1.6.81,4.53.86,6.7.76a7.58,7.58,0,0,1,.14,1.64c-2.78.18-6.08-.46-6.84-2.4"/>
|
||||
<path fill="currentColor" d="M23.78,32c1.14,2.75,4.92,2.37,8.11,2.25a1.71,1.71,0,0,1-.81.95c-1,.43-3.83.79-5.26.06a7.2,7.2,0,0,1-2-2.16c-.24-.3-1.44-1.07,0-1.09"/>
|
||||
<path fill="none" stroke="currentColor" d="M12.77,21.52a5.24,5.24,0,0,1,1.68,1.88c.44,1.16.06,2.41.5,3.11.25.39,2.49-1,2.4-2-.07-.78-.51-.41-1-2.78-.19-.87.48-2.72-.21-3-.51-.24-1.43.86-2,1.4S12.77,21.52,12.77,21.52Z"/>
|
||||
<path fill="none" stroke="currentColor" d="M10.69,13.85S6.81,15,6.08,18.3C5.47,21,8.06,23,8.06,23a2.9,2.9,0,0,1,2.12-1.81,2.69,2.69,0,0,1,2.17.49l3.57-3.19A6.31,6.31,0,0,0,19.68,17,18.23,18.23,0,0,1,27.3,13.6c11.18-1.47,11,4.2,11,4.2s4.29-1.31,3.7-3.73c-.48-1.95-3.2-2.44-3.2-2.44s.72-9.79-4.38-10.34C30.24.85,22.51.08,18.12,3.51S10.69,13.85,10.69,13.85Z"/>
|
||||
<path fill="none" stroke="currentColor" d="M26.53,10.69a4.81,4.81,0,0,1-1.14-3.8C25.91,3.3,28,2.79,29.75,2.74s4.52,1,4.82,3.94a7.16,7.16,0,0,1-.8,3.56Z"/>
|
||||
<path fill="none" stroke="none" d="M39.68,11.83s-.84-1.33-7.6-1.72c-6.34-.36-12.75,3.4-12.75,3.4"/>
|
||||
<path fill="currentColor" d="M39.68,11.83A5.79,5.79,0,0,0,37.22,11c-.86-.14-1.73-.23-2.61-.3a27.09,27.09,0,0,0-5.2,0,29.54,29.54,0,0,0-5.1,1,50.11,50.11,0,0,0-5,1.77A21.46,21.46,0,0,1,24.06,11,21.13,21.13,0,0,1,29.3,9.7,17.53,17.53,0,0,1,32,9.64c.89.08,1.78.16,2.67.31a18.31,18.31,0,0,1,2.63.6,10.46,10.46,0,0,1,1.26.5A2.8,2.8,0,0,1,39.68,11.83Z"/>
|
||||
<path fill="none" stroke="currentColor" d="M10.69,13.85S6.5,15.6,5.92,18.13C5.52,19.87,8.06,23,8.06,23a2.9,2.9,0,0,1,2.12-1.81,4.48,4.48,0,0,1,2.58.36s2.15-2.63,3.16-3.06,2.3-.05,3.75-1.44A18.23,18.23,0,0,1,27.3,13.6c11.18-1.47,11,4.2,11,4.2s4.48-1.37,3.7-3.73c-.51-1.54-3.2-2.44-3.2-2.44s.64-8.38-3.43-9.86C30.24-.1,20.58,1.69,17.65,4,13.13,7.51,10.69,13.85,10.69,13.85Z"/>
|
||||
<path fill="none" stroke="currentColor" d="M33.78,13.65c4.72.91,4.56,4.16,4.56,4.16s4.29-1.31,3.7-3.73-4.37-2.81-6.29-3.22c-8-1.72-16.33,6.47-16.33,6.47A17.92,17.92,0,0,1,33.78,13.65Z"/>
|
||||
<path fill="none" stroke="currentColor" d="M20.26,16.54S24.8,11.74,30.75,11c5.59-.74,8.94.87,8.94.87"/>
|
||||
<text fill="currentColor" stroke="currentColor" font-family="Georgia-Bold,Georgia" stroke-miterlimit="10" font-size="7.71px" stroke-width="0.29px" transform="matrix(1, -0.07, 0.07, 1, 27.78, 9.74)">J</text>
|
||||
<path fill="currentColor" d="M34.81,18.39c.27.48.41,1,.67,1.5a6.89,6.89,0,0,0,1,1.31,2,2,0,0,1,.38.53c.29.68-.4,1.24-1,1.43a3.68,3.68,0,0,1-2,0,1.42,1.42,0,0,1-.7-.33.72.72,0,0,1,0-.93c.16-.25,1.13.14,1.36.18A1.65,1.65,0,0,0,36,21.79c-.53-.82-1.47-2.43-1.15-3.4"/>
|
||||
<path fill="currentColor" stroke="none" stroke-linecap="round" d="M9.44,24.36a1.35,1.35,0,0,1,1.33-1.41c3.34-.14,2.09,4.17,2.09,4.17s.12-2.06-.68-2.34c-1.29-.46-1.53.44-1.53.44s-.27-.22,0-.69.92-.19.92-.19,0-.63-1-.79C9.81,23.44,9.44,24.36,9.44,24.36Z"/>
|
||||
<path fill="currentColor" d="M14.77,28.57a2.41,2.41,0,0,1,.31.91,3.67,3.67,0,0,1,0,1l-.82-.31a3,3,0,0,0,.38-.74A2.19,2.19,0,0,0,14.77,28.57Z"/>
|
||||
<path fill="none" stroke="currentColor" d="M30.3,38.82c3.41-1.18,5.94-5.7,6.61-7.35,1.59-4,1.41-12,1.42-13.62,0-3.44-3.73-4.81-8.17-4.5-8.95.63-8.73,3.48-11.69,4.49-.62.21-2.06.48-2.65.78a15.79,15.79,0,0,0-3.05,2.91c-1.23-1.18-3.89-.25-4.56,1.19s0,3.59.8,4.86c3.09,4.9,5.67,2.78,5.67,2.78a30.22,30.22,0,0,0,.83,3.31c.67,2,1.43,3.8,1.43,3.8"/>
|
||||
<path fill="currentColor" d="M19.78,35.56A9.33,9.33,0,0,0,22.22,37a26.17,26.17,0,0,0,2.6,1.11,11.44,11.44,0,0,0,2.71.57,6,6,0,0,0,2.62-.31l.31.9a6.87,6.87,0,0,1-3,.14,12.06,12.06,0,0,1-2.81-.82,19.91,19.91,0,0,1-2.54-1.35A9.45,9.45,0,0,1,19.78,35.56Z"/>
|
||||
<path stroke="currentColor" fill="none" stroke-linejoin="round" d="M21.21,46A27.25,27.25,0,0,0,19,42.42c-.81-1.08-3-4.48-3-4.48l.55-1.41a15.15,15.15,0,0,0,5.16,3.31l4.23,1.81L28.81,47l-4.13-3.62Z"/>
|
||||
<polygon stroke="currentColor" fill="none" stroke-linejoin="round" points="28.81 46.97 30.87 39.36 33.09 40.31 34.52 44.43 31.51 42.21 28.81 46.97"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 222 KiB |
Loading…
Reference in New Issue