Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes how we do card variants. Rather than generate custom classes for just the
.card
component for changing thecolor
,background-color
, andborder-color
, we're now using our utility classes. This provides more flexibility in how you ultimately style cards, while at the same time reducing our compiled CSS.Drops all card mixins. No more need for a
.card-dark
—which also coincidentally conflicted with.card-dark
from the$theme-colors
Sass map—and no morecard-variant
orcard-outline-variant
.Replaces all
.card-{color}
instances with a mix of.bg-{color}
and.text-white
as needed. For the outline ones, we're now using.border-{color}
.Drops the
.card-blockquote
ahead of Redesign blockquote #22949 shipping, which removes most of the styling that we were overriding with that class. Might need some margin utilities still, though.Docs have been updated, but might need to update the migration guide, too.