diff --git a/.gitignore b/.gitignore index dc7aaaf..e2c911b 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ dist/ # Textdateien mit Tokens/Keys (Sicherheitsnetz) *.txt +!public/robots.txt diff --git a/public/pages/login.js b/public/pages/login.js index 31899c2..35602fc 100644 --- a/public/pages/login.js +++ b/public/pages/login.js @@ -12,7 +12,7 @@ import { auth } from '/api.js'; */ export async function render(container) { container.innerHTML = ` -
+
-
+ `; const form = container.querySelector('#login-form'); diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..c68da96 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,5 @@ +# Oikos Familienplaner — self-hosted, private +# Keine öffentlichen Inhalte zum Indexieren + +User-agent: * +Disallow: / diff --git a/public/styles/layout.css b/public/styles/layout.css index 795af74..43b43fc 100644 --- a/public/styles/layout.css +++ b/public/styles/layout.css @@ -231,12 +231,12 @@ } .btn--primary { - background-color: var(--color-accent); + background-color: var(--color-btn-primary); color: #ffffff; } .btn--primary:hover { - background-color: var(--color-accent-hover); + background-color: var(--color-btn-primary-hover); } .btn--secondary { diff --git a/public/styles/tokens.css b/public/styles/tokens.css index 828fb20..00701a7 100644 --- a/public/styles/tokens.css +++ b/public/styles/tokens.css @@ -13,7 +13,7 @@ --color-surface-2: #F0F0F5; --color-border: #E5E5EA; --color-text-primary: #1C1C1E; - --color-text-secondary: #8E8E93; + --color-text-secondary: #6C6C70; /* WCAG AA: ~5.2:1 auf weißem Hintergrund */ --color-text-disabled: #C7C7CC; /* -------------------------------------------------------- @@ -22,6 +22,8 @@ --color-accent: #007AFF; --color-accent-hover: #0056CC; --color-accent-light: #E3F2FF; + --color-btn-primary: #0066DB; /* WCAG AA: ~5.0:1 auf weiß (Buttons mit weißem Text) */ + --color-btn-primary-hover: #0056CC; /* -------------------------------------------------------- * Farben — Semantisch @@ -133,7 +135,7 @@ --color-surface-2: #3A3A3C; --color-border: #3A3A3C; --color-text-primary: #F5F5F7; - --color-text-secondary: #8E8E93; + --color-text-secondary: #AEAEB2; /* WCAG AA: ~4.6:1 auf #2C2C2E */ --color-text-disabled: #48484A; --color-accent-light: #1A3A5C;