Skip to content

Commit

Permalink
Fix deprecation warnings in Sass build (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Sep 27, 2024
1 parent 88198ce commit f405db3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/assets/bundle/trestle/admin.css

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions frontend/css/components/_scopes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,22 @@
}

&.grouped {
background: #fafafa;

dd {
padding: 0.375rem 0.5rem 0.375rem;
}

@include media-breakpoint-up(md) {
display: grid;
grid-template-columns: auto 1fr;
}


@include media-breakpoint-down(md) {
.scope-group-empty:first-child {
display: none;
}
}

background: #fafafa;

dd {
padding: 0.375rem 0.5rem 0.375rem;
}
}

&.columns {
Expand Down
6 changes: 3 additions & 3 deletions frontend/css/core/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ $theme-colors: (
@each $color, $value in $theme-colors {
--#{$color}: #{$value};

--#{$color}-h: #{hue($value)};
--#{$color}-s: #{saturation($value)};
--#{$color}-l: #{lightness($value)};
--#{$color}-h: #{color.channel($value, "hue", $space: hsl)};
--#{$color}-s: #{color.channel($value, "saturation", $space: hsl)};
--#{$color}-l: #{color.channel($value, "lightness", $space: hsl)};

--#{$color}-hue: var(--#{$color}-h);
--#{$color}-saturation: var(--#{$color}-s);
Expand Down

0 comments on commit f405db3

Please sign in to comment.