diff options
| author | Volpeon <git@volpeon.ink> | 2024-06-24 16:53:34 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-06-24 16:53:34 +0200 |
| commit | 04f8e9dbdc57a53f004e6238dfacc917bafdbbff (patch) | |
| tree | 933b35acac2b34ca1130acef64d6c3ba1f578f32 | |
| parent | Fix (diff) | |
| download | iro-sass-04f8e9dbdc57a53f004e6238dfacc917bafdbbff.tar.gz iro-sass-04f8e9dbdc57a53f004e6238dfacc917bafdbbff.tar.bz2 iro-sass-04f8e9dbdc57a53f004e6238dfacc917bafdbbff.zip | |
Fuck
| -rw-r--r-- | src/_functions.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/_functions.scss b/src/_functions.scss index fe28088..fa6ed39 100644 --- a/src/_functions.scss +++ b/src/_functions.scss | |||
| @@ -359,9 +359,11 @@ $units: ( | |||
| 359 | /// | 359 | /// |
| 360 | @function to-length($value, $unit) { | 360 | @function to-length($value, $unit) { |
| 361 | @if not list.index(map.keys($units), $unit) { | 361 | @if not list.index(map.keys($units), $unit) { |
| 362 | @error 'Invalid unit `#{$unit} | 362 | @error 'Invalid unit `#{$unit}`.'; |
| 363 | } | ||
| 363 | 364 | ||
| 364 | @return $value * map.get($units, $unit); | 365 | @return $value * map.get($units, $unit); |
| 366 | } | ||
| 365 | 367 | ||
| 366 | /// | 368 | /// |
| 367 | /// A mixin with the sole purpose of letting you use temporary variables without polluting the global namespace. | 369 | /// A mixin with the sole purpose of letting you use temporary variables without polluting the global namespace. |
| @@ -370,6 +372,4 @@ $units: ( | |||
| 370 | /// | 372 | /// |
| 371 | @mixin execute { | 373 | @mixin execute { |
| 372 | @content; | 374 | @content; |
| 373 | }`.'; | 375 | } |
| 374 | } | ||
| 375 | } | ||
