• The site has now migrated to Xenforo 2. If you see any issues with the forum operation, please post them in the feedback thread.
  • Due to issues with external spam filters, QQ is currently unable to send any mail to Microsoft E-mail addresses. This includes any account at live.com, hotmail.com or msn.com. Signing up to the forum with one of these addresses will result in your verification E-mail never arriving. For best results, please use a different E-mail provider for your QQ address.
  • For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
  • Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
  • Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
  • The rules regarding NSFW links have been updated. See here for details.

Make (the default) theme(s) support prefers-color-scheme

myerve

Lurks a lot
Joined
May 23, 2022
Messages
39
Likes received
62
This is mostly a small convenience feature, but most modern browsers support prefers-color-scheme, a CSS-media-feature that asks the operating system/browser if it's set to dark or light mode, some OS's support automatic light dark mode switching, and most themes on this forum have both a dark and a light variant.

If the admins add a combined variant of the dark and light variant for most themes, by e.g. wrapping the dark style sheet in a media query*, and made that variant the default, 1. people wouldn't be exposed to light time before they logged in if they prefer the dark theme and have their OS set to it; and 2. people that prefer the light theme at day and the dark theme at night will have it automatically switch.

*: okay, it might be more complicated than that, I don't exactly know how themes work here, but I did do that once for another site.
 

Users who are viewing this thread

Back
Top