Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Liu committed Aug 27, 2024
1 parent 45dcaa3 commit 79ce206
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core/src/components/callout/_callout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ $callout-padding-compact: $pt-grid-size;

@each $intent, $color in $pt-intent-colors {
&.#{$ns}-intent-#{$intent} {
color: map-get($pt-intent-text-colors, $intent);

&:not(.#{$ns}-minimal) {
background-color: rgba($color, 0.1);
}

color: map-get($pt-intent-text-colors, $intent);

@media (forced-colors: active) and (prefers-color-scheme: dark) {
border: 1px solid $pt-high-contrast-mode-border-color;
}
Expand All @@ -120,12 +120,12 @@ $callout-padding-compact: $pt-grid-size;
}

.#{$ns}-dark & {
color: map-get($pt-dark-intent-text-colors, $intent);

&:not(.#{$ns}-minimal) {
background-color: rgba($color, 0.2);
}

color: map-get($pt-dark-intent-text-colors, $intent);

&[class*="#{$ns}-icon-"]::before,
> .#{$ns}-icon:first-child,
.#{$ns}-heading {
Expand Down

0 comments on commit 79ce206

Please sign in to comment.