fix: 适配夜间模式

This commit is contained in:
tim
2025-08-31 10:55:40 +08:00
parent 803ca9e103
commit ca6e45a711
2 changed files with 3 additions and 1 deletions

View File

@@ -34,6 +34,7 @@
--page-max-width-mobile: 900px;
--article-info-background-color: #f0f0f0;
--activity-card-background-color: #fafafa;
--poll-option-button-background-color: rgb(218, 218, 218);
}
[data-theme='dark'] {
@@ -61,6 +62,7 @@
--blockquote-text-color: #999;
--article-info-background-color: #747373;
--activity-card-background-color: #585858;
--poll-option-button-background-color: #3a3a3a;
}
:root[data-frosted='off'] {

View File

@@ -1291,7 +1291,7 @@ onMounted(async () => {
color: var(--text-color);
padding: 5px 10px;
border-radius: 8px;
background-color: rgb(218, 218, 218);
background-color: var(--poll-option-button-background-color);
cursor: pointer;
width: fit-content;
}