# Light & Dark Layout

To make a Light / dark layout in the theme change value in "**/Ablepro/Views/Shared/\_config.cshtml**".

**To make Dark Layout in the theme change given below**

```cshtml
TempData["DarkLayout"] = 'true';
```

**To make Light Layout in the theme change given below**

```cshtml
TempData["DarkLayout"] = 'false';
```

**To make the Layout theme depend on the user's operating system**

```cshtml
TempData["DarkLayout"] = 'default';
```

Automatically sets the **theme** based on the **user's operating system's color scheme.**

{% hint style="info" %}
**Light** layout is our **default** layout so if you want to use it then no need to change anything
{% endhint %}
