support dark mode

This commit is contained in:
Timi
2025-12-05 12:40:19 +08:00
parent 99eb470625
commit b33ce05d52
39 changed files with 317 additions and 111 deletions

View File

@ -36,7 +36,7 @@
}
.text {
color: #777;
color: var(--theme-text-secondary);
display: flex;
font-size: .8rem;
justify-content: space-between;
@ -55,14 +55,14 @@
width: 100%;
display: block;
overflow: hidden;
background: #FFF;
background: var(--theme-bg-card);
break-inside: avoid;
margin-bottom: .25rem;
&.video {
height: auto;
position: relative;
&::after {
content: "";
top: 50%;
@ -72,7 +72,7 @@
position: absolute;
transform: translate(-50%, -50%);
border-top: 16px solid transparent;
border-left: 24px solid rgba(255, 255, 255, .9);
border-left: 24px solid var(--theme-video-play);
border-bottom: 16px solid transparent;
pointer-events: none;
}
@ -95,7 +95,7 @@
height: 16px;
z-index: 1;
position: absolute;
background: #FFF;
background: var(--theme-bg-card);
border-radius: 50%;
}
}
@ -131,7 +131,7 @@
}
&.confirm {
color: #07C160;
color: var(--theme-success);
}
}
}
@ -144,7 +144,7 @@
margin-top: 1.5rem;
.label {
color: #777;
color: var(--theme-text-secondary);
}
&.type {