Needs work
Project:
Drupal core
Version:
main
Component:
Admin theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2026 at 14:02 UTC
Updated:
18 Sep 2026 at 16:04 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
hinal05 commentedI reproduced this on Drupal 'main' using the 'default_admin' theme. Dark mode works fine, but the Layout Builder canvas turns white after clicking Enable Edit mode.
I’m working on a fix.
Comment #4
hinal05 commentedI updated the background colors in 'layout-builder.pcss.css' for dark mode using the 'default_admin' color variables. The light mode is unchanged. I tested it locally, and the canvas, blocks, and drop zones now look correct in dark mode after clicking Enable edit mode.
I’ve attached the working screenshot here.
Comment #5
smustgrave commenteddark-mode doesn't appear to be a class for layout builder so don't think we should put theme specific css there.