Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/formats/revealjs/themes/league.scss
12923 views
/**
 * League theme for reveal.js.
 *
 * This was the default theme pre-3.0.0.
 *
 * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
 *
 * Adapted for Quarto by Posit, PBC
 * Copyright (C) 2024 Posit, PBC
 */

/*-- scss:defaults --*/

// Include theme-specific fonts
@import url(./fonts/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);

// fonts
$font-family-sans-serif: Lato, sans-serif !default;
$presentation-heading-font: "League Gothic", sans-serif !default;

$body-bg: #2b2b2b !default; // from settings.scss
$body-color: #eee !default; // from settings.scss
$link-color: #13daec !default; // from settings.scss
$selection-bg: #ff5e99 !default; // from settings.scss

$presentation-heading-text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2) !default;
$presentation-h1-text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb,
  0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1),
  0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3),
  0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25),
  0 20px 20px rgba(0, 0, 0, 0.15) !default;
$presentation-h1-font-size: 3.77em !default;
$presentation-heading-text-transform: uppercase !default;

// Change text colors against light slide backgrounds
$light-bg-text-color: #222 !default;

// input panel
$input-panel-bg: rgba(233, 236, 239, 0.2) !default;

// code blocks
$code-block-bg: transparent !default;

/*-- scss:mixins --*/

// Background generator
@mixin bodyBackground() {
  @include radial-gradient(rgba(28, 30, 32, 1), rgba(85, 90, 95, 1));
}