From 523f78eda724006e12a502a7b6d7c8147dc92fbe Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Thu, 2 Jul 2015 14:58:47 +0200
Subject: [PATCH] remove harcoded syntax highlight colors #1290

---
 css/theme/beige.css           |  4 +---
 css/theme/black.css           |  4 +---
 css/theme/blood.css           |  4 +---
 css/theme/league.css          |  4 +---
 css/theme/moon.css            |  4 +---
 css/theme/night.css           |  4 +---
 css/theme/serif.css           |  4 +---
 css/theme/simple.css          |  4 +---
 css/theme/sky.css             |  4 +---
 css/theme/solarized.css       |  4 +---
 css/theme/template/theme.scss |  2 --
 css/theme/white.css           |  4 +---
 index.html                    | 12 ++++++------
 13 files changed, 17 insertions(+), 41 deletions(-)

diff --git a/css/theme/beige.css b/css/theme/beige.css
index 944dbd83..8c880a91 100644
--- a/css/theme/beige.css
+++ b/css/theme/beige.css
@@ -146,9 +146,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/black.css b/css/theme/black.css
index ee2ead81..5ff960e1 100644
--- a/css/theme/black.css
+++ b/css/theme/black.css
@@ -142,9 +142,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/blood.css b/css/theme/blood.css
index 952fdf24..8d554dfc 100644
--- a/css/theme/blood.css
+++ b/css/theme/blood.css
@@ -145,9 +145,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/league.css b/css/theme/league.css
index 41967d2b..ed1641c3 100644
--- a/css/theme/league.css
+++ b/css/theme/league.css
@@ -148,9 +148,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/moon.css b/css/theme/moon.css
index ac936385..55e1662f 100644
--- a/css/theme/moon.css
+++ b/css/theme/moon.css
@@ -146,9 +146,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/night.css b/css/theme/night.css
index 6a5ed317..efaa9693 100644
--- a/css/theme/night.css
+++ b/css/theme/night.css
@@ -140,9 +140,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/serif.css b/css/theme/serif.css
index fc83e5df..69dbf968 100644
--- a/css/theme/serif.css
+++ b/css/theme/serif.css
@@ -142,9 +142,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/simple.css b/css/theme/simple.css
index ea08a27f..e63edc21 100644
--- a/css/theme/simple.css
+++ b/css/theme/simple.css
@@ -142,9 +142,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/sky.css b/css/theme/sky.css
index 83842c4e..99bf0275 100644
--- a/css/theme/sky.css
+++ b/css/theme/sky.css
@@ -149,9 +149,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/solarized.css b/css/theme/solarized.css
index 649f7a92..56e8b367 100644
--- a/css/theme/solarized.css
+++ b/css/theme/solarized.css
@@ -146,9 +146,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index bd89d316..12edb518 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -178,8 +178,6 @@ body {
 	overflow: auto;
 	max-height: 400px;
 	word-wrap: normal;
-	background: #3F3F3F;
-	color: #DCDCDC;
 }
 
 .reveal table {
diff --git a/css/theme/white.css b/css/theme/white.css
index c77d5abb..171e7194 100644
--- a/css/theme/white.css
+++ b/css/theme/white.css
@@ -142,9 +142,7 @@ body {
   padding: 5px;
   overflow: auto;
   max-height: 400px;
-  word-wrap: normal;
-  background: #3F3F3F;
-  color: #DCDCDC; }
+  word-wrap: normal; }
 
 .reveal table {
   margin: auto;
diff --git a/index.html b/index.html
index aad20464..0159b7f7 100644
--- a/index.html
+++ b/index.html
@@ -189,16 +189,16 @@
 					</section>
 					<section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png">
 						<h2>Image Backgrounds</h2>
-						<pre><code>&lt;section data-background="image.png"&gt;</code></pre>
+						<pre><code class="hljs">&lt;section data-background="image.png"&gt;</code></pre>
 					</section>
 					<section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png" data-background-repeat="repeat" data-background-size="100px">
 						<h2>Tiled Backgrounds</h2>
-						<pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
+						<pre><code class="hljs" style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
 					</section>
 					<section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-color="#000000">
 						<div style="background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px;">
 							<h2>Video Backgrounds</h2>
-							<pre><code style="word-wrap: break-word;">&lt;section data-background-video="video.mp4,video.webm"&gt;</code></pre>
+							<pre><code class="hljs" style="word-wrap: break-word;">&lt;section data-background-video="video.mp4,video.webm"&gt;</code></pre>
 						</div>
 					</section>
 					<section data-background="http://i.giphy.com/90F8aUepslB84.gif">
@@ -211,7 +211,7 @@
 					<p>
 						Different background transitions are available via the backgroundTransition option. This one's called "zoom".
 					</p>
-					<pre><code>Reveal.configure({ backgroundTransition: 'zoom' })</code></pre>
+					<pre><code class="hljs">Reveal.configure({ backgroundTransition: 'zoom' })</code></pre>
 				</section>
 
 				<section data-transition="slide" data-background="#b5533c" data-background-transition="zoom">
@@ -219,12 +219,12 @@
 					<p>
 						You can override background transitions per-slide.
 					</p>
-					<pre><code style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
+					<pre><code class="hljs" style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
 				</section>
 
 				<section>
 					<h2>Pretty Code</h2>
-					<pre><code data-trim contenteditable>
+					<pre><code class="hljs" data-trim contenteditable>
 function linkify( selector ) {
   if( supports3DTransforms ) {
 
-- 
GitLab