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-league.patch
6453 views
1
diff --git a/src/resources/formats/revealjs/themes/league.scss b/src/resources/formats/revealjs/themes/league.scss
2
index 3a1bd7878..476b6c7da 100644
3
--- a/src/resources/formats/revealjs/themes/league.scss
4
+++ b/src/resources/formats/revealjs/themes/league.scss
5
@@ -4,33 +4,41 @@
6
* This was the default theme pre-3.0.0.
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
-// Override theme settings (see ../template/settings.scss)
28
-$presentation-heading-text-shadow: 0px 0px 6px rgba(0,0,0,0.2);
29
-$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);
30
+// fonts
31
+$font-family-sans-serif: Lato, sans-serif !default;
32
+$presentation-heading-font: "League Gothic", sans-serif !default;
33
34
-// Background generator
35
-@mixin bodyBackground() {
36
- @include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) );
37
-}
38
+$body-bg: #2b2b2b !default; // from settings.scss
39
+$body-color: #eee !default; // from settings.scss
40
+$link-color: #13daec !default; // from settings.scss
41
+$selection-bg: #ff5e99 !default; // from settings.scss
42
+
43
+$presentation-heading-text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2) !default;
44
+$presentation-h1-text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb,
45
+ 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1),
46
+ 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3),
47
+ 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25),
48
+ 0 20px 20px rgba(0, 0, 0, 0.15) !default;
49
+$presentation-h1-font-size: 3.77em !default;
50
+$presentation-heading-text-transform: uppercase !default;
51
52
// Change text colors against light slide backgrounds
53
-@include light-bg-text-color(#222);
54
+$light-bg-text-color: #222 !default;
55
56
+/*-- scss:mixins --*/
57
58
-// Theme template ------------------------------
59
-@import "../template/theme";
60
-// ---------------------------------------------
61
+// Background generator
62
+@mixin bodyBackground() {
63
+ @include radial-gradient(rgba(28, 30, 32, 1), rgba(85, 90, 95, 1));
64
+}
65
66