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-solarized.patch
6456 views
1
diff --git a/src/resources/formats/revealjs/themes/solarized.scss b/src/resources/formats/revealjs/themes/solarized.scss
2
index 684de277d..0bfaf51ad 100644
3
--- a/src/resources/formats/revealjs/themes/solarized.scss
4
+++ b/src/resources/formats/revealjs/themes/solarized.scss
5
@@ -1,66 +1,57 @@
6
/**
7
* Solarized Light 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
+$font-family-sans-serif: Lato, sans-serif !default;
28
29
/**
30
* Solarized colors by Ethan Schoonover
31
*/
32
-html * {
33
- color-profile: sRGB;
34
- rendering-intent: auto;
35
-}
36
-
37
// Solarized colors
38
-$base03: #002b36;
39
-$base02: #073642;
40
-$base01: #586e75;
41
-$base00: #657b83;
42
-$base0: #839496;
43
-$base1: #93a1a1;
44
-$base2: #eee8d5;
45
-$base3: #fdf6e3;
46
-$yellow: #b58900;
47
-$orange: #cb4b16;
48
-$red: #dc322f;
49
-$magenta: #d33682;
50
-$violet: #6c71c4;
51
-$blue: #268bd2;
52
-$cyan: #2aa198;
53
-$green: #859900;
54
-
55
-// Override theme settings (see ../template/settings.scss)
56
-$body-color: $base00;
57
-$presentation-heading-color: $base01;
58
-$presentation-heading-text-shadow: none;
59
-$body-bg: $base3;
60
-$link-color: $blue;
61
-$link-color-hover: lighten( $linkColor, 20% );
62
-$selection-bg: $magenta;
63
+$base03: #002b36;
64
+$base02: #073642;
65
+$base01: #586e75;
66
+$base00: #657b83;
67
+$base0: #839496;
68
+$base1: #93a1a1;
69
+$base2: #eee8d5;
70
+$base3: #fdf6e3;
71
+$yellow: #b58900;
72
+$orange: #cb4b16;
73
+$red: #dc322f;
74
+$magenta: #d33682;
75
+$violet: #6c71c4;
76
+$blue: #268bd2;
77
+$cyan: #2aa198;
78
+$green: #859900;
79
+
80
+// Override theme settings
81
+$body-color: $base00 !default;
82
+$presentation-heading-font: "League Gothic", sans-serif !default; // from settings.scss
83
+$presentation-heading-color: $base01 !default;
84
+$presentation-heading-text-transform: uppercase !default; // from settings.scss
85
+$presentation-heading-text-shadow: none !default;
86
+$presentation-heading-font-weight: normal !default;
87
+$body-bg: $base3 !default;
88
+$link-color: $blue !default;
89
+$selection-bg: $magenta !default;
90
+
91
+$overlayElementBgColor: 0, 0, 0 !default;
92
+$overlayElementFgColor: 240, 240, 240 !default;
93
+
94
+/*-- scss:rules --*/
95
96
-$overlayElementBgColor: 0, 0, 0;
97
-$overlayElementFgColor: 240, 240, 240;
98
-
99
-// Background generator
100
-// @mixin bodyBackground() {
101
-// @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) );
102
-// }
103
-
104
-
105
-
106
-// Theme template ------------------------------
107
-@import "../template/theme";
108
-// ---------------------------------------------
109
+html * {
110
+ color-profile: sRGB;
111
+ rendering-intent: auto;
112
+}
113
114