From 10f5c51e42b72c5c957227e308c49c932635960e Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sat, 20 Dec 2025 20:05:32 -0700 Subject: [PATCH] Add faStyle conf opt --- buttons.json | 1 + views/index.ejs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 || '' %>