You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I wanted to disable dark mode and set the default color scheme to light. Everything is fine, except for example the default browser datepicker, which is still in dark mode, which causes the icon to disappear. The attributes data-bs-theme="light" and style="color-scheme: light;" aren't applied on the body tag with this combination of settings.
To Reproduce
Symfony 7.2.2 and EasyAdminBundle 4.23.3. Default system setting (MacOs) is dark theme. Chrome version 132.0.6834.160.
public function configureDashboard(): Dashboard
{
return Dashboard::new()
->setDefaultColorScheme('light')
->disableDarkMode()
;
}
(OPTIONAL) Additional context
I fixed it using the following:
Describe the bug
I wanted to disable dark mode and set the default color scheme to light. Everything is fine, except for example the default browser datepicker, which is still in dark mode, which causes the icon to disappear. The attributes data-bs-theme="light" and style="color-scheme: light;" aren't applied on the body tag with this combination of settings.
To Reproduce
Symfony 7.2.2 and EasyAdminBundle 4.23.3. Default system setting (MacOs) is dark theme. Chrome version 132.0.6834.160.
(OPTIONAL) Additional context
I fixed it using the following:
The text was updated successfully, but these errors were encountered: