Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated warning scss functions #37497

Closed
MoatezNG opened this issue Nov 15, 2022 · 2 comments
Closed

Deprecated warning scss functions #37497

MoatezNG opened this issue Nov 15, 2022 · 2 comments

Comments

@MoatezNG
Copy link

Hi! 馃憢

Firstly, thanks for your work on this project! 馃檪

Today I used patch-package to patch bootstrap@5.2.2 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/bootstrap/scss/_functions.scss b/node_modules/bootstrap/scss/_functions.scss
index 969a4b0..26c953b 100644
--- a/node_modules/bootstrap/scss/_functions.scss
+++ b/node_modules/bootstrap/scss/_functions.scss
@@ -198,7 +198,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
 // Return opaque color
 // opaque(#fff, rgba(0, 0, 0, .5)) => #808080
 @function opaque($background, $foreground) {
-  @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100);
+  @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100%);
 }
 
 // scss-docs-start color-functions

This issue body was partially generated by patch-package.

@julien-deramond
Copy link
Member

Closing it. Duplicate of #37424 already fixed.

@julien-deramond julien-deramond closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2022
@yanyiik99
Copy link

thank you brother

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants