Problem/Motivation

In the Olivero theme, color for the chevron icon is not as per the Figma design for all the screen sizes.
Before the patch
mobile before patch
tablet before patch
desktop before patch
After the patch
mobile after patch
tablet after patch
desktop after patch

Steps to reproduce

Make sure you have selected the Olivero theme and open it using Chrome or a similar browser inspect the chevron icon color and compare it to the Olivero theme Figma design

Proposed resolution

Replace the color with the one that is mentioned in the Figma design.

Remaining tasks

None

User interface changes

Changing the color from var(--color--gray-45) to var(--color--gray-90) as mentioned in the Figma design.

API changes

None

Data model changes

None

Release notes snippet

None

Issue fork drupal-3370131

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

Hamid.ali created an issue. See original summary.

hamid.ali’s picture

Working on the issue will provide updated patch to fix the issue

hamid.ali’s picture

Issue summary: View changes
StatusFileSize
new1.24 KB
new84.45 KB
new139.86 KB
new232.24 KB
new85.34 KB
new130.15 KB
new225.34 KB

Have attached the updated patch to fix the issue.

hamid.ali’s picture

Assigned: hamid.ali » Unassigned
Status: Active » Needs review

Kindly review the issue.

Manibharathi E R’s picture

Patch #3 applied and verified successfully on Drupal 10.

shiv_sharma’s picture

I have reviewed the figma Design Figma Design with the patch color code, both are same.
screenshot
applied patch #3 successfully on Drupal 10.

shweta__sharma’s picture

Hi @Hamid.ali,
I have applied your patch but it's throwing an error.

Checking patch core/themes/olivero/css/components/breadcrumb.css...
error: while searching for:
  margin-inline: 1rem 1.25rem;
  content: "";
  transform: rotate(45deg); /* LTR */
  border-block-start: 2px solid var(--color--gray-45);
  border-inline-end: 2px solid var(--color--gray-45);
}

.breadcrumb__item:last-child {

error: patch failed: core/themes/olivero/css/components/breadcrumb.css:98
error: core/themes/olivero/css/components/breadcrumb.css: patch does not apply
Checking patch core/themes/olivero/css/components/breadcrumb.pcss.css...
error: while searching for:
    margin-inline: 16px 20px;
    content: "";
    transform: rotate(45deg); /* LTR */
    border-block-start: 2px solid var(--color--gray-45);
    border-inline-end: 2px solid var(--color--gray-45);
  }

  &:last-child {

error: patch failed: core/themes/olivero/css/components/breadcrumb.pcss.css:83
error: core/themes/olivero/css/components/breadcrumb.pcss.css: patch does not apply
lokeshsahu’s picture

Reviewing this issue

lokeshsahu’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new70.01 KB
new118.22 KB
new150.49 KB

I have tested and verified patch #3 on Drupal-10.1.x-dev and Drupal-11.x. The patch was applied successfully without throwing any error and it's fixing the above-addressed issue. I am attaching a screenshot for reference, showing the state before and after applying the patch.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 3370131-3.patch, failed testing. View results

shiv_sharma’s picture

Status: Needs work » Needs review

I used @Hamid.ali code to create the merge request.

smustgrave’s picture

Status: Needs review » Postponed (maintainer needs more info)
Issue tags: +Needs subsystem maintainer review
StatusFileSize
new78.67 KB

failure

So for me this is a won't fix. The proposed change introduce accessibility issue with poor color contrast.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)
Issue tags: +Bug Smash Initiative

Since hasn't been a follow up going to close out. If still an issue please reopen