You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_valo.scss 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Import global variables
  2. @import "shared/variables";
  3. // Import all utility mixins and functions
  4. @import "util/bourbon/bourbon";
  5. @import "util/lists";
  6. @import "util/css3";
  7. @import "util/color";
  8. @import "util/anim";
  9. @import "util/gradient";
  10. @import "util/bevel-and-shadow";
  11. @import "util/util";
  12. // Import custom font mixins
  13. @import "fonts/fonts";
  14. // Include custom font faces if they are used by the theme
  15. @if contains($v-font-family, "Open Sans") {
  16. @include font-open-sans($light: true, $regular: true, $medium: true);
  17. }
  18. @if contains($v-font-family, "Source Sans Pro") {
  19. @include font-source-sans-pro($light: true, $regular: true, $medium: true);
  20. }
  21. @if contains($v-font-family, "Roboto") {
  22. @include font-roboto($light: true, $regular: true, $medium: true);
  23. }
  24. @if contains($v-font-family, "Lato") {
  25. @include font-lato($light: true, $regular: true, $bold: true);
  26. }
  27. @if contains($v-font-family, "Lora") {
  28. @include font-lora($regular: true, $bold: true);
  29. }
  30. // Import global mixins
  31. @import "shared/global";
  32. // Import component specific mixins
  33. @import "components/all";
  34. // Include global styles directly, without a theme name prefix (this is done only once)
  35. @include valo-global;
  36. /**
  37. * The main Valo theme mixin, which outputs all the selectors and properties to produce
  38. * the variation specified by global variables. Should not be included multiple times
  39. * per compilation.
  40. */
  41. @mixin valo {
  42. @include valo-common;
  43. @include valo-components;
  44. }