@@ -0,0 +1,13 @@
+:root[data-theme='light'] {
+ .reveal-viewport {
+ // adjust marp default theme
+ background-color: #fff;
+ }
+}
+
+:root[data-theme='dark'] {
+ background-color: #0d1117;
@@ -1,10 +1,5 @@
.grw-presentation {
- // workaround from https://github.com/css-modules/css-modules/issues/295#issuecomment-952885628
- &:global(.reveal-viewport) {
- background-color: var(--bgcolor-global);
- }
-
// workaround from https://github.com/css-modules/css-modules/issues/295#issuecomment-952885628
&:global(.reveal) :global {
.slides {
@@ -6,6 +6,8 @@ import Reveal from 'reveal.js';
import { MARP_CONTAINER_CLASS_NAME, Sections } from './Sections';
import 'reveal.js/dist/reveal.css';
+import './Presentation.global.scss';
import styles from './Presentation.module.scss';