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

prettier config, format files

This commit is contained in:
Hakim El Hattab
2024-11-05 19:52:41 +01:00
parent 94a86f466d
commit faf8fb9c58
37 changed files with 1965 additions and 1836 deletions

View File

@@ -7,43 +7,42 @@
*/
// Load utils
@use "sass:color";
@use "template/mixins" as mixins;
@use 'sass:color';
@use 'template/mixins' as mixins;
$active-color: #00008B;
$active-color: #00008b;
// Inject theme variables (with some overrides)
@use "template/settings" with (
$background-color: #fff,
@use 'template/settings' with (
$background-color: #fff,
$main-color: #000,
$main-font: #{'Lato', sans-serif},
$main-color: #000,
$main-font: "'Lato', sans-serif",
$heading-color: #000,
$heading-font: #{'News Cycle', Impact, sans-serif},
$heading-font-weight: 600,
$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: 1.0em,
$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% ),
$link-color: $active-color,
$link-color-hover: color.scale($active-color, $lightness: 20%),
$selection-color: #fff,
$selection-background-color: $active-color,
$selection-color: #fff,
$selection-background-color: $active-color,
$overlay-element-bg-color: #{0, 0, 0},
$overlay-element-fg-color: #{240, 240, 240}
$overlay-element-bg-color: '0, 0, 0',
$overlay-element-fg-color: '240, 240, 240'
);
// Inject the theme template
@use "template/theme";
@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");
@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);