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