通过 document.documentElement.setAttribute('data-prefers-color', 'dark'); 开启暗黑风格
document.documentElement.setAttribute('data-prefers-color', 'dark');
npm i wufeng
Gitgithub.com/alitajs/wufeng
github.com/alitajs/wufeng#readme
1
0.1.1
ISC
815 kB
69
2 years ago