mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-28 00:40:31 +02:00
all themes now have contrasting text colors based on slide bg
This commit is contained in:
@@ -31,11 +31,8 @@ $linkColor: #00008B;
|
||||
$linkColorHover: lighten( $linkColor, 20% );
|
||||
$selectionBackgroundColor: rgba(0, 0, 0, 0.99);
|
||||
|
||||
section.has-dark-background {
|
||||
&, h1, h2, h3, h4, h5, h6 {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
// Change text colors against dark slide backgrounds
|
||||
@include dark-bg-text-color(#fff);
|
||||
|
||||
|
||||
// Theme template ------------------------------
|
||||
|
Reference in New Issue
Block a user