I installed this theme Sam's personal "minimal" topic list design, it uses light colors by default. I want to allow users to use it with dark colors. What is the best way to achieve this?
Do I need to somehow install it two times and set different color palettes? Or there are better ways?
The easiest way at the moment is to install the same theme twice and change the palette (and also the theme name, so you know which is which).
It’s easier if the theme is remote (on git) because then all updates are centrally managed anyway. If the theme was built locally in the admin interface you can export it and re-import it. The local theme method is a little more annoying because you have to edit both themes if you want to make any changes.
أعتقد أن استخدام معرف مخطط ألوان الوضع المظلم الافتراضي سيكون الطريقة للقيام بذلك الآن. سيؤدي هذا إلى تكييف لوحة الألوان لتتناسب مع تفضيلات المتصفح. يمكنك أيضًا استخدام Dark/Light Mode Toggle للسماح بالتبديل السهل بين الاثنين.