كيفية إضافة فئة جسم محددة للوضع المظلم (أو الفاتح)؟

Would you mind explaining why you need specific classes added to the body for dark or light mode?

Does this core feature not allow what you are needing?