I want to use Laravel config file values in my .css file to customize some colors how can I do this? or maybe it is impossible. I hope my question is clear Thank you.
my config file
return [
'custom' => [
'mainLayoutType' => 'horizontal',
'theme' => 'light',
'sidebarCollapsed' => false,
'navbarColor' => '',
'navbarTextColor' => '#ffffff',
],
];
my css
.header-navbar .navbar-container ul.nav li > a.nav-link {
color: #ffffff;
padding: 1.6rem 1rem 1.35rem 0.5rem;
}
what I want to do is something like this
.header-navbar .navbar-container ul.nav li > a.nav-link {
color: config('custom.navbarTextColor');
padding: 1.6rem 1rem 1.35rem 0.5rem;
}