Skip to content

Commit

Permalink
Uncolocated CSS Grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaydek Michels-Gualtieri committed Dec 19, 2020
1 parent c0fcb5d commit cafa83e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/duomo/builder-build-duomo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@use "core/font-size" as *;
@use "core/font-style" as *;
@use "core/font-weight" as *;
@use "core/grid" as *;
@use "core/height" as *;
@use "core/letter-spacing" as *;
@use "core/line-height" as *;
Expand Down Expand Up @@ -61,6 +62,7 @@
@if $mixin == "font-size" { @include font-size($variants...); }
@if $mixin == "font-style" { @include font-style($variants...); }
@if $mixin == "font-weight" { @include font-weight($variants...); }
@if $mixin == "grid" { @include grid($variants...); }
@if $mixin == "group" { @include group($variants...); }
@if $mixin == "height" { @include height($variants...); }
@if $mixin == "hidden" { @include hidden($variants...); }
Expand Down
2 changes: 1 addition & 1 deletion src/duomo/configuration/variants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $variants: (
container: to-array(core),
group: to-array(core),

// Stacks (and CSS Grid) take precedence.
// Stacks take precedence.
stacks: to-array(core, responsive),
border-radius: to-array(core, responsive),
border-width: to-array(core, responsive),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "../../helpers" as *;
@use "../helpers" as *;

@mixin grid($variants...) {
@include variants($variants...) using ($v) {
Expand Down
4 changes: 1 addition & 3 deletions src/duomo/extensions/stacks/stacks.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@use "../../helpers" as *;

@use "grid" as *;
@use "hstack-vstack" as *;
@use "directional-stacks" as *;
@use "zstack" as *;

$-opts: (hstack, vstack, zstack, grid);
Expand All @@ -18,5 +17,4 @@ $-opts: (hstack, vstack, zstack, grid);
}
@include hstack-vstack($variants...);
@include zstack($variants...);
@include grid($variants...);
}

0 comments on commit cafa83e

Please sign in to comment.