X
Xon
Guest
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:
SQL:
Continue reading...
Ie something like this:
SQL:
Code:
:root {
<xf:if is="property('styleType') === 'dark' ">
color-scheme: dark;
<xf:else />
color-scheme: light;
</xf:if>
}
Continue reading...