feat:优化IC Coder页面展示

- 优化了字体颜色
- 优化了字体大小等
This commit is contained in:
Roe-xin
2026-01-15 15:54:04 +08:00
parent 5339212de9
commit 28d93c7e75
2 changed files with 9 additions and 6 deletions

View File

@ -103,7 +103,7 @@ export function getInputAreaStyles(): string {
/* 居中模式:未发起对话时 */
.input-area.centered {
position: absolute;
top: 55%;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
width: calc(100% - 40px);

View File

@ -73,7 +73,10 @@ export function getWebviewContent(
display: none;
}
.header h1 {
color: var(--vscode-button-background);
background: linear-gradient(to right, #4A9EFF, #7CB8FF, #A8D0FF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin: 0 0 8px 0;
}
.chat-container {
@ -396,11 +399,11 @@ export function getWebviewContent(
${getConversationHistoryBarContent()}
${getProgressBarContent()}
<div class="header">
<div style="display: flex; align-items: center; justify-content: center; gap: 10px;">
<img src="${iconUri}" alt="IC Coder" style="width: 28px; height: 28px;" />
<h1 style="margin: 0;">IC Coder</h1>
<div style="display: flex; align-items: center; justify-content: center; gap: 15px;">
<img src="${iconUri}" alt="IC Coder" style="width: 48px; height: 48px;" />
<h1 style="margin: 0; font-size: 36px;">IC Coder</h1>
</div>
<p>专注于真实FPGA研发的Verilog智能体编程平台</p>
<p style="font-size: 16px; margin-top: 12px;">专注于真实FPGA研发的Verilog智能体编程平台</p>
</div>
<div class="chat-container">