Dark mdoe

This commit is contained in:
Max Nuding 2021-11-26 20:57:46 +01:00
parent 75d98dbf52
commit 916ff31029
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -7,7 +7,19 @@ use PhotoPrismUpload\API\PhotoPrism;
?> ?>
<html> <html>
<head> <head>
<meta name="color-scheme" content="dark light">
<style> <style>
::root {
background-color: white;
color: black;
color-scheme: light dark;
}
@media screen and (prefers-color-scheme: dark) {
:root {
background-color: rgb(54, 54, 54);
color: white;
}
}
.form-wrapper { .form-wrapper {
display: grid; display: grid;
grid-template-rows: auto auto auto; grid-template-rows: auto auto auto;