如何为深色(或浅色)模式添加特定的 body 类?

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?