feat: update style

This commit is contained in:
tux
2025-06-09 05:00:00 +05:30
parent 72f9c24482
commit 9f7a23809e
8 changed files with 42 additions and 61 deletions

View File

@@ -3,10 +3,10 @@ import { GLib, Variable } from "astal";
export const Time = () => {
const time = Variable("").poll(
1000,
() => GLib.DateTime.new_now_local().format("%I:%M:%S %p")!,
() => GLib.DateTime.new_now_local().format("%a %b %d - %I:%M:%S %p")!,
);
return (
<label cssClasses={["time"]} onDestroy={() => time.drop()} label={time()} />
<label cssClasses={["pill"]} onDestroy={() => time.drop()} label={time()} />
);
};