# Documentation v8.0.38

Preview Downloads Purchase

# Quick Setup

Metronic supports full Dark Mode that you can preview here and easiliy setup following the below instructions.

1. Run gulp task with `--dark-mode`flag in `theme/tools/`folder to generate the Dark Mode of CSS files.

       gulp --dark-mode --demo1

   For Webpack user, use below command.

       npm run build --dark-mode --demo1

2. Switch CSS files to their Dark Mode. For example `style.dark.bundle.css`and `plugins.dark.bundle.css`are generated in assets folder:

       <!--begin::Global Stylesheets Bundle(used by all pages)-->
       <link href="assets/plugins/global/plugins.dark.bundle.css" rel="stylesheet" type="text/css" />
       <link href="assets/css/style.dark.bundle.css" rel="stylesheet" type="text/css" />
       <!--end::Global Stylesheets Bundle-->

3. Add `dark-mode`class name to the `<body>`tag. Keep other `body`class names.

       <body class="dark-mode ...">
       <!-- HTML content -->
       </body>

4. Use Javascript API methods `KTApp.setThemeMode(mode String, callback Function)`to set the theme mode dynamically without refreshing the page:

       KTApp.setThemeMode("dark", function() {
           console.log("changed to dark mode");
       }); // set dark mode

       KTApp.setThemeMode("light", function() {
           console.log("changed to light mode");
       }); // set light mode

5. Some images have special dark versions that can be flipped by just appending `-dark`prefix to the file name:

       <img src="assets/media/illustrations/sketchy-1/1.png"/>

   to:

       <img src="assets/media/illustrations/sketchy-1/1-dark.png"/>

### Explore

### Metronic Licenses

License FAQs
Regular License
For single end product used by you or one client
$ 39
Extended License
For single SaaS app with paying users
$ 969
Custom License
Reach us for custom license offers.
Contact Us
Buy Now

### Metronic Demos

Demo 1
Demo 2
Demo 3
Demo 4
Demo 5
Demo 6
Demo 7
Demo 8
Demo 9
Demo 10
Demo 11
Demo 12
Demo 13
Demo 14
Demo 15
Demo 16
Demo 17
Demo 18
Demo 19
Demo 20
Demo 21
Demo 22
Coming soon
Coming soon

##### Learn & Get Inspired

## Support at devs.keenthemes.com

Join our developers community to find answer to your question and help others. FAQs
Get Support
Documentation & Videos
From guides and video tutorials, to live demos and code examples to get started.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
Metronic Downloads
Download your prefered framework and demo with one click.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now