blob: 29d6d94787c0e5d28c17d4f5d90d0e1573717c25 [file] [log] [blame]
JJ Allaireefa6ad42016-01-30 13:12:05 -05001/**
Marc Kupietz09b75752023-10-07 09:32:19 +02002 * White 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 white.(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)
23$backgroundColor: #fff;
24
Marc Kupietz09b75752023-10-07 09:32:19 +020025$mainColor: #000;
26$headingColor: #000;
JJ Allaireefa6ad42016-01-30 13:12:05 -050027
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: #2a76dd;
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
Marc Kupietz9c036a42024-05-14 13:17:25 +020044$overlayElementBgColor: 0, 0, 0;
45$overlayElementFgColor: 240, 240, 240;
46
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020047// Change text colors against dark slide backgrounds
48@include dark-bg-text-color(#fff);
JJ Allaireefa6ad42016-01-30 13:12:05 -050049
50
51// Theme template ------------------------------
52@import "../template/theme";
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020053// ---------------------------------------------