Skip to content
Open
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
1 change: 1 addition & 0 deletions sass/components/_asset-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ $asset-card-padding: 0.4rem;
font-size: 1.2rem;
background-color: var(--asset-card-title-bg-color);
color: var(--asset-card-title-color);
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
Copy link
Contributor

Choose a reason for hiding this comment

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

In general, colors shouldn't be used directly, define a --asset-cart-title-text-shadow-color (verbose… 🤮) in _vars.scss in its corresponding section. The reason is that this will allow to change the shadow color for light mode.

@rparrett FYI, in case you see a similar issue in other PRs.

Copy link
Contributor

Choose a reason for hiding this comment

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

Anyway, no need to do the change unless we agree that we want the text shadow.

}

&__description {
Expand Down