Dark mode is often dependent on the browser theme because many websites use the prefers-color-scheme CSS media query, which detects the system or browser theme settings. This allows websites to automatically adjust their appearance based on user preferences, ensuring a consistent experience across different sites.