Upgrade Dual Filter plugin PNG assets to SVG (#7774)

This commit is contained in:
Fawn
2025-03-19 13:16:05 -06:00
committed by GitHub
parent fc29682b90
commit f09d56cdd0
5 changed files with 26 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
INCLUDE(BuildPlugin)
BUILD_PLUGIN(dualfilter DualFilter.cpp DualFilterControls.cpp DualFilterControlDialog.cpp MOCFILES DualFilterControls.h DualFilterControlDialog.h EMBEDDED_RESOURCES artwork.png logo.png)
BUILD_PLUGIN(dualfilter DualFilter.cpp DualFilterControls.cpp DualFilterControlDialog.cpp MOCFILES DualFilterControls.h DualFilterControlDialog.h EMBEDDED_RESOURCES artwork.svg logo.svg)

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 934 B

View File

@@ -0,0 +1,22 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="373" height="109">
<defs>
<linearGradient id="a">
<stop offset="0" stop-color="#08090c"/>
<stop offset="1" stop-color="#101116"/>
</linearGradient>
<linearGradient id="b">
<stop offset="0" stop-color="#1a1d21"/>
<stop offset="1" stop-color="#2d333a"/>
</linearGradient>
<linearGradient xlink:href="#a" id="c" x1="0" x2="0" y1="110" y2="0" gradientTransform="scale(3.73 .99091)" gradientUnits="userSpaceOnUse"/>
<linearGradient xlink:href="#b" id="d" x1="-29.25007" x2="-29.25007" y1="118" y2="10" gradientTransform="matrix(4 0 0 .83333 126.50033 1.16666)" gradientUnits="userSpaceOnUse"/>
</defs>
<path fill="url(#c)" d="M0 0h373v109H0Z"/>
<rect width="156" height="90" x="9.5" y="9.5" fill="url(#d)" stroke="#000" rx="2.065" ry="2.065"/>
<rect width="156" height="90" x="207.5" y="9.5" fill="url(#d)" stroke="#000" rx="2.065" ry="2.065"/>
<path stroke="#191a20" stroke-width="3" d="M166 50.5h7M200 50.5h7"/>
<path fill="#fff" d="M11.56445 10C10.6888 10 10 10.6888 10 11.56445v1C10 11.6888 10.6888 11 11.56445 11h151.8711C164.3112 11 165 11.6888 165 12.56445v-1C165 10.6888 164.3112 10 163.43555 10H11.56445z" opacity=".1"/>
<path fill="#fff" d="M209.56445 10C208.6888 10 208 10.6888 208 11.56445v1C208 11.6888 208.6888 11 209.56445 11h151.8711C362.3112 11 363 11.6888 363 12.56445v-1C363 10.6888 362.3112 10 361.43555 10Z" opacity=".1"/>
<path fill="#000" d="M11.56445 99C10.6888 99 10 98.3112 10 97.43555v-1C10 97.3112 10.6888 98 11.56445 98h151.8711C164.3112 98 165 97.3112 165 96.43555v1C165 98.3112 164.3112 99 163.43555 99Z" opacity=".3"/>
<path fill="#000" d="M209.56445 99C208.6888 99 208 98.3112 208 97.43555v-1C208 97.3112 208.6888 98 209.56445 98h151.8711C362.3112 98 363 97.3112 363 96.43555v1C363 98.3112 362.3112 99 361.43555 99Z" opacity=".3"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 774 B

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="48" height="48">
<path fill="#fff" d="M7.86719 2C3.95608 2 2 3.95608 2 7.86719V40.1328C2 44.04392 3.95608 46 7.86719 46H40.1328C44.04392 46 46 44.04392 46 40.13281V7.8672C46 3.95608 44.04392 2 40.13281 2H7.8672zM24 9l15 8.4375V35.25l-5.625 2.8125L27.75 35.25v-6.5625l5.625-2.8125V20.25L24 15.5625 14.625 20.25v5.625l5.625 2.8125V35.25l-5.625 2.8125L9 35.25V17.4375L24 9z"/>
</svg>

After

Width:  |  Height:  |  Size: 451 B