امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I want to use my own custom colors in the Dark and Light theme variations.
What can I do to avoid issues when switching between the dark and light variations?
Is this kind of implementation correct?
Code:
Read more
What can I do to avoid issues when switching between the dark and light variations?
Is this kind of implementation correct?
Code:
کد:
:root { light thema colors
--omColor: #222222;
--omBgColor: #fff;
--omBorderColor: #ccc;
--omFontColor: #dedede;
........
.......
......
}
[data-theme="dark"] {
--omColor: #fff;
--omBgColor: #000;
--omBorderColor: #bbb;
--omFontColor: #dedede;
........
...
Read more
