From 9ad9b209a0477967f385da5f0627187c8be2fcfa Mon Sep 17 00:00:00 2001 From: Simon C Date: Sun, 10 May 2020 14:58:15 +0200 Subject: [PATCH] feat: Add new custom theme --- assets/themes/blue.scss | 54 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 assets/themes/blue.scss diff --git a/assets/themes/blue.scss b/assets/themes/blue.scss new file mode 100644 index 0000000..8a05314 --- /dev/null +++ b/assets/themes/blue.scss @@ -0,0 +1,54 @@ +/** + * Black theme for reveal.js. This is the opposite of the 'white' theme. + * + * By Hakim El Hattab, http://hakim.se + */ + + +// Default mixins and settings ----------------- +@import "../../themes/reveal-hugo/assets/reveal-js/css/theme/template/mixins"; +@import "../../themes/reveal-hugo/assets/reveal-js/css/theme/template/settings"; +// --------------------------------------------- + + +// Include theme-specific fonts +// @import url(../../lib/font/source-sans-pro/source-sans-pro.css); + + +// Override theme settings (see ../template/settings.scss) +$backgroundColor: #00a9e2; + +$mainColor: #fff; +$headingColor: #fff; + +$mainFontSize: 32px; +$mainFont: 'Source Sans Pro', Helvetica, sans-serif; +$headingFont: 'Source Sans Pro', Helvetica, sans-serif; +$headingTextShadow: none; +$headingLetterSpacing: normal; +$headingTextTransform: none; +$headingFontWeight: 600; +$linkColor: #42affa; +$linkColorHover: lighten( $linkColor, 15% ); +$selectionBackgroundColor: lighten( $linkColor, 25% ); + +$heading1Size: 2.5em; +$heading2Size: 1.6em; +$heading3Size: 1.3em; +$heading4Size: 1.0em; + +section.has-light-background { + &, h1, h2, h3, h4, h5, h6 { + color: #222; + } +} + +section.present.bottom { + top: auto !important; + bottom: 0; +} + + +// Theme template ------------------------------ +@import "../../themes/reveal-hugo/assets/reveal-js/css/theme/template/theme"; +// ---------------------------------------------