From aa2a4a0a369780cceac4d43db0b1afac0a1ca4ac Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Mon, 11 May 2020 11:28:36 +0200
Subject: [PATCH] scope selection color to .reveal

---
 css/theme/template/theme.scss | 4 ++--
 dist/theme/beige.css          | 4 ++--
 dist/theme/black.css          | 4 ++--
 dist/theme/blood.css          | 4 ++--
 dist/theme/league.css         | 4 ++--
 dist/theme/moon.css           | 4 ++--
 dist/theme/night.css          | 4 ++--
 dist/theme/serif.css          | 4 ++--
 dist/theme/simple.css         | 4 ++--
 dist/theme/sky.css            | 4 ++--
 dist/theme/solarized.css      | 4 ++--
 dist/theme/white.css          | 4 ++--
 12 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index 61859c7c..1ec1b8ce 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -18,13 +18,13 @@
 	color: $mainColor;
 }
 
-::selection {
+.reveal ::selection {
 	color: $selectionColor;
 	background: $selectionBackgroundColor;
 	text-shadow: none;
 }
 
-::-moz-selection {
+.reveal ::-moz-selection {
 	color: $selectionColor;
 	background: $selectionBackgroundColor;
 	text-shadow: none;
diff --git a/dist/theme/beige.css b/dist/theme/beige.css
index 54b7854f..579770e1 100644
--- a/dist/theme/beige.css
+++ b/dist/theme/beige.css
@@ -49,12 +49,12 @@
   font-weight: normal;
   color: #333; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: rgba(79, 64, 28, 0.99);
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: rgba(79, 64, 28, 0.99);
   text-shadow: none; }
diff --git a/dist/theme/black.css b/dist/theme/black.css
index 264e692f..51498a5b 100644
--- a/dist/theme/black.css
+++ b/dist/theme/black.css
@@ -45,12 +45,12 @@ section.has-light-background, section.has-light-background h1, section.has-light
   font-weight: normal;
   color: #fff; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #bee4fd;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #bee4fd;
   text-shadow: none; }
diff --git a/dist/theme/blood.css b/dist/theme/blood.css
index e822c049..396d6328 100644
--- a/dist/theme/blood.css
+++ b/dist/theme/blood.css
@@ -48,12 +48,12 @@
   font-weight: normal;
   color: #eee; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #a23;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #a23;
   text-shadow: none; }
diff --git a/dist/theme/league.css b/dist/theme/league.css
index 87453d06..6878bca0 100644
--- a/dist/theme/league.css
+++ b/dist/theme/league.css
@@ -51,12 +51,12 @@
   font-weight: normal;
   color: #eee; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #FF5E99;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #FF5E99;
   text-shadow: none; }
diff --git a/dist/theme/moon.css b/dist/theme/moon.css
index 95b68cd4..de4a02c8 100644
--- a/dist/theme/moon.css
+++ b/dist/theme/moon.css
@@ -49,12 +49,12 @@ html * {
   font-weight: normal;
   color: #93a1a1; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #d33682;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #d33682;
   text-shadow: none; }
diff --git a/dist/theme/night.css b/dist/theme/night.css
index 6fd76e2f..278bb7fd 100644
--- a/dist/theme/night.css
+++ b/dist/theme/night.css
@@ -43,12 +43,12 @@
   font-weight: normal;
   color: #eee; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #e7ad52;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #e7ad52;
   text-shadow: none; }
diff --git a/dist/theme/serif.css b/dist/theme/serif.css
index 1c73667e..e4deebd7 100644
--- a/dist/theme/serif.css
+++ b/dist/theme/serif.css
@@ -45,12 +45,12 @@
   font-weight: normal;
   color: #000; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #26351C;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #26351C;
   text-shadow: none; }
diff --git a/dist/theme/simple.css b/dist/theme/simple.css
index fb110c2b..5b0da04e 100644
--- a/dist/theme/simple.css
+++ b/dist/theme/simple.css
@@ -48,12 +48,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
   font-weight: normal;
   color: #000; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: rgba(0, 0, 0, 0.99);
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: rgba(0, 0, 0, 0.99);
   text-shadow: none; }
diff --git a/dist/theme/sky.css b/dist/theme/sky.css
index 680b7959..77786e22 100644
--- a/dist/theme/sky.css
+++ b/dist/theme/sky.css
@@ -52,12 +52,12 @@
   font-weight: normal;
   color: #333; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #134674;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #134674;
   text-shadow: none; }
diff --git a/dist/theme/solarized.css b/dist/theme/solarized.css
index 6716ea9b..09d6e894 100644
--- a/dist/theme/solarized.css
+++ b/dist/theme/solarized.css
@@ -49,12 +49,12 @@ html * {
   font-weight: normal;
   color: #657b83; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #d33682;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #d33682;
   text-shadow: none; }
diff --git a/dist/theme/white.css b/dist/theme/white.css
index 22ddf718..6cc55110 100644
--- a/dist/theme/white.css
+++ b/dist/theme/white.css
@@ -45,12 +45,12 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
   font-weight: normal;
   color: #222; }
 
-::selection {
+.reveal ::selection {
   color: #fff;
   background: #98bdef;
   text-shadow: none; }
 
-::-moz-selection {
+.reveal ::-moz-selection {
   color: #fff;
   background: #98bdef;
   text-shadow: none; }
-- 
GitLab