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

@ -28,12 +28,13 @@ page {
display: block;
position: absolute;
animation: fall linear infinite;
&::before,
&::after {
content: '';
position: absolute;
background: rgba(255, 122, 155, .8);
background: var(--theme-brand-gao);
opacity: .8;
}
&::before {

View File

@ -36,8 +36,6 @@ Component({
docHeight: systemInfo.windowHeight,
timer: setInterval(() => {
this.createSnowflake();
console.log(this.data.snowflakes);
if (40 < this.data.snowflakes.length) {
if (this.data.timer) {
clearInterval(this.data.timer);