fix: remove blue flash on page load by using black as default background

This commit is contained in:
2026-03-21 20:50:24 +08:00
parent cca6c28940
commit bb56998614
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/css/xterm.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/css/xterm.css">
<link rel="stylesheet" href="styles.css"> <link rel="stylesheet" href="styles.css">
</head> </head>
<body> <body style="background: #000000;">
<div id="terminal-container"> <div id="terminal-container">
<div class="terminal-header"> <div class="terminal-header">
<div class="terminal-title">XCTerminal</div> <div class="terminal-title">XCTerminal</div>

View File

@@ -5,7 +5,7 @@
} }
:root { :root {
--bg-primary: #1a1a2e; --bg-primary: #000000;
--bg-secondary: #16213e; --bg-secondary: #16213e;
--bg-tertiary: #0f3460; --bg-tertiary: #0f3460;
--text-primary: #eee8d5; --text-primary: #eee8d5;