Add faStyle conf opt
This commit is contained in:
parent
4977e08691
commit
10f5c51e42
|
|
@ -8,6 +8,7 @@
|
||||||
"text": "Live Page",
|
"text": "Live Page",
|
||||||
"btnClass": "btn-primary",
|
"btnClass": "btn-primary",
|
||||||
"faIcon": "fa-duotone fa-solid fa-bullhorn",
|
"faIcon": "fa-duotone fa-solid fa-bullhorn",
|
||||||
|
"faStyle": "--fa-primary-color: #ff0000; --fa-secondary-color: #ff0000;"
|
||||||
"name": "LivePage",
|
"name": "LivePage",
|
||||||
"doubleHeight": true,
|
"doubleHeight": true,
|
||||||
"context": {
|
"context": {
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
<% if (ctx.dial) { %> data-dial="<%= ctx.dial %>" <% } %>
|
<% if (ctx.dial) { %> data-dial="<%= ctx.dial %>" <% } %>
|
||||||
>
|
>
|
||||||
<% if (cell.faIcon) { %>
|
<% if (cell.faIcon) { %>
|
||||||
<i class="<%= cell.faIcon %> me-2" <% if (cell.faColor) { %> style="color: <%= cell.faColor %>" <% } %>></i>
|
<i class="<%= cell.faIcon %> me-2" <% if (cell.faStyle) { %> style="<%= cell.faStyle %>" <% } %>></i>
|
||||||
<span><%= cell.text || '' %></span>
|
<span><%= cell.text || '' %></span>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<%= cell.text || '' %>
|
<%= cell.text || '' %>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue