[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/vendor/roboto-fontface/scss/ -> mixins.scss (source)

   1  $roboto-font-path: '../../../fonts' !default;
   2  
   3  @mixin roboto-font($folder, $variant, $type, $weight, $style) {
   4  
   5      $font-full-path: '#{$roboto-font-path}/#{$folder}/#{$variant}';
   6  
   7      @font-face {
   8          font-family: '#{$variant}';
   9          src: url('#{$font-full-path}-#{$type}.woff2') format('woff2'),
  10               url('#{$font-full-path}-#{$type}.woff') format('woff');
  11          font-weight: $weight;
  12          font-style: $style;
  13      }
  14  
  15      @font-face {
  16          font-family: '#{$variant}-#{$type}';
  17          src: url('#{$font-full-path}-#{$type}.woff2') format('woff2'),
  18               url('#{$font-full-path}-#{$type}.woff') format('woff');
  19      }
  20  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer