From 3b1e1a04b87194b240dc44943202a28eccd54139 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 18 Dec 2014 18:17:31 +0100 Subject: [PATCH] white theme inverts text color against dark bg --- css/theme/source/white.scss | 4 ++-- css/theme/white.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/theme/source/white.scss b/css/theme/source/white.scss index 3b306cae..52a156e2 100644 --- a/css/theme/source/white.scss +++ b/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; } } diff --git a/css/theme/white.css b/css/theme/white.css index c2dd565b..e1d78c8c 100644 --- a/css/theme/white.css +++ b/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