new themes

This commit is contained in:
Mateusz Gruszczyński
2026-05-22 08:56:27 +02:00
parent c62640ba99
commit 4956322677
5 changed files with 148 additions and 58 deletions

View File

@@ -7,6 +7,8 @@
--mobile-filterbar-height: 132px;
--sidebar: calc(270px * var(--ui-scale));
--torrent-progress-complete: #198754;
--pytorrent-page-bg: var(--bs-body-bg);
--pytorrent-shell-shadow: 0 12px 45px rgba(0, 0, 0, 0.38);
}
[data-bs-theme="dark"] {
--bs-body-bg: #05070a;
@@ -20,6 +22,7 @@
--bs-primary-bg-subtle: #0d2238;
--bs-primary-text-emphasis: #9ecbff;
--torrent-progress-complete: #2f9e75;
--pytorrent-page-bg: var(--bs-body-bg);
}
html[data-app-font="adwaita-mono"] {
@@ -109,7 +112,7 @@ body {
min-height: 100vh;
min-height: 100dvh;
padding: calc(8px * var(--ui-scale));
background: #05070a;
background: var(--pytorrent-page-bg, var(--bs-body-bg));
font-family: var(--app-font-family);
}
.app-shell {
@@ -121,7 +124,7 @@ body {
border: 1px solid var(--bs-border-color);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 12px 45px rgba(0, 0, 0, 0.38);
box-shadow: var(--pytorrent-shell-shadow, 0 12px 45px rgba(0, 0, 0, 0.38));
}
.topbar {
display: flex;