I am trying to set a background color for the body for the “dark” mode. I tried to insert the following CSS code in Settings → Template but it doesn’t seem to work.
How can I do this?
There’s a simpler way to do that in Tailwind CSS: just apply the classes to the body:
<body class="bg-white dark:bg-gray-900">
<!-- Your content here -->
</body>
However, that won’t work in Elements because the site template isn’t processed by our Tailwind CSS processor (yet).
We have a ticket to add support for setting the background colour of pages in the main UI. It’s actually a bit overdue, so I think we’ll bump it up the list and get it done as soon as possible!