white.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. * White theme for reveal.js. This is the opposite of the 'black' theme.
  3. *
  4. * By Hakim El Hattab, http://hakim.se
  5. */
  6. // Load utils
  7. @use 'sass:color';
  8. @use 'template/mixins' as mixins;
  9. $active-color: #2a76dd;
  10. // Inject theme variables (with some overrides)
  11. @use 'template/settings' with (
  12. $background-color: #fff,
  13. $main-color: #222,
  14. $main-font: "'Source Sans Pro', Helvetica, sans-serif",
  15. $main-font-size: 42px,
  16. $heading-color: #222,
  17. $heading-font: "'Source Sans Pro', Helvetica, sans-serif",
  18. $heading-font-weight: 600,
  19. $heading1-size: 2.5em,
  20. $heading2-size: 1.6em,
  21. $heading3-size: 1.3em,
  22. $heading4-size: 1em,
  23. $link-color: $active-color,
  24. $link-color-hover: color.scale($active-color, $lightness: 15%),
  25. $selection-color: #fff,
  26. $selection-background-color: $active-color,
  27. $overlay-element-bg-color: '0 0 0',
  28. $overlay-element-fg-color: '240 240 240'
  29. );
  30. // Inject the theme template
  31. @use 'template/theme';
  32. // Include theme-specific fonts
  33. @import url('./fonts/source-sans-pro/source-sans-pro.css');
  34. // Change text when the background is inverted
  35. @include mixins.dark-bg-text-color(#fff);