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

Version Path
ext_yarn-0.6.0 vendor/roboto-fontface/css/mixins.scss
ext_yarn-0.5.0 vendor/roboto-fontface/css/mixins.scss
ext_yarn-0.4.0 vendor/roboto-fontface/css/mixins.scss
ext_yarn-0.3.1 vendor/roboto-fontface/css/mixins.scss
ext_yarn-0.3.0 vendor/roboto-fontface/css/mixins.scss
ext_yarn-0.2.0 vendor/roboto-fontface/css/mixins.scss
ext_yarn-0.1.2 node_modules/roboto-fontface/css/mixins.scss
ext_yarn-0.1.1 node_modules/roboto-fontface/css/mixins.scss
ext_yarn-0.1.0 node_modules/roboto-fontface/css/mixins.scss
ext_sprockets-0.1.6 node_modules/roboto-fontface/css/mixins.scss
ext_sprockets-0.1.5 node_modules/roboto-fontface/css/mixins.scss
ext_sprockets-0.1.1 node_modules/roboto-fontface/css/mixins.scss