Skip to content

Commit c80becb

Browse files
WingedDragonUbuntu
andauthored
feat(web): clock panel polish (#71)
- Larger clock text (10px, green glow) - Dark panel background with rounded corners - Better contrast for time visibility Co-authored-by: Ubuntu <ubuntu@localhost.localdomain>
1 parent 0bd5bc9 commit c80becb

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

packages/web/src/pixel/SceneDecorations.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,15 @@ export class SceneDecorations {
454454
// Build dynamic whiteboard content
455455
this.buildWhiteboard();
456456

457-
// Clock display (top-right corner)
457+
// Clock display (top-right corner with panel)
458+
const clockPanel = new Graphics();
459+
clockPanel.roundRect(SCENE_W - 85, 5, 80, 20, 3);
460+
clockPanel.fill({ color: 0x1a1a2e, alpha: 0.8 });
461+
this.container.addChild(clockPanel);
462+
458463
this.clockText = new Text({
459464
text: '',
460-
style: new TextStyle({ fontFamily: 'monospace', fontSize: 5, fill: 0xaaaaaa }),
465+
style: new TextStyle({ fontFamily: 'monospace', fontSize: 10, fill: 0x88ffaa, fontWeight: 'bold' }),
461466
});
462467
this.clockText.anchor.set(1, 0);
463468
this.clockText.position.set(SCENE_W - 10, 10);

0 commit comments

Comments
 (0)