added support for dark mode
Build and Push Docker Image / build-and-push (pull_request) Successful in 1m5s
Python Code Quality / python-code-quality (pull_request) Successful in 11s
Python Test / python-test (pull_request) Successful in 18s

This commit is contained in:
Brian Bjarke Jensen
2026-01-24 23:04:44 +01:00
parent d9948d271f
commit b7d80e7f26
17 changed files with 1002 additions and 265 deletions
+13 -5
View File
@@ -4,6 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Baby Monitor</title>
<link rel="stylesheet" href="/dark-mode.css" />
<script src="/theme-init.js"></script>
<style>
body {
font-family: Arial, sans-serif;
@@ -12,27 +14,33 @@
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
background-color: var(--bg-primary);
}
.login-container {
background: white;
background: var(--bg-secondary);
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
box-shadow: var(--shadow-md);
width: 300px;
}
h1 {
text-align: center;
color: #333;
color: var(--text-primary);
margin-bottom: 1.5rem;
}
input {
width: 100%;
padding: 0.75rem;
margin-bottom: 1rem;
border: 1px solid #ddd;
border: 1px solid var(--border-color);
border-radius: 4px;
box-sizing: border-box;
background-color: var(--input-bg);
color: var(--input-text);
}
input:focus {
outline: none;
border-color: var(--input-focus-border);
}
button {
width: 100%;