Darkmode

Mr.Hope ... 2021-2-26 Interface
  • Darkmode
  • Interface
Less than 1 minute

In dark mode, the page uses a dark background to make you comfortable.

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
Last update: January 21, 2022 16:43
Contributors: Mr.Hope