From 0da7f7952105b17be2958a01c011477828485d01 Mon Sep 17 00:00:00 2001 From: Gerard Braad Date: Tue, 21 Feb 2023 07:11:43 +0000 Subject: [PATCH] Fixes #3366 Add a 'real'-black theme --- css/theme/source/real-black.scss | 47 ++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 css/theme/source/real-black.scss diff --git a/css/theme/source/real-black.scss b/css/theme/source/real-black.scss new file mode 100644 index 00000000000..375a1a4cbd0 --- /dev/null +++ b/css/theme/source/real-black.scss @@ -0,0 +1,47 @@ +/** + * Real black theme for reveal.js. This is the opposite of the 'white' theme. + * + * Based on the black theme by Hakim El Hattab, http://hakim.se + * Minor modification to change bg to black by Gerard Braad + */ + + +// Default mixins and settings ----------------- +@import "../template/mixins"; +@import "../template/settings"; +// --------------------------------------------- + + +// Include theme-specific fonts +@import url(./fonts/source-sans-pro/source-sans-pro.css); + + +// Override theme settings (see ../template/settings.scss) +$backgroundColor: #000000; + +$mainColor: #fff; +$headingColor: #fff; + +$mainFontSize: 42px; +$mainFont: 'Source Sans Pro', Helvetica, sans-serif; +$headingFont: 'Source Sans Pro', Helvetica, sans-serif; +$headingTextShadow: none; +$headingLetterSpacing: normal; +$headingTextTransform: uppercase; +$headingFontWeight: 600; +$linkColor: #42affa; +$linkColorHover: lighten( $linkColor, 15% ); +$selectionBackgroundColor: rgba( $linkColor, 0.75 ); + +$heading1Size: 2.5em; +$heading2Size: 1.6em; +$heading3Size: 1.3em; +$heading4Size: 1.0em; + +// Change text colors against light slide backgrounds +@include light-bg-text-color(#222); + + +// Theme template ------------------------------ +@import "../template/theme"; +// ---------------------------------------------