feat: add theme, complete footer

This commit is contained in:
2026-05-08 04:38:56 +05:00
parent f425145e81
commit eb944e8892
12 changed files with 208 additions and 57 deletions
+19
View File
@@ -0,0 +1,19 @@
export component IconButton inherits Rectangle {
callback clicked <=> touch.clicked;
in property <image> icon;
property <color> icon_color: touch.has-hover ? #ffffff : #94a3b8;
height: 24px;
width: 24px;
background: transparent;
touch := TouchArea {
mouse-cursor: pointer;
}
Image {
source: icon;
colorize: icon_color;
width: 24px;
height: 24px;
}
}