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-simple.patch
6456 views
1
diff --git a/src/resources/formats/revealjs/themes/simple.scss b/src/resources/formats/revealjs/themes/simple.scss
2
index f0472d7b9..3b1e3cbdc 100644
3
--- a/src/resources/formats/revealjs/themes/simple.scss
4
+++ b/src/resources/formats/revealjs/themes/simple.scss
5
@@ -4,40 +4,30 @@
6
*
7
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
8
* reveal.js is 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(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
25
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
26
27
+// Override theme settings
28
+$font-family-sans-serif: "Lato", sans-serif !default;
29
+$body-color: #000 !default;
30
+$presentation-heading-font: "News Cycle", sans-serif !default;
31
+$presentation-heading-color: $body-color !default;
32
+$presentation-heading-text-shadow: none !default;
33
+$presentation-heading-text-transform: none !default;
34
+$body-bg: #fff !default;
35
+$link-color: #00008b !default;
36
+$selection-bg: rgba(0, 0, 0, 0.99) !default;
37
38
-// Override theme settings (see ../template/settings.scss)
39
-$font-family-sans-serif: 'Lato', sans-serif;
40
-$body-color: #000;
41
-$presentation-heading-font: 'News Cycle', Impact, sans-serif;
42
-$presentation-heading-color: #000;
43
-$presentation-heading-text-shadow: none;
44
-$presentation-heading-text-transform: none;
45
-$body-bg: #fff;
46
-$link-color: #00008B;
47
-$link-color-hover: lighten( $linkColor, 20% );
48
-$selection-bg: rgba(0, 0, 0, 0.99);
49
-
50
-$overlayElementBgColor: 0, 0, 0;
51
-$overlayElementFgColor: 240, 240, 240;
52
+$overlayElementBgColor: 0, 0, 0 !default;
53
+$overlayElementFgColor: 240, 240, 240 !default;
54
55
// Change text colors against dark slide backgrounds
56
-@include dark-bg-text-color(#fff);
57
-
58
-
59
-// Theme template ------------------------------
60
-@import "../template/theme";
61
-// ---------------------------------------------
62
\ No newline at end of file
63
+$dark-bg-text-color: #fff !default;
64
65