From 147b8cb43fa70dc92fe14cb1a387001c2c8e2413 Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Mon, 2 Feb 2026 08:49:30 +0000
Subject: [PATCH] Changes
---
src/index.css | 8 ++---
src/pages/AIChat.tsx | 3 ++
src/pages/Breakout.tsx | 25 +++++++++++--
src/pages/Pacman.tsx | 81 ++++++++++++++++++++++++++++++++++++++++--
src/pages/Snake.tsx | 22 ++++++++++--
src/pages/Tetris.tsx | 22 ++++++++++--
6 files changed, 147 insertions(+), 14 deletions(-)
diff --git a/src/index.css b/src/index.css
index a6cd5f6..d756323 100644
--- a/src/index.css
+++ b/src/index.css
@@ -40,8 +40,8 @@ html {
--primary: 120 100% 50%;
--primary-foreground: 0 0% 0%;
- --secondary: 120 100% 15%;
- --secondary-foreground: 120 100% 50%;
+ --secondary: 0 100% 50%;
+ --secondary-foreground: 0 0% 0%;
--muted: 120 20% 10%;
--muted-foreground: 120 30% 60%;
@@ -82,8 +82,8 @@ html {
--primary: 0 100% 50%;
--primary-foreground: 0 0% 0%;
- --secondary: 0 100% 15%;
- --secondary-foreground: 0 100% 50%;
+ --secondary: 120 100% 50%;
+ --secondary-foreground: 0 0% 0%;
--muted: 0 20% 10%;
--muted-foreground: 0 30% 60%;
diff --git a/src/pages/AIChat.tsx b/src/pages/AIChat.tsx
index 14f7aa1..b910acc 100644
--- a/src/pages/AIChat.tsx
+++ b/src/pages/AIChat.tsx
@@ -12,6 +12,7 @@ import GlitchText from '@/components/GlitchText';
import MessageContent from '@/components/MessageContent';
import { AI_PROVIDERS, AIProvider, getProvider, CUSTOM_API_STORAGE_KEY } from '@/lib/aiProviders';
import { useBrowserFullscreen } from '@/hooks/useGameDimensions';
+import MatrixCursor from '@/components/MatrixCursor';
import {
DropdownMenu,
DropdownMenuContent,
@@ -406,6 +407,8 @@ const AIChat = () => {
: 'flex flex-col h-full'
}
>
+ {/* Render cursor inside portal for fullscreen */}
+ {isFullscreen &&