Bartik is deprecated in Drupal 9.5.0 and not included with Drupal 10. The default front end theme is now its modern replacement: Olivero. New installations of Drupal 10 install Olivero by default. If your existing site uses Bartik as-is, we recommend switching to Olivero.
In case your site subthemes the Bartik theme or uses contributed projects that integrate with Bartik but not with Olivero, the Bartik theme is available as a Bartik contributed project.
Add it with composer require composer require 'drupal/bartik:^1.0'. It is possible to add the contributed project to an existing Drupal 9 site when preparing for the update, Drupal will prefer projects with the same name under the root /themes directory or the /sites/* directories over themes shipped in core.
For sites using Bartik’s color customization in theme settings
Color customization is also provided with Olivero, with a few key differences:
- Olivero color customization is only available to sites running Drupal 10. It is not in Drupal 9.
- Olivero color customization does not require any additional modules to work. Bartik required the Color module (which is also removed in Drupal 10).
There aren’t 1:1 Olivero equivalents for every Bartik color setting.
Comments
composer package
Bartik contributed project page suggests running this instead:
$ composer require 'drupal/bartik-bartik:^1.0'Olivero is nice but it falls
Olivero is nice but it falls short in a couple of areas, layout components are not customizable, main navigation menu always stays on the left side, colors cannot be changed