enable the `autoDarkTheme` option for the mobile quarantine and add
minimal styling to correct the look of the logo and the mail preview
rendering. this makes the quarantine behave like the "auto" theme of
the main gui, it will change it's theme depending on a media query.
Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
font-size: 32px;
}
}
+
+@media (prefers-color-scheme: dark) {
+ img.logo-navbar {
+ filter: invert(100%) hue-rotate(180deg);
+ }
+
+ .page-content > iframe {
+ background-color: var(--f7-color-white-shade);
+ }
+}
root: '#app',
init: false,
name: 'Proxmox Mail Gateway',
+ autoDarkTheme: true,
routes: [
{
path: '/:path/:subpath?',