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-beige.patch
6453 views
1
diff --git a/src/resources/formats/revealjs/themes/beige.scss b/src/resources/formats/revealjs/themes/beige.scss
2
index 06957c42d..193eac567 100644
3
--- a/src/resources/formats/revealjs/themes/beige.scss
4
+++ b/src/resources/formats/revealjs/themes/beige.scss
5
@@ -2,43 +2,40 @@
6
* Beige theme for reveal.js.
7
*
8
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
9
+ *
10
+ * Adapted for Quarto by Posit, PBC
11
+ * Copyright (C) 2024 Posit, PBC
12
*/
13
14
-
15
-// Default mixins and settings -----------------
16
-@import "../template/mixins";
17
-@import "../template/settings";
18
-// ---------------------------------------------
19
-
20
-
21
+/*-- scss:defaults --*/
22
23
// Include theme-specific fonts
24
@import url(./fonts/league-gothic/league-gothic.css);
25
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
26
27
+// fonts
28
+$font-family-sans-serif: Lato, sans-serif !default;
29
30
-// Override theme settings (see ../template/settings.scss)
31
-$body-color: #333;
32
-$presentation-heading-color: #333;
33
-$presentation-heading-text-shadow: none;
34
-$body-bg: #f7f3de;
35
-$link-color: #8b743d;
36
-$link-color-hover: lighten( $linkColor, 20% );
37
-$selection-bg: rgba(79, 64, 28, 0.99);
38
-$presentation-h1-text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
39
-
40
-$overlayElementBgColor: 0, 0, 0;
41
-$overlayElementFgColor: 240, 240, 240;
42
+// Override theme settings
43
+$body-color: #333 !default;
44
+$body-bg: #f7f3de !default;
45
+$link-color: #8b743d !default;
46
+$selection-bg: rgba(79, 64, 28, 0.99) !default;
47
48
-// Background generator
49
-@mixin bodyBackground() {
50
- @include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) );
51
-}
52
+$presentation-heading-font: "League Gothic", sans-serif !default;
53
+$presentation-heading-text-transform: uppercase !default;
54
+$presentation-h1-font-size: 3.77em !default;
55
+$presentation-h1-text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb,
56
+ 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1),
57
+ 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3),
58
+ 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25),
59
+ 0 20px 20px rgba(0, 0, 0, 0.15) !default;
60
61
-// Change text colors against dark slide backgrounds
62
-@include dark-bg-text-color(#fff);
63
+$overlayElementBgColor: 0, 0, 0 !default;
64
+$overlayElementFgColor: 240, 240, 240 !default;
65
66
+/*-- scss:mixins --*/
67
68
-// Theme template ------------------------------
69
-@import "../template/theme";
70
-// ---------------------------------------------
71
+@mixin bodyBackground() {
72
+ @include radial-gradient(rgba(247, 242, 211, 1), rgba(255, 255, 255, 1));
73
+}
74
75