main.scss 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {{- $scr := .Scratch -}}
  2. {{- $site := $scr.Get "site" -}}
  3. {{/* Don't use partialCached as can error when admin changes theme config whilst `hugo server` is running. */}}
  4. {{- partial "functions/parse_theme" . -}}
  5. $sta-darken-percentage: 10%;
  6. $sta-lighten-percentage: 10%;
  7. $sta-font-size: {{ $scr.Get "font_size" }};
  8. $sta-font-size-small: {{ $scr.Get "font_size_small" }};
  9. $sta-font-body: "{{ $scr.Get "body_font" }}";
  10. $sta-font-heading: "{{ $scr.Get "heading_font" }}";
  11. $sta-font-nav: "{{ $scr.Get "nav_font" }}";
  12. $sta-font-mono: "{{ $scr.Get "mono_font" }}";
  13. $sta-primary: {{ $scr.Get "primary" }};
  14. $sta-primary-light: lighten($sta-primary, $sta-lighten-percentage);
  15. $sta-primary-dark: darken($sta-primary, $sta-darken-percentage);
  16. $sta-link: {{ $scr.Get "link" }};
  17. $sta-link-hover: {{ $scr.Get "link_hover" }};
  18. $sta-link-decoration: {{ $scr.Get "link_decoration" }};
  19. $sta-dark-link: {{ $scr.Get "dark_link" }};
  20. $sta-dark-link-hover: {{ $scr.Get "dark_link_hover" }};
  21. $sta-dark-link-decoration: {{ $scr.Get "dark_link_decoration" }};
  22. $sta-menu-primary: {{ $scr.Get "menu_primary" }};
  23. $sta-menu-text: {{ $scr.Get "menu_text" }};
  24. $sta-menu-text-active: {{ $scr.Get "menu_text_active" }};
  25. $sta-menu-title: {{ $scr.Get "menu_title" }};
  26. $sta-dark-menu-primary: {{ $scr.Get "dark_menu_primary" }};
  27. $sta-dark-menu-text: {{ $scr.Get "dark_menu_text" }};
  28. $sta-dark-menu-text-active: {{ $scr.Get "dark_menu_text_active" }};
  29. $sta-dark-menu-title: {{ $scr.Get "dark_menu_title" }};
  30. $sta-background: {{ $scr.Get "background" }};
  31. $sta-dark-background: {{ $scr.Get "dark_background" }};
  32. $sta-home-section-odd: {{ $scr.Get "home_section_odd" }};
  33. $sta-home-section-even: {{ $scr.Get "home_section_even" }};
  34. $sta-dark-home-section-odd: {{ $scr.Get "dark_home_section_odd" }};
  35. $sta-dark-home-section-even: {{ $scr.Get "dark_home_section_even" }};
  36. @import "bootstrap_variables";
  37. @import "_vendor/bootstrap/bootstrap";
  38. @import "wowchemy/wowchemy";
  39. @import "template";
  40. @import "custom";