1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 12:34:19 +00:00

add common pallete for public side

This commit is contained in:
d47081 2023-11-08 09:01:27 +02:00
parent 72deeb58ff
commit fd1b63fca0
4 changed files with 27 additions and 2 deletions

View File

@ -32,7 +32,7 @@ body {
} }
#error_msg { #error_msg {
color: #f00; color: var(--color-text-red);
} }
#login { #login {

View File

@ -3,6 +3,6 @@
} }
#noscript { #noscript {
color: #f00; color: var(--color-text-red);
text-align: center; text-align: center;
} }

View File

@ -0,0 +1,24 @@
/* Adaptive color palette #19844 */
/* Default rules */
* {
--color-text-red: hsl(0deg 100% 65%);
}
:root {
color-scheme: light dark;
}
/* Light corrections */
@media (prefers-color-scheme: light) {
:root {
color-scheme: light;
}
}
/* Dark corrections */
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
}
}

View File

@ -6,6 +6,7 @@
<title>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</title> <title>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</title>
<link rel="icon" type="image/png" href="images/qbittorrent32.png" /> <link rel="icon" type="image/png" href="images/qbittorrent32.png" />
<link rel="icon" type="image/svg+xml" href="images/qbittorrent-tray.svg" /> <link rel="icon" type="image/svg+xml" href="images/qbittorrent-tray.svg" />
<link rel="stylesheet" type="text/css" href="css/palette.css?v=${CACHEID}" />
<link rel="stylesheet" type="text/css" href="css/login.css?v=${CACHEID}" /> <link rel="stylesheet" type="text/css" href="css/login.css?v=${CACHEID}" />
<noscript> <noscript>
<link rel="stylesheet" type="text/css" href="css/noscript.css?v=${CACHEID}" /> <link rel="stylesheet" type="text/css" href="css/noscript.css?v=${CACHEID}" />