Dark mode

You can specify dark mode globally for all Vueless components.

vueless.config.js
export default {
  darkMode: true, /* default -> undefined */
}

Possible values:

  • true - enable dark mode. Add class vl-dark to html tag.

  • false - disable dark mode. Add class vl-light to html tag.

  • undefined - keep user system settings for the dark mode (default), add class to the html tag related to the user mode.

Last updated