1
0

settings.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // Base settings for all themes that can optionally be
  2. // overridden by the super-theme
  3. @use 'sass:color';
  4. @use 'sass:meta';
  5. // Background of the presentation
  6. $background: #2b2b2b !default;
  7. $background-color: #bbb !default;
  8. // Primary/body text
  9. $main-font: 'Lato', sans-serif !default;
  10. $main-font-size: 40px !default;
  11. $main-color: #eee !default;
  12. // Vertical spacing between blocks of text
  13. $block-margin: 20px !default;
  14. // Headings
  15. $heading-margin: 0 0 20px 0 !default;
  16. $heading-font: 'League Gothic', Impact, sans-serif !default;
  17. $heading-color: #eee !default;
  18. $heading-line-height: 1.2 !default;
  19. $heading-letter-spacing: normal !default;
  20. $heading-text-transform: uppercase !default;
  21. $heading-text-shadow: none !default;
  22. $heading-font-weight: normal !default;
  23. $heading1-text-shadow: none !default;
  24. $heading1-size: 3.77em !default;
  25. $heading2-size: 2.11em !default;
  26. $heading3-size: 1.55em !default;
  27. $heading4-size: 1em !default;
  28. $code-font: monospace !default;
  29. // Links and actions
  30. $link-color: #13daec !default;
  31. $link-color-dark: color.scale($link-color, $lightness: -15%) !default;
  32. $link-color-hover: color.scale($link-color, $lightness: 20%) !default;
  33. // Text selection
  34. $selection-background-color: #0fadbb !default;
  35. $selection-color: #fff !default;
  36. // Colors used for UI elements that are overlaid on top of
  37. // the presentation
  38. $overlay-element-bg-color: 240, 240, 240 !default;
  39. $overlay-element-fg-color: 0, 0, 0 !default;
  40. // Expose all SCSS variables as CSS custom properties
  41. :root {
  42. // Background of the presentation
  43. --r-background: #{$background};
  44. --r-background-color: #{$background-color};
  45. // Primary/body text
  46. --r-main-font: #{$main-font};
  47. --r-main-font-size: #{$main-font-size};
  48. --r-main-color: #{$main-color};
  49. // Vertical spacing between blocks of text
  50. --r-block-margin: #{$block-margin};
  51. // Headings
  52. --r-heading-margin: #{$heading-margin};
  53. --r-heading-font: #{$heading-font};
  54. --r-heading-color: #{$heading-color};
  55. --r-heading-line-height: #{$heading-line-height};
  56. --r-heading-letter-spacing: #{$heading-letter-spacing};
  57. --r-heading-text-transform: #{$heading-text-transform};
  58. --r-heading-text-shadow: #{$heading-text-shadow};
  59. --r-heading-font-weight: #{$heading-font-weight};
  60. --r-heading1-text-shadow: #{$heading1-text-shadow};
  61. --r-heading1-size: #{$heading1-size};
  62. --r-heading2-size: #{$heading2-size};
  63. --r-heading3-size: #{$heading3-size};
  64. --r-heading4-size: #{$heading4-size};
  65. --r-code-font: #{$code-font};
  66. // Links and actions
  67. --r-link-color: #{$link-color};
  68. --r-link-color-dark: #{$link-color-dark};
  69. --r-link-color-hover: #{$link-color-hover};
  70. // Text selection
  71. --r-selection-background-color: #{$selection-background-color};
  72. --r-selection-color: #{$selection-color};
  73. // Colors used for UI elements that are overlaid on top of
  74. // the presentation
  75. --r-overlay-element-bg-color: #{$overlay-element-bg-color};
  76. --r-overlay-element-fg-color: #{$overlay-element-fg-color};
  77. }