返回 reveal.js
league.scss
根目录 / css / theme / league.scss
1 /**
2 * League theme for reveal.js.
3 *
4 * This was the default theme pre-3.0.0.
5 *
6 * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
7 */
8
9 // Load utils
10 @use 'sass:color';
11 @use 'template/mixins' as mixins;
12
13 // Inject theme variables (with some overrides)
14 @use 'template/settings' with (
15 $background: radial-gradient(rgba(85, 90, 95, 1), rgba(28, 30, 32, 1)),
16 $background-color: rgba(28, 30, 32, 1),
17 $heading-text-shadow: #{0px 0px 6px rgba(0, 0, 0, 0.2)},
18 $heading1-text-shadow: #{0 1px 0 #ccc,
19 0 2px 0 #c9c9c9,
20 0 3px 0 #bbb,
21 0 4px 0 #b9b9b9,
22 0 5px 0 #aaa,
23 0 6px 1px rgba(0, 0, 0, 0.1),
24 0 0 5px rgba(0, 0, 0, 0.1),
25 0 1px 3px rgba(0, 0, 0, 0.3),
26 0 3px 5px rgba(0, 0, 0, 0.2),
27 0 5px 10px rgba(0, 0, 0, 0.25),
28 0 20px 20px rgba(0, 0, 0, 0.15)}
29 );
30
31 // Inject the theme template
32 @use 'template/theme';
33
34 // Include theme-specific fonts
35 @import url('./fonts/league-gothic/league-gothic.css');
36 @import url('https://fonts.googleapis.com/css?family=Lato: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