mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-18 12:31:24 +02:00
49 lines
1.3 KiB
SCSS
49 lines
1.3 KiB
SCSS
/**
|
|
* A simple theme for reveal.js presentations, similar
|
|
* to the default theme. The accent color is darkblue.
|
|
*
|
|
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
|
|
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
|
*/
|
|
|
|
// Load utils
|
|
@use 'sass:color';
|
|
@use 'template/mixins' as mixins;
|
|
|
|
$active-color: #00008b;
|
|
|
|
// Inject theme variables (with some overrides)
|
|
@use 'template/settings' with (
|
|
$background-color: #fff,
|
|
|
|
$main-color: #000,
|
|
$main-font: "'Lato', sans-serif",
|
|
|
|
$heading-color: #000,
|
|
$heading-font: "'News Cycle', Impact, 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: 20%),
|
|
$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('https://fonts.googleapis.com/css?family=News+Cycle:400,700');
|
|
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic');
|
|
|
|
// Change text when the background is inverted
|
|
@include mixins.dark-bg-text-color(#fff);
|