امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Sites such as Google and MDN Web Docs style the scrollbar according to the user's light/dark mode preference on said websites via the use of the color-scheme CSS property. XF has it defined if a style is light or dark, but this is not pushed thought to the CSS.
Ie something like this:
XML:
Read more
Ie something like this:
XML:
کد:
:root {
<xf:if is="property('styleType') === 'dark' ">
color-scheme: dark;
// This is stupid, but fixes iframes for ads/embeds being not-transparent.
iframe {
color-scheme: light...
Read more
