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

Feature Request: return parsed variables #46

Open
markhalliwell opened this issue Aug 17, 2010 · 0 comments
Open

Feature Request: return parsed variables #46

markhalliwell opened this issue Aug 17, 2010 · 0 comments

Comments

@markhalliwell
Copy link

Create a feature that allows you to parse a less document and return set variables in an array. This would be useful when trying to create a theme file that has predefined constants

Example:

@color1: #ff0000;
@Color2: #0000ff;

would return:

array(
'color1' => '#ff0000',
'color2' => '#0000ff',
)

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