Skip to content

Commit f405db3

Browse files
authored
Fix deprecation warnings in Sass build (#505)
1 parent 88198ce commit f405db3

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

app/assets/bundle/trestle/admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/css/components/_scopes.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,22 @@
66
}
77

88
&.grouped {
9+
background: #fafafa;
10+
11+
dd {
12+
padding: 0.375rem 0.5rem 0.375rem;
13+
}
14+
915
@include media-breakpoint-up(md) {
1016
display: grid;
1117
grid-template-columns: auto 1fr;
1218
}
1319

14-
1520
@include media-breakpoint-down(md) {
1621
.scope-group-empty:first-child {
1722
display: none;
1823
}
1924
}
20-
21-
background: #fafafa;
22-
23-
dd {
24-
padding: 0.375rem 0.5rem 0.375rem;
25-
}
2625
}
2726

2827
&.columns {

frontend/css/core/_theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ $theme-colors: (
1111
@each $color, $value in $theme-colors {
1212
--#{$color}: #{$value};
1313

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

1818
--#{$color}-hue: var(--#{$color}-h);
1919
--#{$color}-saturation: var(--#{$color}-s);

0 commit comments

Comments
 (0)