mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
Scope: variables.css, search.css, todo/04-accessibility.md - variables.css: add @media (prefers-color-scheme: dark) block scoped to body:not(.admin-body); overrides all semantic tokens with dark equivalents: --bg-* (#111→#333 range), --text-* (#eee/aaa/777), --border-* (#333/#444), --accent-primary lightened to #b87fd4 (4.5:1 contrast on #111 background), --accent-secondary stays #9557b5, --accent-foreground flipped to #111111 for dark buttons, --accent-muted adjusted to rgba(184,127,212,0.15), status colours muted for dark (success #4db886, error #e05555, warning #d4a830); new --search-error-{bg,border,color} tokens added to :root (light: #fff0f0/#c00) and overridden in dark (#2a1515/#e05555) - search.css: replace three hardcoded hex values in .search-error rule with var(--search-error-bg/border/color) so dark mode applies cleanly - Admin pages are entirely unaffected: .admin-body body class is excluded from the dark-mode selector; system.css already has its own dark palette
TODO Index
Pending tasks split by topic. Completed tasks have been removed.
| File | Topic |
|---|---|
| 01-css-semantic-refactor.md | CSS class audit, semantic HTML for templates (public + admin), inline style extraction, favicon |
| 02-php-components.md | Form field partials, shared UI partials, controller extraction, backend maintenance |
| 03-system-cache.md | system_cache table, SystemCache class, system.php refactor |
| 04-accessibility.md | WCAG 2.1 AA — remaining failures grouped by success criterion |