# Theme Settings

Theme settings lie under `config.ts` file.

### How to Set Default Settings?

<pre class="language-typescript" data-title="Config.ts"><code class="lang-typescript"><strong>const config: ConfigProps = {
</strong>    Sidebar_drawer: true,
    Customizer_drawer: false,
    mini_sidebar: false,
    setHorizontalLayout: false, // Horizontal layout
    actTheme: 'PurpleTheme',
    themeMode: ThemeMode.Light,
    fontTheme: 'Roboto',
    inputBg: false,
    boxed: false,
    isRtl: false
};              
</code></pre>

### How to Set Dark Theme?

<pre class="language-typescript" data-title="Config.ts"><code class="lang-typescript"><strong>const config: ConfigProps = {
</strong>    Sidebar_drawer: true,
    Customizer_drawer: false,
    mini_sidebar: false,
    setHorizontalLayout: false, 
    actTheme: 'PurpleTheme',
    themeMode: ThemeMode.Dark, // Change Dark mode
    fontTheme: 'Roboto',
    inputBg: false,
    boxed: false,
    isRtl: false
};    
</code></pre>

## How to Set RTL theme

<pre class="language-typescript" data-title="Config.ts"><code class="lang-typescript">const config: ConfigProps = {
    Sidebar_drawer: true,
    Customizer_drawer: false,
    mini_sidebar: false,
    setHorizontalLayout: true,
    actTheme: 'PurpleTheme',
    themeMode: ThemeMode.Light,
    fontTheme: 'Roboto',
    inputBg: false,
    boxed: false,
<strong>    isRtl: true // Set true here
</strong>};       
</code></pre>

## How to Set Horizontal  Layout?

<pre class="language-typescript" data-title="Config.ts"><code class="lang-typescript"><strong>const config: ConfigProps = {
</strong>    Sidebar_drawer: true,
    Customizer_drawer: false,
    mini_sidebar: false,
    setHorizontalLayout: true, // Change horizontal layout
    actTheme: 'PurpleTheme',
    themeMode: ThemeMode.Light,
    fontTheme: 'Roboto',
    inputBg: false,
    boxed: false,
    isRtl: false
};       
</code></pre>

## How to Set Minsidebar Layout?

<pre class="language-typescript" data-title="Config.ts"><code class="lang-typescript"><strong>const config: ConfigProps = {
</strong>    Sidebar_drawer: true,
    Customizer_drawer: false,
    mini_sidebar: true, // Change minisidebar layout
    setHorizontalLayout: true, 
    actTheme: 'PurpleTheme',
    themeMode: ThemeMode.Light,
    fontTheme: 'Roboto',
    inputBg: false,
    boxed: false,
    isRtl: false
};       
</code></pre>

## How to set Boxed Layout?

<pre class="language-typescript" data-title="Config.ts"><code class="lang-typescript"><strong>const config: ConfigProps = {
</strong>    Sidebar_drawer: true,
    Customizer_drawer: false,
    mini_sidebar: false, 
    setHorizontalLayout: true, 
    actTheme: 'PurpleTheme',
    themeMode: ThemeMode.Light,
    fontTheme: 'Roboto',
    inputBg: false,
    boxed: true, // Set True here
    isRtl: false
};       
</code></pre>

## How to Change Input Text Background?

<pre class="language-typescript" data-title="Config.ts"><code class="lang-typescript"><strong>const config: ConfigProps = {
</strong>    Sidebar_drawer: true,
    Customizer_drawer: false,
    mini_sidebar: false, 
    setHorizontalLayout: true, 
    actTheme: 'PurpleTheme',
    themeMode: ThemeMode.Light,
    fontTheme: 'Roboto',
    inputBg: true, // Set True here
    boxed: false,
    isRtl: false
};       
</code></pre>
