white theme inverts text color against dark bg

master
Hakim El Hattab 2014-12-18 18:17:31 +01:00
parent 1bc1dd12e6
commit 3b1e1a04b8
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}
}

View File

@ -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