Sha256: ee79a7dd801b057a49e0eedb30ac79af95049f98b0e454d063b060b28d9f9f3b
Contents?: true
Size: 1.5 KB
Versions: 12
Compression:
Stored size: 1.5 KB
Contents
// PATCH_BEGIN $roboto-font-path: 'roboto-fontface/fonts' !default; // PATCH_END @mixin roboto-font($folder, $variant, $type, $weight, $style) { $font-full-path: '#{$roboto-font-path}/#{$folder}/#{$variant}'; // PATCH_BEGIN @font-face { font-family: '#{$variant}'; src: font-url('#{$font-full-path}-#{$type}.eot'); src: local('#{$variant} #{$type}'), local('#{$variant}-#{$type}'), font-url('#{$font-full-path}-#{$type}.eot?#iefix') format('embedded-opentype'), font-url('#{$font-full-path}-#{$type}.woff2') format('woff2'), font-url('#{$font-full-path}-#{$type}.woff') format('woff'), font-url('#{$font-full-path}-#{$type}.ttf') format('truetype'), font-url('#{$font-full-path}-#{$type}.svg##{$variant}') format('svg'); font-weight: $weight; font-style: $style; } @font-face { font-family: '#{$variant}-#{$type}'; src: font-url('#{$font-full-path}-#{$type}.eot'); src: local('#{$variant} #{$type}'), local('#{$variant}-#{$type}'), font-url('#{$font-full-path}-#{$type}.eot?#iefix') format('embedded-opentype'), font-url('#{$font-full-path}-#{$type}.woff2') format('woff2'), font-url('#{$font-full-path}-#{$type}.woff') format('woff'), font-url('#{$font-full-path}-#{$type}.ttf') format('truetype'), font-url('#{$font-full-path}-#{$type}.svg##{$variant}') format('svg'); } // PATCH_END }
Version data entries
12 entries across 12 versions & 2 rubygems