From 1834095b23e5124742d7412735c4275f7ee8850a Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 7 Feb 2023 16:25:47 -0300 Subject: [PATCH 1/2] DEV: Dart Sass deprecation (#150) --- assets/stylesheets/common/campaign.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/stylesheets/common/campaign.scss b/assets/stylesheets/common/campaign.scss index 94d783d..ebd635a 100644 --- a/assets/stylesheets/common/campaign.scss +++ b/assets/stylesheets/common/campaign.scss @@ -1,3 +1,5 @@ +@use "sass:math"; + .subscription-campaign-sidebar { #main-outlet .container.list-container @@ -329,11 +331,10 @@ $sidebar-box-shadow2: (); @for $i from 0 through $particles { $box-shadow: $box-shadow, - random($width)-$width / - 2 + + random($width)-$width * + 0.5 + px - random($height)-$height / - 1.2 + + random($height)-math.div($height, 1.2) + px hsl(random(360), 100, 50); $box-shadow2: $box-shadow2, 0 0 #fff; @@ -341,11 +342,10 @@ $sidebar-box-shadow2: (); @for $i from 0 through $sidebar-particles { $sidebar-box-shadow: $sidebar-box-shadow, - random($sidebar-width)-$sidebar-width / - 2 + + random($sidebar-width)-$sidebar-width * + 0.5 + px - random($sidebar-height)-$sidebar-height / - 1.2 + + random($sidebar-height)-math.div($sidebar-height, 1.2) + px hsl(random(360), 100, 50); $sidebar-box-shadow2: $sidebar-box-shadow2, 0 0 #fff; From bb99a9a66adc77ade8435ce60af8f1a010efbf94 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 7 Feb 2023 18:33:31 -0300 Subject: [PATCH 2/2] Revert "DEV: Dart Sass deprecation (#150)" (#151) This reverts commit 1834095b23e5124742d7412735c4275f7ee8850a. --- assets/stylesheets/common/campaign.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/stylesheets/common/campaign.scss b/assets/stylesheets/common/campaign.scss index ebd635a..94d783d 100644 --- a/assets/stylesheets/common/campaign.scss +++ b/assets/stylesheets/common/campaign.scss @@ -1,5 +1,3 @@ -@use "sass:math"; - .subscription-campaign-sidebar { #main-outlet .container.list-container @@ -331,10 +329,11 @@ $sidebar-box-shadow2: (); @for $i from 0 through $particles { $box-shadow: $box-shadow, - random($width)-$width * - 0.5 + + random($width)-$width / + 2 + px - random($height)-math.div($height, 1.2) + + random($height)-$height / + 1.2 + px hsl(random(360), 100, 50); $box-shadow2: $box-shadow2, 0 0 #fff; @@ -342,10 +341,11 @@ $sidebar-box-shadow2: (); @for $i from 0 through $sidebar-particles { $sidebar-box-shadow: $sidebar-box-shadow, - random($sidebar-width)-$sidebar-width * - 0.5 + + random($sidebar-width)-$sidebar-width / + 2 + px - random($sidebar-height)-math.div($sidebar-height, 1.2) + + random($sidebar-height)-$sidebar-height / + 1.2 + px hsl(random(360), 100, 50); $sidebar-box-shadow2: $sidebar-box-shadow2, 0 0 #fff;