fix: make moderation button prettier (#6412)

Co-authored-by: Nerixyz <nerixdev@outlook.de>
This commit is contained in:
pajlada
2025-08-23 10:46:04 +02:00
committed by GitHub
parent 1afac3382e
commit c2cc9f33c9
5 changed files with 5 additions and 185 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
- Dev: Made "add split" button (part of the split header) a natively rendered button. (#6349)
- Dev: Made Settings & Account button on Linux/macOS SVGs. (#6267)
- Dev: Made "Chatters" button an SVG. (#6397)
- Dev: Made "Moderation" button an SVG. (#6398)
- Dev: Made "Moderation" button an SVG. (#6398, #6412)
- Dev: Made user card "pin" button SVGs. (#6399)
- Dev: Some more setting widget refactors. (#6317)
- Dev: Emoji style / set is now stored lowercase (and matched case-insensitively). Changing emoji style from this point on and then running an old version might mean you will use the Twitter emoji style by default. (#6300)
@@ -1,46 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="200mm"
height="200mm"
viewBox="0 0 200 200"
version="1.1"
id="svg1"
sodipodi:docname="drawing.svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
/>
<g fill="#ff00ff">
<path
style="fill:none;stroke:#c0c0c0;stroke-width:12"
d="
M 185,10
H 150
L 60,100
L 40,80
L 25,95
L 50,120
L 20,150
L 45,175
L 75,145
L 100,170
L 115,155
L 95,135
L 185,45
Z
"
sodipodi:nodetypes="cccccccccsccsc" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="silver" d="m7 15-.53.53.586.586.524-.641zm9-11-.147-.735a.75.75 0 0 0-.434.26zm5-1 .735.147a.75.75 0 0 0-.882-.882zm-1 5 .475.58a.75.75 0 0 0 .26-.433zM9 17l-.475-.58-.641.524.586.586zm1.5 1.5-.53.53zM7 19l.53-.53-.53-.53-.53.53zm-2.5 2.5-.53.53a.75.75 0 0 0 1.06 0zm-2-2-.53-.53a.75.75 0 0 0 0 1.06zM5 17l.53.53.53-.53-.53-.53zm-1.5-1.5.53-.53zm2-2-.53.53zM7 15l.58.475 9-11L16 4l-.58-.475-9 11zm9-11 .147.735 5-1L21 3l-.147-.735-5 1zm5-1-.735-.147-1 5L20 8l.735.147 1-5zm-1 5-.475-.58-11 9L9 17l.475.58 11-9zM9 17l-.53.53 1.5 1.5.53-.53.53-.53-1.5-1.5zm1.5 1.5-.53.53c.251.252.311.473.311.626 0 .163-.068.32-.186.439a.62.62 0 0 1-.439.186c-.153 0-.374-.06-.626-.311l-.53.53-.53.53c.498.499 1.09.751 1.686.751a2.12 2.12 0 0 0 1.5-.626 2.12 2.12 0 0 0 .625-1.499c0-.597-.252-1.188-.75-1.686zm-2 2 .53-.53-1.5-1.5L7 19l-.53.53 1.5 1.5zM7 19l-.53-.53-2.5 2.5.53.53.53.53 2.5-2.5zm-2.5 2.5.53-.53-2-2-.53.53-.53.53 2 2zm-2-2 .53.53 2.5-2.5L5 17l-.53-.53-2.5 2.5zM5 17l.53-.53-1.5-1.5-.53.53-.53.53 1.5 1.5zm-1.5-1.5.53-.53c-.251-.252-.311-.473-.311-.626 0-.163.068-.32.186-.439a.62.62 0 0 1 .439-.186c.153 0 .374.06.626.311l.53-.53.53-.53c-.498-.499-1.09-.751-1.686-.751a2.12 2.12 0 0 0-1.5.626 2.12 2.12 0 0 0-.625 1.499c0 .597.252 1.188.75 1.686zm2-2-.53.53 1.5 1.5L7 15l.53-.53-1.5-1.5z"/></svg>

Before

Width:  |  Height:  |  Size: 853 B

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -1,46 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="200mm"
height="200mm"
viewBox="0 0 200 200"
version="1.1"
id="svg1"
sodipodi:docname="drawing.svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
/>
<g fill="#ff00ff">
<path
style="fill:none;stroke:#424242;stroke-width:12"
d="
M 185,10
H 150
L 60,100
L 40,80
L 25,95
L 50,120
L 20,150
L 45,175
L 75,145
L 100,170
L 115,155
L 95,135
L 185,45
Z
"
sodipodi:nodetypes="cccccccccsccsc" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#424242" d="m7 15-.53.53.586.586.524-.641zm9-11-.147-.735a.75.75 0 0 0-.434.26zm5-1 .735.147a.75.75 0 0 0-.882-.882zm-1 5 .475.58a.75.75 0 0 0 .26-.433zM9 17l-.475-.58-.641.524.586.586zm1.5 1.5-.53.53zM7 19l.53-.53-.53-.53-.53.53zm-2.5 2.5-.53.53a.75.75 0 0 0 1.06 0zm-2-2-.53-.53a.75.75 0 0 0 0 1.06zM5 17l.53.53.53-.53-.53-.53zm-1.5-1.5.53-.53zm2-2-.53.53zM7 15l.58.475 9-11L16 4l-.58-.475-9 11zm9-11 .147.735 5-1L21 3l-.147-.735-5 1zm5-1-.735-.147-1 5L20 8l.735.147 1-5zm-1 5-.475-.58-11 9L9 17l.475.58 11-9zM9 17l-.53.53 1.5 1.5.53-.53.53-.53-1.5-1.5zm1.5 1.5-.53.53c.251.252.311.473.311.626 0 .163-.068.32-.186.439a.62.62 0 0 1-.439.186c-.153 0-.374-.06-.626-.311l-.53.53-.53.53c.498.499 1.09.751 1.686.751a2.12 2.12 0 0 0 1.5-.626 2.12 2.12 0 0 0 .625-1.499c0-.597-.252-1.188-.75-1.686zm-2 2 .53-.53-1.5-1.5L7 19l-.53.53 1.5 1.5zM7 19l-.53-.53-2.5 2.5.53.53.53.53 2.5-2.5zm-2.5 2.5.53-.53-2-2-.53.53-.53.53 2 2zm-2-2 .53.53 2.5-2.5L5 17l-.53-.53-2.5 2.5zM5 17l.53-.53-1.5-1.5-.53.53-.53.53 1.5 1.5zm-1.5-1.5.53-.53c-.251-.252-.311-.473-.311-.626 0-.163.068-.32.186-.439a.62.62 0 0 1 .439-.186c.153 0 .374.06.626.311l.53-.53.53-.53c-.498-.499-1.09-.751-1.686-.751a2.12 2.12 0 0 0-1.5.626 2.12 2.12 0 0 0-.625 1.499c0 .597.252 1.188.75 1.686zm2-2-.53.53 1.5 1.5L7 15l.53-.53-1.5-1.5z"/></svg>

Before

Width:  |  Height:  |  Size: 853 B

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -1,46 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="200mm"
height="200mm"
viewBox="0 0 200 200"
version="1.1"
id="svg1"
sodipodi:docname="drawing.svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
/>
<g fill="#ff00ff">
<path
style="fill:#00ff00;stroke:#424242;stroke-width:12"
d="
M 185,10
H 150
L 60,100
L 40,80
L 25,95
L 50,120
L 20,150
L 45,175
L 75,145
L 100,170
L 115,155
L 95,135
L 185,45
Z
"
sodipodi:nodetypes="cccccccccsccsc" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#4cff01" d="M16 4 7 15l-1.5-1.5c-1.5-1.5-3.5.5-2 2L5 17l-2.5 2.5 2 2L7 19l1.5 1.5c1.5 1.5 3.5-.5 2-2L9 17l11-9 1-5z"/><path fill="#000" d="m7 15-.53.53.586.586.524-.641zm9-11-.147-.735a.75.75 0 0 0-.434.26zm5-1 .735.147a.75.75 0 0 0-.882-.882zm-1 5 .475.58a.75.75 0 0 0 .26-.433zM9 17l-.475-.58-.641.524.586.586zm1.5 1.5-.53.53zM7 19l.53-.53-.53-.53-.53.53zm-2.5 2.5-.53.53a.75.75 0 0 0 1.06 0zm-2-2-.53-.53a.75.75 0 0 0 0 1.06zM5 17l.53.53.53-.53-.53-.53zm-1.5-1.5.53-.53zm2-2-.53.53zM7 15l.58.475 9-11L16 4l-.58-.475-9 11zm9-11 .147.735 5-1L21 3l-.147-.735-5 1zm5-1-.735-.147-1 5L20 8l.735.147 1-5zm-1 5-.475-.58-11 9L9 17l.475.58 11-9zM9 17l-.53.53 1.5 1.5.53-.53.53-.53-1.5-1.5zm1.5 1.5-.53.53c.251.252.311.473.311.626 0 .163-.068.32-.186.439a.62.62 0 0 1-.439.186c-.153 0-.374-.06-.626-.311l-.53.53-.53.53c.498.499 1.09.751 1.686.751a2.12 2.12 0 0 0 1.5-.626 2.12 2.12 0 0 0 .625-1.499c0-.597-.252-1.188-.75-1.686zm-2 2 .53-.53-1.5-1.5L7 19l-.53.53 1.5 1.5zM7 19l-.53-.53-2.5 2.5.53.53.53.53 2.5-2.5zm-2.5 2.5.53-.53-2-2-.53.53-.53.53 2 2zm-2-2 .53.53 2.5-2.5L5 17l-.53-.53-2.5 2.5zM5 17l.53-.53-1.5-1.5-.53.53-.53.53 1.5 1.5zm-1.5-1.5.53-.53c-.251-.252-.311-.473-.311-.626 0-.163.068-.32.186-.439a.62.62 0 0 1 .439-.186c.153 0 .374.06.626.311l.53-.53.53-.53c-.498-.499-1.09-.751-1.686-.751a2.12 2.12 0 0 0-1.5.626 2.12 2.12 0 0 0-.625 1.499c0 .597.252 1.188.75 1.686zm2-2-.53.53 1.5 1.5L7 15l.53-.53-1.5-1.5z"/></svg>

Before

Width:  |  Height:  |  Size: 856 B

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,46 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="200mm"
height="200mm"
viewBox="0 0 200 200"
version="1.1"
id="svg1"
sodipodi:docname="drawing.svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
/>
<g fill="#ff00ff">
<path
style="fill:#00ff00;stroke:#424242;stroke-width:12"
d="
M 185,10
H 150
L 60,100
L 40,80
L 25,95
L 50,120
L 20,150
L 45,175
L 75,145
L 100,170
L 115,155
L 95,135
L 185,45
Z
"
sodipodi:nodetypes="cccccccccsccsc" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#4cff01" d="M16 4 7 15l-1.5-1.5c-1.5-1.5-3.5.5-2 2L5 17l-2.5 2.5 2 2L7 19l1.5 1.5c1.5 1.5 3.5-.5 2-2L9 17l11-9 1-5z"/><path fill="#353535" d="m7 15-.53.53.586.586.524-.641zm9-11-.147-.735a.75.75 0 0 0-.434.26zm5-1 .735.147a.75.75 0 0 0-.882-.882zm-1 5 .475.58a.75.75 0 0 0 .26-.433zM9 17l-.475-.58-.641.524.586.586zm1.5 1.5-.53.53zM7 19l.53-.53-.53-.53-.53.53zm-2.5 2.5-.53.53a.75.75 0 0 0 1.06 0zm-2-2-.53-.53a.75.75 0 0 0 0 1.06zM5 17l.53.53.53-.53-.53-.53zm-1.5-1.5.53-.53zm2-2-.53.53zM7 15l.58.475 9-11L16 4l-.58-.475-9 11zm9-11 .147.735 5-1L21 3l-.147-.735-5 1zm5-1-.735-.147-1 5L20 8l.735.147 1-5zm-1 5-.475-.58-11 9L9 17l.475.58 11-9zM9 17l-.53.53 1.5 1.5.53-.53.53-.53-1.5-1.5zm1.5 1.5-.53.53c.251.252.311.473.311.626 0 .163-.068.32-.186.439a.62.62 0 0 1-.439.186c-.153 0-.374-.06-.626-.311l-.53.53-.53.53c.498.499 1.09.751 1.686.751a2.12 2.12 0 0 0 1.5-.626 2.12 2.12 0 0 0 .625-1.499c0-.597-.252-1.188-.75-1.686zm-2 2 .53-.53-1.5-1.5L7 19l-.53.53 1.5 1.5zM7 19l-.53-.53-2.5 2.5.53.53.53.53 2.5-2.5zm-2.5 2.5.53-.53-2-2-.53.53-.53.53 2 2zm-2-2 .53.53 2.5-2.5L5 17l-.53-.53-2.5 2.5zM5 17l.53-.53-1.5-1.5-.53.53-.53.53 1.5 1.5zm-1.5-1.5.53-.53c-.251-.252-.311-.473-.311-.626 0-.163.068-.32.186-.439a.62.62 0 0 1 .439-.186c.153 0 .374.06.626.311l.53-.53.53-.53c-.498-.499-1.09-.751-1.686-.751a2.12 2.12 0 0 0-1.5.626 2.12 2.12 0 0 0-.625 1.499c0 .597.252 1.188.75 1.686zm2-2-.53.53 1.5 1.5L7 15l.53-.53-1.5-1.5z"/></svg>

Before

Width:  |  Height:  |  Size: 856 B

After

Width:  |  Height:  |  Size: 1.5 KiB