1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-30 09:49:57 +02:00

switch from gulp to vite to build, add types for reveal.js config

This commit is contained in:
Hakim El Hattab
2024-03-28 11:07:57 +01:00
parent eb95b14531
commit a89af36022
90 changed files with 61921 additions and 1106 deletions

39
css/theme/simple.scss Normal file
View File

@@ -0,0 +1,39 @@
/**
* 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
*/
// Default mixins and settings -----------------
@use "sass:color";
@import "../template/mixins";
@import "../template/settings";
// ---------------------------------------------
// 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);
// Override theme settings (see ../template/settings.scss)
$mainFont: "Lato", sans-serif;
$mainColor: #000;
$headingFont: "News Cycle", Impact, sans-serif;
$headingColor: #000;
$headingTextShadow: none;
$headingTextTransform: none;
$backgroundColor: #fff;
$linkColor: #00008b;
$linkColorHover: color.scale($linkColor, $lightness: 20%);
$selectionBackgroundColor: rgba(0, 0, 0, 0.99);
$overlayElementBgColor: 0, 0, 0;
$overlayElementFgColor: 240, 240, 240;
// Change text colors against dark slide backgrounds
@include dark-bg-text-color(#fff);
// Theme template ------------------------------
@import "./template/theme";
// ---------------------------------------------