File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
1
:root {
2
- --r-background-color : #{$background--light } ;
3
2
--r-code-font : #{$font-family-mono } ;
4
- --r-heading-color : #{$text--light } ;
5
3
--r-heading-font : #{$font-family-title } ;
6
- --r-link-color : #{$text-links--light } ;
7
- --r-main-color : #{$text--light } ;
8
4
--r-main-font-size : #{$font-size } ;
9
5
--r-main-font : #{$font-family-normal } ;
6
+
7
+ /* FIXME doesn't work in light theme */
8
+ @include themed {
9
+ --r-background-color : t ($background );
10
+ --r-heading-color : t ($text );
11
+ --r-main-color : t ($text );
12
+ --r-link-color : t ($text-links );
13
+ --r-link-color-dark : t ($text-links );
14
+ --r-link-color-hover : t ($text );
15
+ }
16
+ }
17
+
18
+ /* HACK use this until reveal.js theme colors are fixed */
19
+ .reveal a {
20
+ @include themed {
21
+ color : t ($text-links );
22
+ }
10
23
}
11
24
12
25
.reveal {
Original file line number Diff line number Diff line change 1
1
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.4.0/reveal.min.css " />
2
+ <!-- FIXME Removing these reveal themes breaks slides styles, need to fix. -->
2
3
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.4.0/theme/black.min.css " id ="theme " />
3
4
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.4.0/plugin/highlight/monokai.min.css " />
You can’t perform that action at this time.
0 commit comments