As a developer using Naive UI I want to be able to toggle the dark/light theme based on a class on the body so that I don't have to introduce other more specific implementations.
Suggested solution
Provide a way to configure Naive UI so that it is dark/light based on a class on the html body e.g. "dark".
Clear and concise description of the problem
As a developer using Naive UI I want to be able to toggle the dark/light theme based on a class on the body so that I don't have to introduce other more specific implementations.
Suggested solution
Provide a way to configure Naive UI so that it is dark/light based on a class on the html body e.g. "dark".
Alternative
No response
Additional context
No response
Validations