Install guides

DarkYes works on any site where you can add a line of code to the head of its pages. Pick your platform for the exact steps.

Install with your AI assistant

If you build your site with an AI coding assistant, give it this prompt. It points the assistant to the exact steps for your platform, and tells it to change nothing else.

Add DarkYes dark mode to this website.

1. Read https://darkyes.com/llms.txt, then the install guide it lists for this site's platform.
2. Add this one line to the <head> of every page, in the place that guide names:
   <script src="https://darkyes.com/d.js" data-key="YOUR-KEY" async></script>
3. Replace YOUR-KEY with this site's key. If you do not have it, stop and ask me for it. I find it in my DarkYes dashboard, under Get the code.
4. Change nothing else. Add no other script, style, package or file.
5. Tell me which file you changed, and how I can see the dark mode switch on my site.

Try it on your own site.

Create a free account, add your site and paste one line. When your first site goes live, you get 14 days of Pro for free.

Start freeNo card needed.