USWDS theme depends on stylesheet from Seven admin theme

Created on 21 August 2023, over 1 year ago

Problem/Motivation

As of v8.x-2.7, the uswds.libraries.yml file has a reference to a stylesheet (dropbutton.component.css) from the Seven theme that used to be in Drupal core (prior to D10). Since the referenced CSS file no longer exists, I get a 404 on the browser's developer tools network tab.

Steps to reproduce

- Install and enable the uswds theme (or a child theme).
- Open developer tools and go to the network tab.
- Go to home page.
- You should see a 404 for /core/themes/seven/css/components/dropbutton.component.css

Proposed resolution

- Remove dependency on Seven theme, which is now on contrib space, by maintaining our own stylesheets.

Remaining tasks

- Discuss best path forward.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mmenavas

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

Comments & Activities

Production build 0.71.5 2024