Skip to content

Conversation

@Ivanov-Anton
Copy link

@Ivanov-Anton Ivanov-Anton commented Nov 7, 2025

Motivation

when I use Ruby on Rails 7 and sass-rails 6.0.0 gem I have error SassC::SyntaxError

Expected SassC::SyntaxError when compiling max(var(...)) as SCSS

for example style that lead to error

.style-name {
        right: max(var(--ts-pr-caret), 8px);
      }

style that not lead to error

.style-name {
        right: unquote('max(var(--ts-pr-caret), 8px)');
      }

@Ivanov-Anton
Copy link
Author

@nwalters512, can you review this commit? Thank you.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant