XF 2.3 Style variations override by System

RockGermany

Member
Licensed customer
Hi,

i created a design with a light and a dark mode using style-variables. When I select either light or dark mode, the forum loads with the correct settings immediately.

1795644128833.webp

However, if I refresh the page, it always reverts to the setting used by Windows 11 or Android, regardless of my previous choice. It continues to display the selected option. This is actually only supposed to happen with the "System" option, but it occurs with all three options. When I click “light” (german "Hell") again, it stays bright until the next page load.

1795644154286.webp

In HTML data-variation="default" and data-color-scheme="light" are also missing after reloading. But it's correct in the database. In this Forum, it's working as intended.

Does anyone have a tip or idea on how to enable the system-overwrite only for “System”? My attempt with the Add-on "Style Variation Default" doesn't change anything.

xf v2.3.13
ThemeHouse UI.X 2

THX!
 
Last edited:
Back
Top Bottom