Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

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

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
Copy link
Member Author

Done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant