Skip to content

Commit ecc0254

Browse files
committed
revealjs - callout-title default to body color
1 parent 1dc41fa commit ecc0254

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/resources/formats/revealjs/quarto.scss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,6 @@ $panel-sidebar-padding: 0.5em;
672672
quarto-color.blackness($backgroundColor) > $code-block-theme-dark-threshhold
673673
) {
674674
/*! dark */
675-
.reveal div.callout.callout-style-default .callout-title {
676-
color: #222;
677-
}
678675
} @else {
679676
/*! light */
680677
}
@@ -900,16 +897,15 @@ kbd {
900897
}
901898

902899
&.callout-title {
900+
display: flex;
901+
align-items: center;
902+
903903
p {
904904
margin-top: 0.5em;
905905
margin-bottom: 0.5em;
906+
color: var(--r-main-color);
906907
}
907908
}
908-
909-
&.callout-title {
910-
display: flex;
911-
align-items: center;
912-
}
913909
}
914910

915911
.callout-icon::before {

0 commit comments

Comments
 (0)