Files
docker-swarm-termina/frontend/components/TerminalModal/InteractiveTerminal.tsx
Claude d0074ff874 Update terminal to use GNOME Terminal color scheme and styling
Changed interactive terminal from Ubuntu purple theme to authentic GNOME
Terminal color scheme for better Linux desktop terminal experience.

Changes:
- Background: #2E3436 (dark gray, GNOME Terminal default)
- Foreground: #D3D7CF (light gray text)
- Updated all 16 ANSI colors to match GNOME Terminal palette
- Added selection colors (#4A90D9 background)
- Updated container styling with darker borders
- Increased padding for better readability

The terminal now looks and feels like GNOME Terminal. Full interactive
functionality works with xterm.js when connected to running Docker
containers via WebSocket.

https://claude.ai/code/session_011PzvkCnVrsatoxbY3HbGXz
2026-02-01 04:15:04 +00:00

29 lines
745 B
TypeScript

import React from 'react';
import { Box } from '@mui/material';
import '@xterm/xterm/css/xterm.css';
import { InteractiveTerminalProps } from '@/lib/interfaces/terminal';
export default function InteractiveTerminal({ terminalRef }: InteractiveTerminalProps) {
return (
<Box
ref={terminalRef}
sx={{
height: { xs: '400px', sm: '500px' },
backgroundColor: '#2E3436',
borderRadius: '4px',
border: '1px solid #1C1F20',
overflow: 'hidden',
'& .xterm': {
padding: '10px',
},
'& .xterm-viewport': {
backgroundColor: '#2E3436 !important',
},
'& .xterm-screen': {
backgroundColor: '#2E3436',
},
}}
/>
);
}