-
Notifications
You must be signed in to change notification settings - Fork 453
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
syntax: variables #105
Comments
@alixander is there a sketch of a design for this? I'm very interested in the idea (I'm switching from mermaid to d2 in the documentation for https://starbeamjs.com/, and the need to represent common concepts like "invalidation" or "output" in a consistent way is the biggest hurdle so far). I've created a very simplistic preprocessor in my own codebase for style variables, but I'd also be interested in helping with the overall design. |
we should have a concept of "reserved vars". e.g. for color codes to override themes. Probably more instances of it being useful |
E.g. have $vars.light_primary hold the hex code which you reference as background on a bunch of objects
The text was updated successfully, but these errors were encountered: