From 03256e4f9de9654c183028123d0d46e8eb6e422d Mon Sep 17 00:00:00 2001 From: Inhji Date: Mon, 10 Apr 2023 17:25:57 +0200 Subject: [PATCH] fix svg color --- assets/css/app.css | 2 +- lib/chiya_web/controllers/identity_html/index.html.heex | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 091a0db..8c71781 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -84,7 +84,7 @@ /* Set width and color for identity icons */ a[rel] svg { width: 1em; - fill: rgb(var(--color-text-primary)); + fill: rgb(var(--color-primary)); } /* Set width and color for identity icons */ diff --git a/lib/chiya_web/controllers/identity_html/index.html.heex b/lib/chiya_web/controllers/identity_html/index.html.heex index 664d253..e388ea7 100644 --- a/lib/chiya_web/controllers/identity_html/index.html.heex +++ b/lib/chiya_web/controllers/identity_html/index.html.heex @@ -8,7 +8,9 @@ <.table id="identities" rows={@identities} row_click={&JS.navigate(~p"/admin/identities/#{&1}")}> - <:col :let={identity} label="Icon"><%= raw(identity.icon) %> + <:col :let={identity} label="Icon"> + <%= raw(identity.icon) %> + <:col :let={identity} label="Name"><%= identity.name %> <:col :let={identity} label="Rel"><%= identity.rel %> <:col :let={identity} label="Url"><%= identity.url %>