🔮Theme Colors
Change Default Color
For Change Default Primary Color - Go to resources/ts/layouts/components/CustomizerPanel.vue
const themeColors = ref<ThemeColor[]>([
{
bg: 'themeDefault',
color: '#4680ff', // Update here for default primary color change
darkColor: '#3F78FF', // for darkprimary color change
lightcolor: '#E9F0FF', // for lightprimary color change
lightcolorfordark: '#18243e', // for lightprimary color change for dark mode
tooltipName: 'Preset 1',
},
... other color presets
])Without Using Customizer Preset Colors
If you don't want preset other colors options from customizer or you want to remove customizer options then follow below steps:
Go to default layout setup file. open
resources/ts/layouts/default.vue
<VApp
:style="getStyleObject()" // Remove This line
:theme="reslovedTheme"
:class="[
customizer.fontTheme,
customizer.mini_sidebar ? 'mini-sidebar' : '',
customizer.setHorizontalLayout ? 'horizontalLayout' : 'verticalLayout',
customizer.inputBg ? 'inputWithbg' : '',
customizer.themeContrast ? 'contrast' : '',
]"
>
... other code
</VApp>Delete Some code related to this
Delete some code from
resources/ts/layouts/components/CustomizerPanel.vue
Update default primary color to it's hexcolor code
finally restart your application using below command
Last updated