themeScript
An inline script that applies the saved theme as the page loads, and keeps it in step with the system setting. Put it in <head> on server-rendered pages, so the page draws in the right theme. ThemeToggle renders it too.
const themeScript: stringdesign-system is a Ben Hodgson projectGitHub