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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for reading Sass values? #210

Open
Aupajo opened this issue Jul 20, 2020 · 0 comments
Open

API for reading Sass values? #210

Aupajo opened this issue Jul 20, 2020 · 0 comments

Comments

@Aupajo
Copy link

Aupajo commented Jul 20, 2020

Hi 👋 I'm wondering if there's an API that lets me read the compiled values of variables.

Something like:

raw_sass = '$hello: "World";'
Sassc::SOMETHING.parse(raw_sass).variables # => { "$hello" => #<SassString @value="World"> }

Does such an API exist?

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

No branches or pull requests

1 participant