1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-31 18:22:04 +02:00

reader progress theming, automatically invert based on slide bg

This commit is contained in:
Hakim El Hattab
2023-10-11 09:51:03 +02:00
parent 09f36adc70
commit 122642fdea
33 changed files with 125 additions and 25 deletions

View File

@@ -25,4 +25,6 @@
--r-link-color-hover: #{$linkColorHover};
--r-selection-background-color: #{$selectionBackgroundColor};
--r-selection-color: #{$selectionColor};
--r-overlay-element-bg-color: #{$overlayElementBgColor};
--r-overlay-element-fg-color: #{$overlayElementFgColor};
}

View File

@@ -38,6 +38,11 @@ $linkColorHover: lighten( $linkColor, 20% );
$selectionBackgroundColor: #FF5E99;
$selectionColor: #fff;
// Colors used for UI elements that are overlaid on top of
// the presentation
$overlayElementBgColor: 240, 240, 240;
$overlayElementFgColor: 0, 0, 0;
// Generates the presentation background, can be overridden
// to return a background image or gradient
@mixin bodyBackground() {