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-moon.patch
6456 views
1
diff --git a/src/resources/formats/revealjs/themes/moon.scss b/src/resources/formats/revealjs/themes/moon.scss
2
index 9d0e5c3d2..0e0cc8ccb 100644
3
--- a/src/resources/formats/revealjs/themes/moon.scss
4
+++ b/src/resources/formats/revealjs/themes/moon.scss
5
@@ -1,54 +1,52 @@
6
/**
7
* Solarized Dark theme for reveal.js.
8
* Author: Achim Staebler
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
/**
31
* Solarized colors by Ethan Schoonover
32
*/
33
34
// Solarized colors
35
-$base03: #002b36;
36
-$base02: #073642;
37
-$base01: #586e75;
38
-$base00: #657b83;
39
-$base0: #839496;
40
-$base1: #93a1a1;
41
-$base2: #eee8d5;
42
-$base3: #fdf6e3;
43
-$yellow: #b58900;
44
-$orange: #cb4b16;
45
-$red: #dc322f;
46
-$magenta: #d33682;
47
-$violet: #6c71c4;
48
-$blue: #268bd2;
49
-$cyan: #2aa198;
50
-$green: #859900;
51
+$base03: #002b36;
52
+$base02: #073642;
53
+$base01: #586e75;
54
+$base00: #657b83;
55
+$base0: #839496;
56
+$base1: #93a1a1;
57
+$base2: #eee8d5;
58
+$base3: #fdf6e3;
59
+$yellow: #b58900;
60
+$orange: #cb4b16;
61
+$red: #dc322f;
62
+$magenta: #d33682;
63
+$violet: #6c71c4;
64
+$blue: #268bd2;
65
+$cyan: #2aa198;
66
+$green: #859900;
67
68
// Override theme settings (see ../template/settings.scss)
69
-$body-color: $base1;
70
-$presentation-heading-color: $base2;
71
-$presentation-heading-text-shadow: none;
72
-$body-bg: $base03;
73
-$link-color: $blue;
74
-$link-color-hover: lighten( $linkColor, 20% );
75
-$selection-bg: $magenta;
76
+$body-color: $base1 !default;
77
+$presentation-heading-color: $base2 !default;
78
+$presentation-heading-text-shadow: none !default;
79
+$body-bg: $base03 !default;
80
+$link-color: $blue !default;
81
+$selection-bg: $magenta !default;
82
83
-// Change text colors against light slide backgrounds
84
-@include light-bg-text-color(#222);
85
+$presentation-heading-text-transform: uppercase !default; // from settings.scss
86
+$presentation-heading-font: "League Gothic", sans-serif !default; // from settings.scss
87
88
-// Theme template ------------------------------
89
-@import "../template/theme";
90
-// ---------------------------------------------
91
+// Change text colors against light slide backgrounds
92
+$light-bg-text-color: #222 !default;
93
94