Make the translator themeable

This commit is contained in:
luisangelsm
2026-03-05 18:52:10 +01:00
parent 6ea857fa59
commit 33f18d9d1c
17 changed files with 273 additions and 49 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
<defs>
<style>
.cls-1 {
fill: none;
stroke: #f0f;
stroke-miterlimit: 10;
stroke-width: 2px;
}
</style>
</defs>
<line class="cls-1" x1="2" y1="2" x2="12" y2="12"/>
<line class="cls-1" x1="12" y1="2" x2="2" y2="12"/>
</svg>

After

Width:  |  Height:  |  Size: 414 B

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 5">
<defs>
<style>
.cls-1 {
fill: #f0f;
}
</style>
</defs>
<polygon class="cls-1" points="5 5 5 5 1 0 9 0 5 5"/>
</svg>

After

Width:  |  Height:  |  Size: 281 B

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
<defs>
<style>
.cls-1 {
stroke-width: 2px;
}
.cls-1, .cls-2 {
fill: none;
stroke: #f0f;
stroke-miterlimit: 10;
}
.cls-2 {
stroke-width: 1.8px;
}
</style>
</defs>
<polyline class="cls-2" points="6 13 12 7 6 1"/>
<line class="cls-1" x1="11.5" y1="7" x2="1.5" y2="7"/>
</svg>

After

Width:  |  Height:  |  Size: 499 B

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
<defs>
<style>
.cls-1 {
fill: none;
stroke: #f0f;
stroke-miterlimit: 10;
}
.cls-2 {
fill: #f0f;
}
</style>
</defs>
<polygon class="cls-2" points="4 4 0 4 0 10 4 10 8 13 8 1 4 4"/>
<path class="cls-1" d="M9.65,4.75c.23.54.35,1.13.35,1.75s-.13,1.21-.35,1.75"/>
<path class="cls-1" d="M10.45,1.55c.63.63,1.15,1.39,1.5,2.23s.55,1.76.55,2.72-.2,1.89-.55,2.72-.87,1.59-1.5,2.23"/>
</svg>

After

Width:  |  Height:  |  Size: 589 B

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
<defs>
<style>
.cls-1 {
fill: #f0f;
}
</style>
</defs>
<path class="cls-1" d="M13.5,11.64l-2.03-2.03c.58-.92.92-2,.92-3.17,0-3.28-2.66-5.94-5.94-5.94S.5,3.16.5,6.44s2.67,5.94,5.94,5.94c1.16,0,2.25-.34,3.17-.92l2.03,2.03s1.86-1.86,1.86-1.86ZM6.44,10.65c-2.31,0-4.19-1.88-4.19-4.19s1.88-4.2,4.19-4.2,4.19,1.88,4.19,4.19-1.88,4.19-4.19,4.19h0Z"/>
</svg>

After

Width:  |  Height:  |  Size: 517 B