slint/internal/compiler/widgets/cosmic/_clock.svg
Olivier Goffart 686f5e43e2 Widget style: simplify -light/-dark handling
Instead of having all style duplicated and re-using a base, we just hack
into the funciton that queries the dark/light theme based on the style
suffix known at compile time.

This removes one of the problem that happens when trying to work on the
widget style with the extension, as it relies on include path hacks
2024-08-20 16:55:15 +02:00

12 lines
800 B
XML

<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1527_4612)">
<path d="M0 16H16V0H0V16Z" fill="#808080" fill-opacity="0.01"/>
<path d="M4.96997 0V1H3.96997C2.32497 1 0.969971 2.355 0.969971 4V12C0.969971 13.645 2.32497 15 3.96997 15H4.96997V16H10.97V15H11.97C13.615 15 14.97 13.645 14.97 12V4C14.97 2.355 13.615 1 11.97 1H10.97V0H4.96997ZM3.96997 3H11.97C12.541 3 12.97 3.429 12.97 4V12C12.97 12.571 12.541 13 11.97 13H3.96997C3.39897 13 2.96997 12.571 2.96997 12V4C2.96997 3.429 3.39897 3 3.96997 3Z" fill="#232323"/>
<path d="M5.96997 4V8.578L10.47 11.176L11.47 9.443L7.96997 7.422V4H5.96997Z" fill="#232323"/>
</g>
<defs>
<clipPath id="clip0_1527_4612">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>