Dark mode


On component

You can set the dark option attributs on component. Example:

  <template>
  <MazInput
    v-model="YOUR_VALUE"
    dark
  />
</template>

Set dark mode globally

Add .maz-is-dark class on your root HTML element. Example:

  <html class="maz-is-dark">
  <head>
    ...
  </head>
  <body>
    <div id="app">
      ...
    </div>
  </body>
</html>