Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
Admin theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2026 at 10:03 UTC
Updated:
8 May 2026 at 19:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
quietone commentedComment #4
quietone commentedComment #5
mherchelI created a visual regression tool at https://github.com/mherchel/ddev-drupal-admin-vrt to help with the CSS refactor. Its still kind of a work in progress, but it works.
It found a number of regressions here. I haven't dived into them (they could just be some small things at the top of the page that throw everything off), but we need to get into it.
Setting to NW, and will likely dive into this a bit later (if time)
Comment #6
mherchelYep. Default Admin was using the block, region, and page title templates. I moved these into the appropriate directories.
Visual regression tests are passing now. Should be good to go!
Comment #7
dharizza commentedThis is looking good! I checked the MR, did some manual testing and confirmed the new templates are used, I also run the VRT tool and can confirm all tests are passing. Thank you!
Comment #8
bernardm28 commentedRan the VRT tool and everything works as expected.
I also looked for two templates that were replaced for deeper inspection.
/admin/content/ loads block.html.twig from classy, and after switching to the new PR branch, everything loads fine.
Before
After
I also visually inspected the title on /admin/content/comment,
which used to load from default_admin/templates/classy/content/page-title.html.twig.
Before

after
Comment #9
catchShould we have a follow-up to evaluate the use of the last three templates from classy?
Comment #10
mherchelI'm not sure why we'd need to.
Comment #11
godotislateCommitted and pushed f8d6aab to main. and e2642d9 to 11.x. Thanks!