diff --git a/themes/Ying/assets/css/main.css b/themes/Ying/assets/css/main.css index 0b43384d..1df0554e 100644 --- a/themes/Ying/assets/css/main.css +++ b/themes/Ying/assets/css/main.css @@ -42,7 +42,6 @@ [data-theme="dark"] body { color: var(--text-content-dark-color); background-color: var(--background-dark-color); - background-image: none; } [data-theme="dark"] .main { @@ -4936,3 +4935,22 @@ html[data-theme="light"] .atk-loading-spinner svg circle { } } + + +/* Dark Mode Background Mask */ +body { + position: relative; +} + +[data-theme='dark'] body::before { + content: ''; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.4); + z-index: -1; + pointer-events: none; + transition: background 0.3s ease; +}