This commit is contained in:
Jeremy Thomas
2024-11-11 10:22:12 +00:00
parent 4abe784fc4
commit 5531ee1d11
25 changed files with 901 additions and 316 deletions

View File

@@ -1,8 +1,10 @@
@use "sass:list";
@use "../utilities/initial-variables" as iv;
@each $pair in iv.$aspect-ratios {
$w: nth($pair, 1);
$h: nth($pair, 2);
$w: list.nth($pair, 1);
$h: list.nth($pair, 2);
.#{iv.$helpers-prefix}aspect-ratio-#{$w}by#{$h} {
aspect-ratio: #{$w} / #{$h};