返回 reveal.js
serif.scss
根目录 / css / theme / serif.scss
1 /**
2 * A simple theme for reveal.js presentations, similar
3 * to the default theme. The accent color is brown.
4 *
5 * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
6 */
7
8 // Load utils
9 @use 'sass:color';
10 @use 'template/mixins' as mixins;
11
12 $active-color: #51483d;
13
14 // Inject theme variables (with some overrides)
15 @use 'template/settings' with (
16 $background-color: #f0f1eb,
17
18 $main-font: "'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif",
19 $main-font-size: 42px,
20 $main-color: #000,
21
22 $heading-color: #383d3d,
23 $heading-font: "'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif",
24 $heading-font-weight: 600,
25 $heading-text-transform: none,
26
27 $link-color: $active-color,
28 $link-color-hover: color.scale($active-color, $lightness: 25%),
29 $selection-color: #fff,
30 $selection-background-color: $active-color,
31
32 $overlay-element-bg-color: '0 0 0',
33 $overlay-element-fg-color: '240 240 240'
34 );
35
36 // Inject the theme template
37 @use 'template/theme';
38
39 // Change text colors against light slide backgrounds
40 @include mixins.dark-bg-text-color(#fff);
41
42 .reveal a {
43 line-height: 1.3em;
44 }
45
45 lines Plain Text