Active
Project:
Display Builder
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2026 at 11:52 UTC
Updated:
6 Nov 2026 at 11:52 UTC
Jump to comment: Most recent
Generated with the help of an LLM.
Follow-up of #3633745: Avoid light/dark mismatch between parts of the UI. Shoelace turns dark on two classes of <html>: dark-mode from Default Admin and gin--dark-mode from Gin.
Any other theme with a dark mode keeps a light builder, as a UI Suite theme hosting the builder when the site sets no admin theme.
UI Suite Bootstrap sets its dark mode on <body>, so the computed color-scheme of <html> stays normal.
Read the computed color-scheme of <body> instead of the class list. A pick in the Theme menu still wins.
<html> and <body>, or the prefers-color-scheme media query for a theme in System mode.None.
None.
None.
Comments