Problem
The design of the remove button within the media modal does not conform to the design of the remove button established by the theme.
Steps to Reproduce
- Install and set the theme as the Administration theme.
- Ensure that a media & image field is present in the Content Type; if not, add both fields.
- Add a media file in the media field while adding/editing the content.
- Compare the design of the remove button with the image fields.

| Comment | File | Size | Author |
|---|---|---|---|
| #13 | after-remove-btn-hover.png | 290.79 KB | esha_kundu |
| #13 | after-remove-btn.png | 290.09 KB | esha_kundu |
| #13 | before-remove-btn-hover.png | 289.59 KB | esha_kundu |
| #13 | before-remove-btn.png | 286.89 KB | esha_kundu |
| #12 | without patch.png | 27.62 KB | kanchan bhogade |
Issue fork adminimal_theme-3419950
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
rinku jacob 13 commentedHi @shweta__sharma, Base theme of adminal theme is seven. so remove button color is inherited from seven theme.
do we need to follow any theme/design to style remove button?
for the example in claro theme they are used different style for remove button compared to other buttons. so can you please give any suggestion to style that.
Comment #6
hritick commentedI have fixed the issue and attached a screenshot as reference
Comment #7
aimadbachar commentedHello,
The patch works and displays the button when adding media, thanks.
Comment #8
misterdidi commentedComment #9
kpap commentedComment #10
kpap commentedPrevious changes seemed to not match adminimal's style guide.
Fixed it in my latest commit.
Comment #11
sdhruvi5142 commentedHi,
Without applying any patch on drupal 10.3, I don't see any color issue on Remove button, its color looks proper as per the theme. Adding screenshot for reference.
Please share steps if anyone is facing issue. This require further review so keeping this issue in Need Review.
Thanks
Comment #12
kanchan bhogade commentedHi
I have tried to reproduce issue on Drupal 10.3.x with Adminimal theme version 8.x.1.x dev
but no color issue occurs remove button, button color already compatible..
Attaching screenshot for reference
Comment #13
esha_kundu commentedHello,
I've reviewed the issue following the steps mentioned below:
Attaching SS for reference. I am also updating the issue summary for improved clarity. Moving to RTBC.
Thanks
Comment #14
esha_kundu commented