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

Runtime Motif Configuration #129

Closed
paragonie-scott opened this issue Aug 27, 2016 · 1 comment
Closed

Runtime Motif Configuration #129

paragonie-scott opened this issue Aug 27, 2016 · 1 comment

Comments

@paragonie-scott
Copy link
Member

@paragonie-scott paragonie-scott commented Aug 27, 2016

Coming in v1.3.0, Airship captains should be able to adjust configuration options for their motifs instead of creating their own motif and adjusting the knobs there.

In templates, this will be facilitated by a new global (MOTIF) that provides read-only access to the current configuration.

{{ MOTIF["header"]["background-color"] }} {# example: #00FF00 #}
{% if MOTIF["showLogo"] %} <img src="foo" />{% endif %}

We may also want to allow some motifs to allow users to customize their experience. I'm not sure if I'll fold this into 1.3.0 or wait until a new version, as it does increase the complexity significantly.

@paragonie-scott paragonie-scott added this to the Version 1.3.0 milestone Aug 27, 2016
paragonie-scott added a commit that referenced this issue Aug 28, 2016
Allow Motifs to be Configured (See #129)
@paragonie-scott
Copy link
Member Author

@paragonie-scott paragonie-scott commented Aug 28, 2016

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.