feat: colorize the ui based on the app color
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user