Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/package/src/common/patches/revealjs-theme-0001-serif.patch
6453 views
1
diff --git a/src/resources/formats/revealjs/themes/serif.scss b/src/resources/formats/revealjs/themes/serif.scss
2
index a8abdc887..3b0ff9e6f 100644
3
--- a/src/resources/formats/revealjs/themes/serif.scss
4
+++ b/src/resources/formats/revealjs/themes/serif.scss
5
@@ -3,39 +3,33 @@
6
* to the default theme. The accent color is brown.
7
*
8
* This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
9
+ *
10
+ * Adapted for Quarto by Posit, PBC
11
+ * Copyright (C) 2024 Posit, PBC
12
*/
13
14
+/*-- scss:defaults --*/
15
16
-// Default mixins and settings -----------------
17
-@import "../template/mixins";
18
-@import "../template/settings";
19
-// ---------------------------------------------
20
-
21
+// Override theme settings
22
+$font-family-sans-serif: "Palatino Linotype", "Book Antiqua", Palatino,
23
+ FreeSerif, serif !default;
24
+$body-color: #000 !default;
25
+$presentation-heading-font: $font-family-sans-serif !default;
26
+$presentation-heading-color: #383d3d !default;
27
+$presentation-heading-text-shadow: none !default;
28
+$presentation-heading-text-transform: none !default;
29
+$body-bg: #f0f1eb !default;
30
+$link-color: #51483d !default;
31
+$selection-bg: #26351c !default;
32
33
+$overlayElementBgColor: 0, 0, 0 !default;
34
+$overlayElementFgColor: 240, 240, 240 !default;
35
36
-// Override theme settings (see ../template/settings.scss)
37
-$font-family-sans-serif: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
38
-$body-color: #000;
39
-$presentation-heading-font: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
40
-$presentation-heading-color: #383D3D;
41
-$presentation-heading-text-shadow: none;
42
-$presentation-heading-text-transform: none;
43
-$body-bg: #F0F1EB;
44
-$link-color: #51483D;
45
-$link-color-hover: lighten( $linkColor, 20% );
46
-$selection-bg: #26351C;
47
+// Change text colors against dark slide backgrounds
48
+$dark-bg-text-color: #fff !default;
49
50
-$overlayElementBgColor: 0, 0, 0;
51
-$overlayElementFgColor: 240, 240, 240;
52
+/*-- scss:rules --*/
53
54
.reveal a {
55
line-height: 1.3em;
56
}
57
-
58
-// Change text colors against dark slide backgrounds
59
-@include dark-bg-text-color(#fff);
60
-
61
-
62
-// Theme template ------------------------------
63
-@import "../template/theme";
64
-// ---------------------------------------------
65
66