Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust color contrast for Vendor on the cart page #1462

Merged
merged 6 commits into from
Mar 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions assets/component-cart-items.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
}

.cart-item__name {
color: rgb(var(--color-foreground));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed this as it's already getting this color applied from the .h4 class:

text-decoration: none;
display: block;
}
Expand Down Expand Up @@ -193,10 +192,6 @@ cart-remove-button .icon-remove {
display: none;
}

.product-option {
color: rgba(var(--color-foreground), 0.7);
}

.product-option + .product-option {
margin-top: 0.4rem;
}
Expand Down
2 changes: 1 addition & 1 deletion sections/main-cart-items.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<td class="cart-item__details">
{%- if section.settings.show_vendor -%}
<p class="caption-with-letter-spacing light">{{ item.product.vendor }}</p>
<p class="caption-with-letter-spacing">{{ item.product.vendor }}</p>
{%- endif -%}

<a href="{{ item.url }}" class="cart-item__name h4 break">{{ item.product.title | escape }}</a>
Expand Down