[Scummvm-git-logs] scummvm-web master -> 6275e2547e3d35fae8f21e54f830c5ffb0743159
lephilousophe
noreply at scummvm.org
Fri Dec 26 20:43:50 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://api.github.com/repos/scummvm/scummvm-web .
Summary:
6275e2547e CSS: Upgrade for latest sass
Commit: 6275e2547e3d35fae8f21e54f830c5ffb0743159
https://github.com/scummvm/scummvm-web/commit/6275e2547e3d35fae8f21e54f830c5ffb0743159
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2025-12-26T20:41:35Z
Commit Message:
CSS: Upgrade for latest sass
sass if function is now deprecated and relies on CSS syntax.
This also means there is no more lazy evaluation.
Changed paths:
scss/abstracts/_mixins.scss
diff --git a/scss/abstracts/_mixins.scss b/scss/abstracts/_mixins.scss
index de162b23..4cf3d346 100644
--- a/scss/abstracts/_mixins.scss
+++ b/scss/abstracts/_mixins.scss
@@ -16,7 +16,12 @@ $themes: null !default;
$raw-query: map.get($breakpoints, $breakpoint);
@if $raw-query {
- $query: if(meta.type-of($raw-query) == "string", string.unquote($raw-query), meta.inspect($raw-query));
+ $query: null;
+ @if meta.type-of($raw-query) == "string" {
+ $query: string.unquote($raw-query);
+ } @else {
+ $query: meta.inspect($raw-query);
+ }
@media #{$query} {
@content;
@@ -45,7 +50,7 @@ $themes: null !default;
///
@mixin responsive-font($responsive, $min, $max: false, $fallback: false) {
$responsive-unitless: math.div($responsive, $responsive - $responsive + 1);
- $dimension: if(math.unit($responsive) == "vh", "height", "width");
+ $dimension: if(sass(math.unit($responsive) == "vh"): "height"; else: "width");
$min-breakpoint: math.div($min, $responsive-unitless) * 100;
@if $fallback {
More information about the Scummvm-git-logs
mailing list