Skip to content

Commit 7cc8bce

Browse files
committed
style(PopupViews): 调整深色主题样式细节
- 修复了深色主题背景色重复定义问题,合并样式代码块 - 修改余额值颜色为 #eb7d13 提升视觉效果 - 移除无用的 flex: 1 属性,优化布局表现 - 设置 .ldc-container 相关元素在深色主题下的背景和字体颜色 - 统一进度条背景颜色,增强界面一致性
1 parent 8e94e54 commit 7cc8bce

1 file changed

Lines changed: 22 additions & 6 deletions

File tree

entrypoints/PopupViews/style.less

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,6 @@ a {
240240
margin-top: 4px;
241241
}
242242

243-
body[arco-theme='dark'] {
244-
background: #4C5767;
245-
}
246-
247243
/* LDC style*/
248244
.ldc-container {
249245

@@ -295,7 +291,7 @@ body[arco-theme='dark'] {
295291
.balance-value {
296292
font-size: 16px;
297293
font-weight: 600;
298-
color: #165dff;
294+
color: #eb7d13;
299295
}
300296
}
301297

@@ -313,7 +309,6 @@ body[arco-theme='dark'] {
313309
}
314310

315311
.bar-wrapper {
316-
flex: 1;
317312
height: 8px;
318313
background-color: #eee;
319314
border-radius: 10px;
@@ -357,4 +352,25 @@ body[arco-theme='dark'] {
357352
padding: 20px;
358353
font-size: 14px;
359354
}
355+
}
356+
357+
body[arco-theme='dark'] {
358+
background: #4C5767;
359+
360+
.ldc-container .ldc-box {
361+
background: #303b4b;
362+
}
363+
364+
.ldc-container .ldc-header .ldc-title {
365+
color: #fff;
366+
}
367+
368+
.ldc-container .bar-label,
369+
.ldc-container .ldc-balance .balance-label {
370+
color: #ccc;
371+
}
372+
373+
.ldc-container .bar-wrapper {
374+
background-color: #445267;
375+
}
360376
}

0 commit comments

Comments
 (0)