mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
all themes now have contrasting text colors based on slide bg
This commit is contained in:
parent
ac79c7cd8b
commit
166af89353
18 changed files with 70 additions and 16 deletions
|
|
@ -46,6 +46,9 @@ $linkColorHover: lighten( $linkColor, 20% );
|
|||
$selectionBackgroundColor: $blood;
|
||||
$selectionColor: #fff;
|
||||
|
||||
// Change text colors against dark slide backgrounds
|
||||
@include light-bg-text-color(#222);
|
||||
|
||||
|
||||
// Theme template ------------------------------
|
||||
@import "../template/theme";
|
||||
|
|
@ -58,6 +61,12 @@ $selectionColor: #fff;
|
|||
text-shadow: 1px 1px $coal;
|
||||
}
|
||||
|
||||
section.has-light-background {
|
||||
p, h1, h2, h3, h4 {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.reveal h1,
|
||||
.reveal h2,
|
||||
.reveal h3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue