Commit be833631 authored by Bernard Ngandu's avatar Bernard Ngandu Committed by GitHub

#1829 add color for different omemo state (#2260)

* #1829 css var instead of hard coded colors
parent 846ef068
......@@ -502,6 +502,7 @@ function getOMEMOToolbarButton (toolbar_el, buttons) {
@click=${toggleOMEMO}>
<converse-icon class="fa ${model.get('omemo_active') ? `fa-lock` : `fa-unlock`}"
path-prefix="${api.settings.get('assets_path')}" size="1em"
color="${model.get('omemo_active') ? `var(--info-color)` : `var(--error-color)`}"
></converse-icon>
</button>`
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment