Add faStyle conf opt

This commit is contained in:
Christopher Cookman 2025-12-20 20:05:32 -07:00
parent 4977e08691
commit 10f5c51e42
2 changed files with 2 additions and 1 deletions

View file

@ -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": {

View file

@ -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 || '' %>