Darkmode

Mr.Hope ... February 26, 2021 20:39 Interface
  • Darkmode
  • Interface
Less than 1 minute

In dark mode, the page uses a dark background to protect your eyes.

Darkmode

# options

You can config darkmode through themeConfig.darkmode

Available options:

  • 'auto-switch': "off | automatic | on" switch (default)
  • 'switch': "Close | Open" toggle switch
  • 'auto': Automatically decide whether to apply dark mode based on user device’s color-scheme or current time
  • 'disable': disable dark mode