1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-30 01:39:59 +02:00

all themes now have contrasting text colors based on slide bg

This commit is contained in:
Hakim El Hattab
2020-06-05 10:02:49 +02:00
parent ac79c7cd8b
commit 166af89353
18 changed files with 70 additions and 16 deletions

View File

@@ -37,11 +37,8 @@ $heading2Size: 1.6em;
$heading3Size: 1.3em;
$heading4Size: 1.0em;
section.has-light-background {
&, h1, h2, h3, h4, h5, h6 {
color: #222;
}
}
// Change text colors against light slide backgrounds
@include light-bg-text-color(#222);
// Theme template ------------------------------