Yuki Takei 3 лет назад
Родитель
Сommit
d0aae10790
1 измененных файлов с 19 добавлено и 3 удалено
  1. 19 3
      packages/presentation/src/components/Presentation.module.scss

+ 19 - 3
packages/presentation/src/components/Presentation.module.scss

@@ -1,5 +1,21 @@
-.grw-presentation :global {
-  .slides {
-    text-align: unset;
+.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 {
+      text-align: unset;
+    }
+    .controls {
+      color: var(--color-global);
+    }
+    .progress {
+      color: var(--accent);
+    }
+  }
+
 }