diff --git a/.gitignore b/.gitignore
index a56dfa5..93f61c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -58,14 +58,14 @@ Thumbs.db
*.temp
.cache/
-# Frontend specific
+# Frontend specific (React + Vite)
frontend/dist/
frontend/node_modules/
frontend/.env
frontend/.env.local
frontend/.env.*.local
-# Backend specific
+# Backend specific (NestJS)
backend/dist/
backend/node_modules/
backend/.env
@@ -73,7 +73,7 @@ backend/.env.local
backend/.env.*.local
backend/test-game-server.js
-# Package manager files
+# Package manager lock files
package-lock.json
yarn.lock
pnpm-lock.yaml
diff --git a/frontend/src/components/PlayerLayout.tsx b/frontend/src/components/PlayerLayout.tsx
index e157099..3155a3d 100644
--- a/frontend/src/components/PlayerLayout.tsx
+++ b/frontend/src/components/PlayerLayout.tsx
@@ -1,4 +1,4 @@
-import { Layout, Menu, Button, Dropdown } from 'antd';
+import { Layout, Menu, Button, Dropdown, theme } from 'antd';
import {
HomeOutlined,
UserOutlined,
@@ -12,6 +12,9 @@ import { playerAuthService } from '../services/playerAuthService';
const { Header, Content, Footer } = Layout;
const PlayerLayout = () => {
+ const {
+ token: { colorBgContainer, colorBgLayout },
+ } = theme.useToken();
const navigate = useNavigate();
const location = useLocation();
@@ -55,7 +58,7 @@ const PlayerLayout = () => {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
- background: '#001529',
+ background: colorBgLayout,
padding: '0 24px',
}}
>
@@ -93,7 +96,7 @@ const PlayerLayout = () => {
style={{
padding: '24px 50px',
minHeight: 'calc(100vh - 128px)',
- background: '#f0f2f5',
+ background: colorBgContainer,
}}
>
@@ -103,7 +106,7 @@ const PlayerLayout = () => {