Skip to content

Conversation

@shadowfacts
Copy link

@shadowfacts shadowfacts commented Mar 30, 2025

The existing custom functions require a function pointer, not a closure, which makes it difficult to inject variable data when creating the compiler options. This PR adds custom variables, which are a map of Strings to sass_value::Values which handles this use case. Global variables are used as a fallback when a Sass-defined variable cannot be found in the environment.

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