Change record status: 
Project: 
Introduced in branch: 
10.0.x
Introduced in version: 
10.0.0
Description: 

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:

  1. Olivero color customization is only available to sites running Drupal 10. It is not in Drupal 9.
  2. 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.

Impacts: 
Site builders, administrators, editors
Themers

Comments

pere orga’s picture

$ composer require 'drupal/bartik'

In PackageDiscoveryTrait.php line 351:

  Could not find package drupal/bartik. It was however found via repository search, which indicates a consistency issue with the repository.

Bartik contributed project page suggests running this instead:
$ composer require 'drupal/bartik-bartik:^1.0'

Anonymous’s picture

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