fix svg color

This commit is contained in:
Inhji 2023-04-10 17:25:57 +02:00
parent aa12a24c9c
commit 03256e4f9d
2 changed files with 4 additions and 2 deletions

View file

@ -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 */

View file

@ -8,7 +8,9 @@
</.header>
<.table id="identities" rows={@identities} row_click={&JS.navigate(~p"/admin/identities/#{&1}")}>
<:col :let={identity} label="Icon"><%= raw(identity.icon) %></:col>
<:col :let={identity} label="Icon">
<span class="fill-gray-900 dark:fill-gray-200"><%= raw(identity.icon) %></span>
</:col>
<:col :let={identity} label="Name"><%= identity.name %></:col>
<:col :let={identity} label="Rel"><%= identity.rel %></:col>
<:col :let={identity} label="Url"><%= identity.url %></:col>