Problem/Motivation
Follow-up to discussion on #2860419: [Meta] Appearance page is too long and confusing and during #3249152: Drupal Usability Meeting 2021-11-12.
To figure out which is the active Default theme, currently the user has to browse all installed theme cards to distinguish which of those have parenthesis in their title. Then the user has to scan each of those titles in question from left to right (for the ltr reading direction). Scanning starts with the name, then the version number of the theme and when getting to the parenthesis the user has to figure out if there is the Default Theme label within.
In contrast, if the user tries to figure out what the active Admin Theme is (in particular if it is a user who is unable to recognize the active Admin Theme based on the visual representation of the most common Admin Themes Seven, Claro or Gin) the user has two options:
- Scan the theme titles as described for the Default Theme
- Scroll to the bottom of the page to the Admin Theme selection form
Both ways the cognitive load is rather high, requiring a lot of reading and processing of information.

Proposed resolution
Make the active Default and Admin Theme prominently visible on top of the installed themes section. That way, the user is able to see which themes are selected and active at a glance.

Note: I've left out several components of the cards. The focus is simply outlining the new section with the Default and Admin Theme on top. For the bigger picture take a look at the parent issue please.
Remaining tasks
1. Discuss and decide how to handle themes that could be set as Default and Admin Theme at the same time. Should there still be two separate cards for the Default and Admin Theme showing the same card twice or should there be one single card across two width units?
2. tbd
| Comment | File | Size | Author |
|---|---|---|---|
| #24 | After patch theme..png | 389.76 KB | Aamir M |
| #24 | Before patch theme.png | 358.78 KB | Aamir M |
| #24 | patch mt.png | 183.04 KB | Aamir M |
| #21 | reroll_interdiff_9-20.txt | 2.96 KB | elber |
| #20 | reroll-3249370.patch | 20.5 KB | elber |
Issue fork drupal-3249370
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
Comment #2
aaronmchaleComment #3
aaronmchaleTagging for design.
In that case, my gut feeling is just one card that says "Default and admin theme", but I also worry that creates an inconsistency in the layout of that page; In that case if we keep two separate cards, that means the same theme is displayed twice and could also lead to confusion where it looks like there are two separate themes with the same name.
Comment #4
aaronmchaleComment #5
kostyashupenkoGonna kill this task today
Comment #6
kostyashupenkoLooks like finished
Comment #7
longwavePHPCS failed:
Comment #8
rkoller@kostyashupenko thanks a lot for the initial patch!
@AaronMcHale i agree. default and admin theme in a single card would be more clear and also my first instinctive pick. but the problem might be the width on large screens.with a 27" monitor the browser window in full screen leads to two already wide cards (i dont wanna imagine a 32" screen or more). and if you imagine a card twice the width might be a bit too much imho.
on the other hand i've set claro as admin and default theme. and i agree that people might think separate theme with same name.
maybe indicate somehow that the two selected themes are actually identical and the same? cuz i imagine that the single card across two columns might lead into even more problems if the goal is to keep the design consistent?
@kostyashupenko and one detail i've noticed with the patch if you take a look on a large viewport like in the claro_wide.png screenshot you notice the difference in height between default and admin theme card. for smaller viewports the height is identical.
Comment #9
paulocsFixing code standards.
Comment #10
benjifisherAdmin = Default
My first thought was to show the same card twice, the opposite of @AaronMcHale's first reaction in #3. The screenshot in #8 convinces me to think again. Thanks for the screenshot, @rkoller.
It should be a little clearer that the two two cards refer to the same theme once we have the sibling issue #3249374: Redesign the cards for the Appearance page.
One option is to keep the same layout. Instead of the usual card for the admin theme, have a simple text card: "Same as admin theme" or something like that.
Have any designers looked at this issue yet?
Comment #11
aaronmchaleComment #12
aaronmchaleWe discussed this at #3249275: Drupal Usability Meeting 2021-11-19, we specifically focused on case of what happens when the default and admin theme are the same theme.
We noted that this definitely needs design work for that scenario, but we did discuss a few possible options here:
Ultimately, we did not have any concrete recommendations here, only that this issue needs work and review from the design team, so leaving the Needs design tag for that.
Comment #13
rolandoscott commentedFor what its worth, i am fond of option 4.. to me its the best option from a UX perspective.. the images are all the same size, so nothing gets warped and there are no wide screen issues.. just having 1 card.. with the combined title seems pretty easy to understand that its just ONE theme and its active for both things..
Its also painfully obvious for an admin user.. that at some point theres 2 cards there, it means that there are 2 different options.. but if theres just one card, its for both things..
Comment #14
saschaeggi+1 on having them combined if the same theme is set as default for both Admin & Frontend.
Comment #15
cedeweyI also think option 4, showing the theme once under a heading "Admin and default theme" in the style of a single card (as shown in this mockup) is the most user friendly.
Comment #17
Johnny Santos commentedHi, from what I can understand we must wait further directions on the ux to be able to move this issue forward?
Comment #18
ravi.shankar commentedAdded reroll of patch #9 on Drupal 9.5.x.
Comment #19
elberComment #20
elberComment #21
elberComment #23
Aamir M commentedComment #24
Aamir M commentedVerified and tested patch #20. Patch applied successfully and looks good to me.
Testing steps:
1. Goto admin/Appearance
2. Set claro theme in the Administration theme (Scroll down and see)
3. Save configuration
4. Apply the patch
5. Reload the page
Testing Result:
1. After applying the patch the active Default and Admin theme is displayed as a new section on top of the Appearance page
Can be moved to RTBC
Comment #25
rkollerWith a bit of distance revisiting the issue I wonder would it make to sense aside making the default and admin theme prominently visible on top of the installed theme section to highlight the default and admin theme by underlaying each with a coloured rectangle with rounded edges? and also a +1 for suggestion 4 in #12.
@Johnny-santos yes as #12has stated the issue needs a design review as well as design work before it could go forward.
@aamir-m I am setting the issue back to
needs workbecause a design review and design work has to be done first, the point in #12 has to be agreed on and the differing height issue in between the default and the admin theme cards mentioned at the end of #8 has to be fixed first.