styledimage
This commit is contained in:
parent
2bfa0c189a
commit
d58144a853
1 changed files with 17 additions and 0 deletions
17
components/StyledImage.qml
Normal file
17
components/StyledImage.qml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
import qs.config
|
||||||
|
import QtQuick
|
||||||
|
import Quickshell.Widgets
|
||||||
|
|
||||||
|
Image {
|
||||||
|
|
||||||
|
property alias radius: rectangle.radius
|
||||||
|
property alias skeletonColor: rectangle.color
|
||||||
|
|
||||||
|
ClippingRectangle {
|
||||||
|
id: rectangle
|
||||||
|
|
||||||
|
color: Styling.theme.base200
|
||||||
|
|
||||||
|
anchors.fill: parent
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue