fix(ui): 批量替换所有组件中残留的硬编码深色值以彻底支持浅色主题
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Canceled after 0s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Canceled after 1m27s

This commit is contained in:
2026-09-12 15:56:10 +08:00
parent 8b0934f6f4
commit 9fc5e3e607
42 changed files with 6081 additions and 300 deletions
+29 -29
View File
@@ -1691,14 +1691,14 @@ const vRipple = {
border-radius: 12px;
padding: 12px 16px 12px 42px;
font-size: 14px;
color: #fff;
color: var(--text-primary, #ffffff);
width: 100%;
transition: all 0.2s ease;
}
.mobile-search-input:focus {
background: rgba(255, 255, 255, 0.08);
border-color: #3b82f6;
border-color: var(--border-secondary, #3b82f6);
outline: none;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
@@ -1785,7 +1785,7 @@ const vRipple = {
}
.tab-button.active {
color: #ffffff;
color: var(--text-primary, #ffffff);
border-bottom-color: #0b5afe;
transform: none;
box-shadow: none;
@@ -1834,7 +1834,7 @@ const vRipple = {
justify-content: center;
width: 36px;
height: 36px;
background: #21242d;
background: var(--bg-tertiary, #21242d);
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 8px;
cursor: pointer;
@@ -1845,7 +1845,7 @@ const vRipple = {
}
.semester-toggle-btn:hover {
background: #2a2e38;
background: var(--bg-tertiary, #2a2e38);
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
color: #0b5afe;
@@ -1855,7 +1855,7 @@ const vRipple = {
position: absolute;
top: calc(100% + 8px);
right: 0;
background: #1a1d24;
background: var(--bg-secondary, #1a1d24);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
@@ -1879,7 +1879,7 @@ const vRipple = {
.semester-option:hover {
background: rgba(11, 90, 254, 0.1);
color: #ffffff;
color: var(--text-primary, #ffffff);
}
.semester-option.active {
@@ -1925,7 +1925,7 @@ const vRipple = {
justify-content: center;
width: 36px;
height: 36px;
background: #21242d;
background: var(--bg-tertiary, #21242d);
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 8px;
cursor: pointer;
@@ -1934,7 +1934,7 @@ const vRipple = {
}
.refresh-button:hover {
background: #2a2e38;
background: var(--bg-tertiary, #2a2e38);
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
@@ -2028,7 +2028,7 @@ const vRipple = {
.song-card-main {
padding: 1rem 0 1rem 1rem; /* 移除右侧内边距,保留左侧、上下内边距 */
background: #21242d;
background: var(--bg-tertiary, #21242d);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
position: relative;
height: 100px; /* 减小卡片高度 */
@@ -2076,8 +2076,8 @@ const vRipple = {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #0043f8 0%, #0075f8 100%);
color: #ffffff;
background: linear-gradient(135deg, var(--bg-secondary, #0043f8) 0%, #0075f8 100%);
color: var(--text-primary, #ffffff);
font-size: 28px;
font-weight: bold;
font-family: 'MiSans-Demibold', sans-serif;
@@ -2139,7 +2139,7 @@ const vRipple = {
font-weight: 600;
font-size: 16px;
letter-spacing: 0.04em;
color: #ffffff;
color: var(--text-primary, #ffffff);
margin-bottom: 0.5rem;
width: 100%; /* 确保标题占满整个容器宽度 */
display: flex;
@@ -2215,7 +2215,7 @@ const vRipple = {
font-family: 'MiSans-Demibold', sans-serif;
font-weight: 600;
font-size: 12px;
color: #ffffff;
color: var(--text-primary, #ffffff);
opacity: 0.4;
}
@@ -2231,7 +2231,7 @@ const vRipple = {
justify-content: center;
width: 48px;
height: 45px;
background: linear-gradient(180deg, #0043f8 0%, #0075f8 100%);
background: linear-gradient(180deg, var(--bg-secondary, #0043f8) 0%, #0075f8 100%);
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 8px;
cursor: pointer;
@@ -2239,8 +2239,8 @@ const vRipple = {
}
.like-button.liked {
background: #1a1d24;
border-color: #242f38;
background: var(--bg-secondary, #1a1d24);
border-color: var(--border-secondary, #242f38);
background-image: none;
}
@@ -2329,7 +2329,7 @@ const vRipple = {
display: flex;
align-items: center;
justify-content: space-between;
background: #21242d;
background: var(--bg-tertiary, #21242d);
border-radius: 0 0 10px 10px;
padding: 0.5rem 1rem;
width: 95%;
@@ -2355,7 +2355,7 @@ const vRipple = {
font-family: 'MiSans-Demibold', sans-serif;
font-weight: 600;
font-size: 12px;
color: #ffffff;
color: var(--text-primary, #ffffff);
cursor: pointer;
transition: all 0.3s ease;
height: 27px;
@@ -2368,12 +2368,12 @@ const vRipple = {
}
.replay-cancel-btn {
background: linear-gradient(180deg, #0b5afe 0%, #3d7fff 100%);
background: linear-gradient(180deg, var(--bg-secondary, #0b5afe) 0%, #3d7fff 100%);
min-width: 75px;
}
.replay-request-btn {
background: linear-gradient(180deg, #0b5afe 0%, #3d7fff 100%);
background: linear-gradient(180deg, var(--bg-secondary, #0b5afe) 0%, #3d7fff 100%);
min-width: 75px;
}
@@ -2408,13 +2408,13 @@ button:disabled {
border-radius: 4px;
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
color: #ffffff;
color: var(--text-primary, #ffffff);
cursor: pointer;
transition: all 0.2s ease;
}
.page-number.active {
background: #0b5afe;
background: var(--bg-secondary, #0b5afe);
border-color: #0b5afe;
}
@@ -2444,7 +2444,7 @@ button:disabled {
border-radius: 4px;
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
color: #ffffff;
color: var(--text-primary, #ffffff);
width: 60px;
text-align: center;
transition: all 0.2s ease;
@@ -2467,7 +2467,7 @@ button:disabled {
border-radius: 4px;
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
color: #ffffff;
color: var(--text-primary, #ffffff);
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
@@ -2705,7 +2705,7 @@ button:disabled {
font-weight: 700;
margin-bottom: 4px;
line-height: 1.2;
color: #ffffff;
color: var(--text-primary, #ffffff);
letter-spacing: 0.01em;
}
@@ -2930,7 +2930,7 @@ button:disabled {
border-radius: 12px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #fff;
color: var(--text-primary, #ffffff);
display: flex;
align-items: center;
justify-content: center;
@@ -2964,7 +2964,7 @@ button:disabled {
width: 40px;
background: transparent;
border: none;
color: #fff;
color: var(--text-primary, #ffffff);
text-align: center;
font-size: 14px;
font-weight: 600;
@@ -2991,7 +2991,7 @@ button:disabled {
.page-nav-btn:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.1);
border-color: #3b82f6;
border-color: var(--border-secondary, #3b82f6);
}
.page-nav-btn:disabled {