1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-09-02 03:03:03 +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

@@ -5,39 +5,38 @@
*/
// Load utils
@use "sass:color";
@use "template/mixins" as mixins;
@use 'sass:color';
@use 'template/mixins' as mixins;
$active-color: #2a76dd;
// Inject theme variables (with some overrides)
@use "template/settings" with (
$background: radial-gradient( #f7fbfc, #add9e4 ),
$background-color: #f7fbfc,
@use 'template/settings' with (
$background: radial-gradient(#f7fbfc, #add9e4),
$background-color: #f7fbfc,
$main-color: #333,
$main-font: #{'Open Sans', sans-serif},
$main-color: #333,
$main-font: "'Open Sans', sans-serif",
$heading-color: #333,
$heading-font: #{'Quicksand', sans-serif},
$heading-letter-spacing: -0.05em,
$heading-color: #333,
$heading-font: "'Quicksand', sans-serif",
$heading-letter-spacing: -0.05em,
$link-color: $active-color,
$link-color-hover: color.scale( $active-color, $lightness: 15% ),
$link-color: $active-color,
$link-color-hover: color.scale($active-color, $lightness: 15%),
$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=Quicksand:400,700,400italic,700italic");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700');
// Change text when the background is inverted
@include mixins.dark-bg-text-color(#fff);