/**
 * servemd night-mode.css example
 * Copy to DOCS_ROOT and set CUSTOM_CSS=night-mode.css
 *
 * Dark theme using prefers-color-scheme (auto-switches with system)
 * For always-dark, remove the @media wrapper and use :root directly
 */

@media (prefers-color-scheme: dark) {
  :root {
    --accent-primary: #f97316;
    --accent-black: #f9fafb;

    --color-primary: #60a5fa;
    --color-primary-50: #1e3a8a;
    --color-primary-100: #1e40af;
    --color-primary-300: #3b82f6;
    --color-primary-600: #93c5fd;

    --color-neutral-50: #111827;
    --color-gray-50: #1f2937;
    --color-gray-100: #374151;
    --color-gray-200: #4b5563;
    --color-gray-300: #6b7280;
    --color-gray-400: #9ca3af;
    --color-gray-500: #d1d5db;
    --color-gray-600: #e5e7eb;
    --color-gray-700: #f3f4f6;
    --color-gray-800: #f9fafb;
    --color-gray-900: #ffffff;

    --color-bg-sidebar: #1f2937;
    --color-bg-topbar: #1f2937;
    --color-bg-content: #111827;
    --color-bg-toc: transparent;
    --color-bg-branding: #1f2937;

    --color-btn-text: #111827;
    --color-search-highlight: #422006;

    --color-code-bg: #1f2937;
    --color-code-border: #374151;
  }
}
