Remove the dependency on Classy as a base theme

Created on 5 October 2021, about 3 years ago
Updated 28 August 2023, about 1 year ago

Problem/Motivation

Classy will be deprecated in Drupal 9 and moved to contrib prior to the Drupal 10.0.0 release. Source: https://www.drupal.org/node/3103178 β†’
Core themes no longer have their base themes set to Classy and have copied over Classy templates & CSS. ( https://www.drupal.org/project/drupal/issues/3050389 β†’ )

Proposed resolution

Set the theme's base theme to 'false'.

User interface changes

Removing Classy without copying over its templates and CSS will most likely not affect the base theme. (This is currently being tested here with the unchanged child theme that ships with this theme: https://test-uswds.pantheonsite.io/ ) However it is very likely to cause breaking changes to child themes that might have inherited Classy's templates and CSS.

What is the best approach for this task?

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Irisibk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States coolestdude1

    As an FYI I just wanted to post this here for informational purposes but for some this dependency is a Drupal 10 upgrade blocker. I have found that the easiest way to move into Drupal 10 before this dependency change is made from this ticket's work is to install 'Classy' AND 'Stable' (Classy's base theme is Stable) as contributed themes. This will allow the current version of the USWDS's theme to be installed in Drupal 10.

    https://www.drupal.org/project/classy β†’
    https://www.drupal.org/project/stable β†’

    Even though these themes have been removed from core they can still be side loaded leading to a successful Drupal 10 upgrade even with USWDS dependency requirements.

Production build 0.71.5 2024