Problem/Motivation

Drupal 12's new administration theme, confusingly titled "Admin", will likely be the default theme in Drupal 12. It supports dark mode, and by default it matches the user's preference.

Paragraphs hard codes some color values into the CSS, which obviously won't adapt to dark mode.

I created a documentation page that guides maintainers how to fix this at https://www.drupal.org/docs/core-modules-and-themes/core-themes/default-...

Example of the problem:

CommentFileSizeAuthor
paragraphs-dark-mode.png26.55 KBmherchel

Issue fork paragraphs-3619718

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mherchel created an issue. See original summary.

mherchel changed the visibility of the branch 3619718-support-dark-mode to hidden.

mherchel’s picture

Worked with Claude to generate the initial MR. Just pushed, but haven't yet tested. Will test right now and see how good Claude + my docs really are.

mherchel’s picture

Status: Active » Needs review
Issue tags: +Needs manual testing

This is looking good. But needs extensive manual testing (Paragraphs does so much).

We need to test Claro (should be no changes), and both light and dark modes of the Admin theme.

mherchel’s picture

PS. You can test this in 11.4.4 (but not before then)

mherchel’s picture

Issue summary: View changes