Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save m4olivei/63a8778dd4866f4e41b532813ac4b635 to your computer and use it in GitHub Desktop.
Save m4olivei/63a8778dd4866f4e41b532813ac4b635 to your computer and use it in GitHub Desktop.
Carbon CSS Issue Solutions
@use '@carbon/ibmdotcom-styles/scss/globals/utils/content-width' as *;
.aem--card__copy {
@include content-width;
}
@use '@carbon/styles/scss/type' as *;
@use '@carbon/styles/scss/spacing' as *;
@use '@carbon/styles/scss/themes' as *;
@use '@carbon/styles/scss/theme' as * with (
$theme: $white
);
.aem--content-block__heading {
@include type-style('expressive-heading-05', true);
color: $text-primary;
margin-bottom: $spacing-07;
}
.aem--image__img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment