blob: 32c1d91faae9b5f201250ce881adc06c0cce99a6 [file] [log] [blame]
JJ Allaireefa6ad42016-01-30 13:12:05 -05001/**
Marc Kupietz09b75752023-10-07 09:32:19 +02002 * Black compact & high contrast reveal.js theme, with headers not in capitals.
JJ Allaireefa6ad42016-01-30 13:12:05 -05003 *
Marc Kupietz09b75752023-10-07 09:32:19 +02004 * By Peter Kehl. Based on black.(s)css by Hakim El Hattab, http://hakim.se
5 *
6 * - Keep the source similar to black.css - for easy comparison.
7 * - $mainFontSize controls code blocks, too (although under some ratio).
JJ Allaireefa6ad42016-01-30 13:12:05 -05008 */
9
10
11// Default mixins and settings -----------------
Marc Kupietzcf6e9982026-08-15 15:37:40 +020012@use "sass:color";
JJ Allaireefa6ad42016-01-30 13:12:05 -050013@import "../template/mixins";
14@import "../template/settings";
15// ---------------------------------------------
16
17
18// Include theme-specific fonts
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020019@import url(./fonts/source-sans-pro/source-sans-pro.css);
JJ Allaireefa6ad42016-01-30 13:12:05 -050020
21
22// Override theme settings (see ../template/settings.scss)
Marc Kupietz09b75752023-10-07 09:32:19 +020023$backgroundColor: #000000;
JJ Allaireefa6ad42016-01-30 13:12:05 -050024
25$mainColor: #fff;
26$headingColor: #fff;
27
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020028$mainFontSize: 42px;
JJ Allaireefa6ad42016-01-30 13:12:05 -050029$mainFont: 'Source Sans Pro', Helvetica, sans-serif;
30$headingFont: 'Source Sans Pro', Helvetica, sans-serif;
31$headingTextShadow: none;
32$headingLetterSpacing: normal;
33$headingTextTransform: uppercase;
34$headingFontWeight: 600;
35$linkColor: #42affa;
Marc Kupietzcf6e9982026-08-15 15:37:40 +020036$linkColorHover: color.scale( $linkColor, $lightness: 15% );
37$selectionBackgroundColor: color.scale( $linkColor, $lightness: 25% );
JJ Allaireefa6ad42016-01-30 13:12:05 -050038
39$heading1Size: 2.5em;
40$heading2Size: 1.6em;
41$heading3Size: 1.3em;
42$heading4Size: 1.0em;
43
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020044// Change text colors against light slide backgrounds
Marc Kupietz09b75752023-10-07 09:32:19 +020045@include light-bg-text-color(#000);
JJ Allaireefa6ad42016-01-30 13:12:05 -050046
47
48// Theme template ------------------------------
49@import "../template/theme";
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020050// ---------------------------------------------