openCom-Companion/sbapp/kivymd/uix/selection/selection.kv
2022-07-07 22:16:10 +02:00

18 lines
379 B
Plaintext

<SelectionIconCheck>
theme_text_color: "Custom"
text_color: self.icon_check_color
canvas.before:
PushMatrix
Scale:
x: root.scale
y: root.scale
z: root.scale
origin: self.center
canvas.after:
PopMatrix
<SelectionItem>
md_bg_color: root.overlay_color if root.selected else (0, 0, 0, 0)