Top

Next.Js Documentation

E-Commerce offers stunning and one-of-a-kind website demos tailored to your grocery, bakery, and online store needs. With E-Commerce, you'll find everything you require to craft the ideal website for your business. E-Commerce - your all-in-one solution!

Mode

Set Default Mode Setting

Step 1: Locate the JSON file at the path "src/app/api/themeOptions/themeOptions.json."

Step 2: Open the JSON file using a text editor or a code editor.

Step 3: Find the "mode" field within the JSON file. It should look something like this:

{
    "mode": "light",
    // Other JSON fields
}

Step 4: Change the value of "mode" from "light" to "dark," like this:

{
    "mode": "dark",
    // Other JSON fields
}

Step 5: Save the changes to the JSON file.