返回 reveal.js
night.scss
根目录 / css / theme / night.scss
1 /**
2 * Black theme for reveal.js.
3 *
4 * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
5 */
6
7 // Load utils
8 @use 'sass:color';
9 @use 'template/mixins' as mixins;
10
11 $active-color: #e7ad52;
12
13 // Inject theme variables (with some overrides)
14 @use 'template/settings' with (
15 $background-color: #111,
16
17 $main-font: "'Open Sans', sans-serif",
18 $main-color: #fff,
19
20 $heading-color: #fff,
21 $heading-font: "'Montserrat', Impact, sans-serif",
22 $heading-text-transform: none,
23 $heading-letter-spacing: -0.03em,
24
25 $link-color: $active-color,
26 $link-color-hover: color.scale($active-color, $lightness: 20%),
27 $selection-color: #111,
28 $selection-background-color: $active-color
29 );
30
31 // Inject the theme template
32 @use 'template/theme';
33
34 // Include theme-specific fonts
35 @import url('https://fonts.googleapis.com/css?family=Montserrat:700');
36 @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic');
37
38 // Change text colors against light slide backgrounds
39 @include mixins.light-bg-text-color(#222);
40
40 lines Plain Text