Skip to content

Commit efaf092

Browse files
committed
Patch dracula theme regarding callout-title
(cherry picked from commit 3a9a494) # Conflicts: # package/src/common/update-html-dependencies.ts
1 parent 4c7bb5e commit efaf092

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

package/src/common/patches/revealjs-theme-0001-dracula.patch

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/src/resources/formats/revealjs/themes/dracula.scss b/src/resources/formats/revealjs/themes/dracula.scss
2-
index 5330fbc1b..45498dd41 100644
2+
index 5330fbc1b..fe068d9a8 100644
33
--- a/src/resources/formats/revealjs/themes/dracula.scss
44
+++ b/src/resources/formats/revealjs/themes/dracula.scss
5-
@@ -1,106 +1,88 @@
5+
@@ -1,106 +1,90 @@
66
/**
77
* Dracula Dark theme for reveal.js.
88
* Based on https://draculatheme.com
@@ -151,7 +151,9 @@ index 5330fbc1b..45498dd41 100644
151151
- }
152152
+ strong,
153153
+ b {
154-
+ color: var(--r-bold-color);
154+
+ &:not(.callout-title strong, .callout-tile b) {
155+
+ color: var(--r-bold-color);
156+
+ }
155157
+ }
156158
+ em,
157159
+ i,

src/resources/formats/revealjs/themes/dracula.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ $light-bg-text-color: $body-bg !default;
5959
.reveal {
6060
strong,
6161
b {
62-
color: var(--r-bold-color);
62+
&:not(.callout-title strong, .callout-tile b) {
63+
color: var(--r-bold-color);
64+
}
6365
}
6466
em,
6567
i,

0 commit comments

Comments
 (0)