Merge branch 'master' into new-helpers

This commit is contained in:
Jeremy Thomas
2020-06-07 12:10:36 +01:00
39 changed files with 11551 additions and 130 deletions

View File

@@ -75,3 +75,4 @@ $speed: 86ms !default
// Flags
$variable-columns: true !default
$rtl: false !default

View File

@@ -128,6 +128,30 @@
@media screen and (min-width: $fullhd)
@content
=ltr
@if not $rtl
@content
=rtl
@if $rtl
@content
=ltr-property($property, $spacing, $right: true)
$normal: if($right, "right", "left")
$opposite: if($right, "left", "right")
@if $rtl
#{$property}-#{$opposite}: $spacing
@else
#{$property}-#{$normal}: $spacing
=ltr-position($spacing, $right: true)
$normal: if($right, "right", "left")
$opposite: if($right, "left", "right")
@if $rtl
#{$opposite}: $spacing
@else
#{$normal}: $spacing
// Placeholders
=unselectable