Styled power menu

This commit is contained in:
Jas Singh
2024-06-09 22:28:07 -07:00
parent d695d9aa67
commit 608137a604
12 changed files with 166 additions and 70 deletions

View File

@@ -2,8 +2,7 @@ export const Power = () => {
return {
component: Widget.Box({
child: Widget.Button({
class_name: "powermenu",
on_clicked: () => App.toggleWindow("powermenu"),
class_name: "bar-powermenu",
child: Widget.Label({
class_name: "bar-power_label",
label: "⏻",
@@ -11,5 +10,8 @@ export const Power = () => {
}),
}),
isVisible: true,
props: {
on_clicked: () => App.toggleWindow("powermenu"),
},
};
};