Hello everyone, tell me. In the flarum design settings, there is a dark mode, but when you enter a non-existent page of your domain, the page is in a white background. How to fix it?
Forhack currently the error page has hard-coded CSS.
I'm not sure we should take into account dark mode in the built-in error page because an error with the dark mode setting could make the page unable to render.
The Custom HTML error pages extension https://discuss.flarum.org/d/10784-friendsofflarum-custom-html-error-pages allows you to provide a custom error page which you can style to fit your main website.
clarkwinkelmann Thanks for the hint, I think this extension can solve my problem. Flarum developers <3