mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-30 17:59:59 +02:00
50 lines
1.3 KiB
SCSS
50 lines
1.3 KiB
SCSS
/**
|
|
* White compact & high contrast reveal.js theme, with headers not in capitals.
|
|
*
|
|
* By Peter Kehl. Based on white.(s)css by Hakim El Hattab, http://hakim.se
|
|
*
|
|
* - Keep the source similar to black.css - for easy comparison.
|
|
* - $mainFontSize controls code blocks, too (although under some ratio).
|
|
*/
|
|
|
|
// Load utils
|
|
@use 'sass:color';
|
|
@use 'template/mixins' as mixins;
|
|
|
|
$active-color: #2a76dd;
|
|
|
|
// Inject theme variables (with some overrides)
|
|
@use 'template/settings' with (
|
|
$background-color: #fff,
|
|
|
|
$main-font: "'Source Sans Pro', Helvetica, sans-serif",
|
|
$main-font-size: 42px,
|
|
$main-color: #000,
|
|
|
|
$heading-color: #000,
|
|
$heading-font: "'Source Sans Pro', Helvetica, sans-serif",
|
|
$heading-font-weight: 600,
|
|
|
|
$heading1-size: 2.5em,
|
|
$heading2-size: 1.6em,
|
|
$heading3-size: 1.3em,
|
|
$heading4-size: 1em,
|
|
|
|
$link-color: $active-color,
|
|
$link-color-hover: color.scale($active-color, $lightness: 15%),
|
|
$selection-color: #fff,
|
|
$selection-background-color: $active-color,
|
|
|
|
$overlay-element-bg-color: '0, 0, 0',
|
|
$overlay-element-fg-color: '240, 240, 240'
|
|
);
|
|
|
|
// Inject the theme template
|
|
@use 'template/theme';
|
|
|
|
// Include theme-specific fonts
|
|
@import url('./fonts/source-sans-pro/source-sans-pro.css');
|
|
|
|
// Change text when the background is inverted
|
|
@include mixins.dark-bg-text-color(#fff);
|