Skip to content

暗黑模式

如何启用?

首先你可以创建一个开关来控制 暗黑模式 的 class 类名。

html
<html class="dark">
  <head></head>
  <body></body>
</html>