- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 24,592
- راهحلها
- 27
- پسندها
- 3,278
- امتیازها
- 113
- سن
- 28
- محل سکونت
- England
- وب سایت
- xenforo.xyz
We have a child style of a pixel-exit style with a dark alternate variation. Our custom dark mode CSS in extra.less is scoped to :root[data-variation="alternate"], which works correctly when a user explicitly selects Dark mode.
However, when a user selects System variation and their browser/OS is set to dark mode, data-variation is removed from <html> entirely, so our :root[data-variation="alternate"] rules don't apply. The palette CSS variables are handled correctly by...
However, when a user selects System variation and their browser/OS is set to dark mode, data-variation is removed from <html> entirely, so our :root[data-variation="alternate"] rules don't apply. The palette CSS variables are handled correctly by...
