Problem/Motivation
I'm open to the possibility others may disagree with this, but I'd like to have it discussed in an issue.
I've found that the box-shadow on buttons/dropbuttons look good in the Figma designs, but somehow don't translate well in their implementation in Claro. The shadow seems to close to the color of the button itself, which results in it looking misshapen or misaligned instead of having a shadow.
Current Appearance: Button With Shadow

Proposed Appearance: Button Without Shadow

Current Appearance: Dropbutton With Shadow

Proposed Appearance: Dropbutton Without Shadow

Proposed resolution
- Determine if this should be changed at all
- If it should be changed, determine if the box-shadow should be restyled or removed altogether
- Implement the change
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | After shadow.png | 68.72 KB | sagarmohite0031 |
| #14 | Before shadow.png | 69.12 KB | sagarmohite0031 |
| dropbutton-without-shadow.png | 46.56 KB | bnjmnm | |
| dropbutton-with-shadow.png | 39.13 KB | bnjmnm | |
| button-without-drop-shadow.png | 23.78 KB | bnjmnm |
Issue fork drupal-3159889
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 #8
smustgrave commented@bnjmnm who could do the design review?
Comment #9
saurav-drupal-dev commentedI have created MR with suggested solution.
Before
After
Comment #11
saurav-drupal-dev commentedComment #13
smustgrave commentedFor design review
Comment #14
sagarmohite0031 commentedHello,
Tested and verified on Drupal 11, MR applied successfully.
Its working as expected
Attaching before and after screenshots.
Comment #16
quietone commentedThe Claro theme was approved for removal in #3576460: [policy, no patch] Deprecate and remove Claro.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3576668: [meta] Tasks to deprecate Claro and the removal work in #3584638: [meta] Tasks to remove the Claro theme.
Comment #17
smustgrave commentedClaro has moved to contrib