⚙️Theme Settings
Manage the theme settings for Horizontal, Dark, and Box layout options.
Theme settings lie under config.ts
file.
How to Set Default Settings?
const config: ConfigProps = {
Sidebar_drawer: true,
Customizer_drawer: false,
mini_sidebar: false,
setHorizontalLayout: false, // Horizontal layout
actTheme: 'light',
fontTheme: 'Public sans',
inputBg: false,
boxed: false,
isRtl: false
};
How to Set Dark Theme?
const config: ConfigProps = {
Sidebar_drawer: true,
Customizer_drawer: false,
mini_sidebar: false,
setHorizontalLayout: false,
actTheme: 'dark', // Change Dark theme
fontTheme: 'Public sans',
inputBg: false,
boxed: true,
isRtl: false
};
How to Set Horizontal Layout?
const config: ConfigProps = {
Sidebar_drawer: true,
Customizer_drawer: false,
mini_sidebar: false,
setHorizontalLayout: true, // Change horizontal layout
actTheme: 'light',
fontTheme: 'Public sans',
inputBg: false,
boxed: true,
isRtl: false
};
const config: ConfigProps = {
Sidebar_drawer: true,
Customizer_drawer: false,
mini_sidebar: true, // Change minisidebar layout
setHorizontalLayout: false,
actTheme: 'light',
fontTheme: 'Public sans',
inputBg: false,
boxed: true,
isRtl: false
};
How to unset Boxed Layout?
const config: ConfigProps = {
Sidebar_drawer: true,
Customizer_drawer: false,
mini_sidebar: false,
setHorizontalLayout: false,
actTheme: 'DefaultTheme',
fontTheme: 'Public sans',
inputBg: false,
boxed: false, // Set False here
isRtl: false
};
How to Change Input Text Background?
const config: ConfigProps = {
Sidebar_drawer: true,
Customizer_drawer: false,
mini_sidebar: false,
setHorizontalLayout: false,
actTheme: 'DefaultTheme',
fontTheme: 'Public sans',
inputBg: true, // Set True here
boxed: true,
isRtl: false
};
How to Set RTL theme?
const config: ConfigProps = {
Sidebar_drawer: true,
Customizer_drawer: false,
mini_sidebar: false,
setHorizontalLayout: false, // Horizontal layout
actTheme: 'light',
fontTheme: 'Public sans',
inputBg: false,
boxed: false,
isRtl: true // Set True here
}