统一项目分析弹窗圆角样式

This commit is contained in:
wkc
2026-05-06 17:03:55 +08:00
parent bf7a4c0538
commit bbc6a2050b
7 changed files with 230 additions and 166 deletions

View File

@@ -34,9 +34,9 @@ const mockSource = fs.readFileSync(
"detailLoading",
"detailError",
"handleRetryDetail()",
"border: 1px solid #dde3ec",
"background: #f5f6f8",
"font-size: 30px",
"background: #f5f7fb",
"border: 1px solid #dbe4ef",
"border-radius: 8px",
].forEach((token) => assert(dialog.includes(token), token));
[
@@ -44,8 +44,9 @@ const mockSource = fs.readFileSync(
'top="2vh"',
"project-analysis-header__main",
"project-analysis-header__meta",
"border-left: 1px solid #dde3ec",
"padding: 36px",
"project-analysis-layout__main",
"flex: 0 0 320px",
"border-radius: 6px",
].forEach((token) => assert(dialog.includes(token), token));
[
@@ -56,7 +57,8 @@ const mockSource = fs.readFileSync(
"overflow-y: auto",
"max-height: calc(90vh - 120px)",
"border-radius: 24px",
"background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)",
"border-radius: 20px",
"letter-spacing: 0.08em",
].forEach((token) => assert(!dialog.includes(token), token));
[