feat: colorize the ui based on the app color

This commit is contained in:
2025-12-28 23:54:23 +01:00
parent dc317d53e5
commit d5ac5e6e4e
20 changed files with 194 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
const CENTER_X = 63;
const CENTER_Y = 95;
const app = useAppStore();
const store = useHomeStore();
const { assets } = useAssets();
@@ -86,7 +87,7 @@ useRender((ctx) => {
23,
2,
);
renderHand(now.getSeconds() / 60, "#49db8a", 35, 2);
renderHand(now.getSeconds() / 60, app.color.hex, 35, 2);
ctx.fillStyle = "#494949";
ctx.fillRect(CENTER_X - 2, CENTER_Y - 2, 5, 5);