mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 19:17:12 +00:00
10 lines
463 B
SCSS
10 lines
463 B
SCSS
|
// Font feature settings mixin and property default.
|
||
|
// Examples: @include font-feature-settings("liga");
|
||
|
// @include font-feature-settings("lnum" false);
|
||
|
// @include font-feature-settings("pnum" 1, "kern" 0);
|
||
|
// @include font-feature-settings("ss01", "ss02");
|
||
|
|
||
|
@mixin font-feature-settings($settings...) {
|
||
|
@if length($settings) == 0 { $settings: none; }
|
||
|
@include prefixer(font-feature-settings, $settings, webkit moz ms spec);
|
||
|
}
|