We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
d2-config
theme-colors
vars: { d2-config: { theme: 123 dark-theme: 123 layout: elk sketch: false pad: 0 theme-colors: { N1: "#FFF" } } }
The text was updated successfully, but these errors were encountered:
Does this mean, we can have the config in a separate D2 file and import it into other files that contain only business logic?
Sorry, something went wrong.
yes.
configs.d2
theme: 123 dark-theme: 211
main.d2
vars: { d2-config: @configs }
Successfully merging a pull request may close this issue.
d2-config
variables should be secondary to CLI flags and env vars, but used if not defined anywhere elsetheme-colors
is an advanced feature that lets you override any theme variables, and can be used to design your own themeThe text was updated successfully, but these errors were encountered: