You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v1.65, SASS supports the CSS rem() function, which returns the remainder of a division. Of course, the two functions clash, but I was under the impression that a user-defined function would always override a native function. However, this does not seem to be the case, as the last line in the above snippet throws:
Error: 2 arguments required, but only 1 was passed.
╷
11 │ $max-content-width: rem(1296);
│ ^^^^^^^^^
╵
src/assets/styles/helpers.scss 11:21 @use
This is unexpected—am I doing something wrong, or is this a regression?
The text was updated successfully, but these errors were encountered:
I have a custom
rem()
function defined that turns a pixel value into a rem-Value:As of
v1.65
, SASS supports the CSSrem()
function, which returns the remainder of a division. Of course, the two functions clash, but I was under the impression that a user-defined function would always override a native function. However, this does not seem to be the case, as the last line in the above snippet throws:This is unexpected—am I doing something wrong, or is this a regression?
The text was updated successfully, but these errors were encountered: