all.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. $enable-font-open-sans: dynamic(true);
  2. @if $enable-font-open-sans {
  3. $triton-font-path: get-resource-path('fonts', 'shared');
  4. @font-face {
  5. font-family: 'Open Sans';
  6. src: url('#{$triton-font-path}/OpenSans-Light.ttf');
  7. font-weight: 300;
  8. font-style: normal;
  9. }
  10. @font-face {
  11. font-family: 'Open Sans';
  12. src: url('#{$triton-font-path}/OpenSans-LightItalic.ttf');
  13. font-weight: 300;
  14. font-style: italic;
  15. }
  16. @font-face {
  17. font-family: 'Open Sans';
  18. src: url('#{$triton-font-path}/OpenSans-Regular.ttf');
  19. font-weight: 400;
  20. font-style: normal;
  21. }
  22. @font-face {
  23. font-family: 'Open Sans';
  24. src: url('#{$triton-font-path}/OpenSans-Italic.ttf');
  25. font-weight: 400;
  26. font-style: italic;
  27. }
  28. @font-face {
  29. font-family: 'Open Sans';
  30. src: url('#{$triton-font-path}/OpenSans-Semibold.ttf');
  31. font-weight: 600;
  32. font-style: normal;
  33. }
  34. @font-face {
  35. font-family: 'Open Sans';
  36. src: url('#{$triton-font-path}/OpenSans-SemiboldItalic.ttf');
  37. font-weight: 600;
  38. font-style: italic;
  39. }
  40. @font-face {
  41. font-family: 'Open Sans';
  42. src: url('#{$triton-font-path}/OpenSans-Bold.ttf');
  43. font-weight: 700;
  44. font-style: normal;
  45. }
  46. @font-face {
  47. font-family: 'Open Sans';
  48. src: url('#{$triton-font-path}/OpenSans-BoldItalic.ttf');
  49. font-weight: 700;
  50. font-style: italic;
  51. }
  52. @font-face {
  53. font-family: 'Open Sans';
  54. src: url('#{$triton-font-path}/OpenSans-ExtraBold.ttf');
  55. font-weight: 800;
  56. font-style: normal;
  57. }
  58. @font-face {
  59. font-family: 'Open Sans';
  60. src: url('#{$triton-font-path}/OpenSans-ExtraBoldItalic.ttf');
  61. font-weight: 800;
  62. font-style: italic;
  63. }
  64. }
  65. @import 'functions';