Sha256: 0b43381c7a6b304dc0ca91aa7bf1ddb7e44eab47576be28d26b5ae516f369a9a
Contents?: true
Size: 789 Bytes
Versions: 4
Compression:
Stored size: 789 Bytes
Contents
// どこでも font-weight と text-align と color と +top() が書ける設定 =text-block-options($value) font-weight: if(font_weight($value), $value, null) text-align: if(text_align($value), $value, null) color: if(color($value), $value, null) @if px($value) +top($value, null) // +text-block($font-size $line-height $margin-bottom, $font-weight $text-align $color $top) =text-block($value1: null, $value2: null) +rem('font-size', nth($value1, 1)) +rem('line-height', optional_nth($value1, 2)) +rem('margin-bottom', optional_nth($value1, 3)) @if ($value2) @for $i from 1 through length($value2) +text-block-options(nth($value2, $i)) =letter-spacing-center($space-width: null) +rem('letter-spacing', $space-width) +rem('text-indent', $space-width)
Version data entries
4 entries across 4 versions & 2 rubygems