Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Set light mode as default


Hi support team,

I have the Metronic VueJS theme. How can I set the light mode as the default value? Currently, it defaults to the dark mode (or system) for most users.

Thanks.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (7)


I ran into a similar issue with the dateFormat feature of Flatpickr. I've found that the problem is that the dateFormat option expects the format to be 'Y-m-d', even though you want the data to be displayed in'm/d/Y'.
Visit our site basketball random



Elevate your expertise with Exam Questions [2023], meticulously crafted to refine your skills and conquer the certification journey. Unleash your potential as you delve into a comprehensive collection of real-world scenarios, designed to mirror the intricacies of the AD0-E718 exam. Our cutting-edge questions, updated for 2023, provide a dynamic learning experience, ensuring you're well-prepared for success. Seamlessly navigate through diverse topics, grasp key concepts, and gain the confidence to ace the exam. Empower yourself with the ultimate resource, meticulously tailored to propel your career forward. It's not just a test; it's your pathway to Adobe mastery. Embrace success with our AD0-E718 Exam Questions [2023].



Hi,

You can change a default theme mode in file public/index.html. Just update defaultThemeMode variable.

The default theme is "system" but you can set a "light" or "dark" theme.

var defaultThemeMode = "dark";


Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi Lauris,

Unfortunately, that doesn't work. I had already changed it, but the theme always defaults to dark mode. Any ideas?

Thanks.



Can you try to delete kt_theme_mode_menu and kt_theme_mode_value from your local storage?

We store these variables to save theme mode, if on your computer these variables are already set to "dark" then the theme will be dark every time you open a page.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



I tested using the incognito mode to imitate a new user who would not have any values saved. The site still defaults to the dark mode. I'm certain you could replicate this behavior. Any way to fix this?



Hi,

Also, to change a default theme mode, you need to update the general.mode property in the file src/core/config/DefaultLayoutConfig.ts.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(