Browse Source

white theme inverts text color against dark bg

Hakim El Hattab 10 years ago
parent
commit
3b1e1a04b8
2 changed files with 4 additions and 4 deletions
  1. 2 2
      css/theme/source/white.scss
  2. 2 2
      css/theme/white.css

+ 2 - 2
css/theme/source/white.scss

@@ -37,9 +37,9 @@ $heading2Size: 1.6em;
 $heading3Size: 1.3em;
 $heading4Size: 1.0em;
 
-section.has-light-background {
+section.has-dark-background {
 	&, h1, h2, h3, h4, h5, h6 {
-		color: #222;
+		color: #fff;
 	}
 }
 

+ 2 - 2
css/theme/white.css

@@ -5,8 +5,8 @@
  *
  * Copyright (C) 2014 Hakim El Hattab, http://hakim.se
  */
-section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
-  color: #222; }
+section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
+  color: #fff; }
 
 /*********************************************
  * GLOBAL STYLES