Skip to content

Commit 1214806

Browse files
committed
fix: add mono-foreground-color in css rule
1 parent f3770a5 commit 1214806

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/resources/formats/html/bootstrap/_bootstrap-rules.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,12 +936,20 @@ samp {
936936
background-color: $code-bg;
937937
}
938938

939+
@if variable-exists(mono-foreground-color) {
940+
color: $mono-foreground-color;
941+
} @else if variable-exists(code-color) {
942+
color: $code-color;
943+
}
944+
939945
@if variable-exists(code-padding) {
940946
padding: $code-padding;
941947
} @else if variable-exists(code-bg) {
942948
padding: 0.2em;
943949
} @else if variable-exists(mono-background-color) {
944950
padding: 0.2em;
951+
} @else if variable-exists(mono-foreground-color) {
952+
padding: 0.2em;
945953
}
946954
}
947955

0 commit comments

Comments
 (0)