diff --git a/buttons.json b/buttons.json index 2ed5cd3..cd6db63 100644 --- a/buttons.json +++ b/buttons.json @@ -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": { diff --git a/views/index.ejs b/views/index.ejs index 812ac95..e4b8ba0 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -73,7 +73,7 @@ <% if (ctx.dial) { %> data-dial="<%= ctx.dial %>" <% } %> > <% if (cell.faIcon) { %> - style="color: <%= cell.faColor %>" <% } %>> + style="<%= cell.faStyle %>" <% } %>> <%= cell.text || '' %> <% } else { %> <%= cell.text || '' %>