change link color to primary

This commit is contained in:
Inhji 2023-04-09 23:51:45 +02:00
parent c13675a492
commit 7fa21aaa6f
3 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@
/* Set width and color for identity icons */ /* Set width and color for identity icons */
a[rel] svg { a[rel] svg {
width: 1em; width: 1em;
fill: rgb(var(--color-text-heading)); fill: rgb(var(--color-text-primary));
} }
/* Set width and color for identity icons */ /* Set width and color for identity icons */

View file

@ -12,7 +12,7 @@
href={~p"/#{note.slug}"} href={~p"/#{note.slug}"}
class="rounded -mx-2 -my-0.5 px-2 py-0.5 hover:bg-theme-primary/10 transition" class="rounded -mx-2 -my-0.5 px-2 py-0.5 hover:bg-theme-primary/10 transition"
> >
<span class="text-theme-heading text-lg font-semibold leading-8"><%= note.name %></span> <span class="text-theme-primary text-lg font-semibold leading-8"><%= note.name %></span>
<span class="text-theme-base text-sm"><%= pretty_date(note.published_at) %></span> <span class="text-theme-base text-sm"><%= pretty_date(note.published_at) %></span>
</a> </a>
<% end %> <% end %>

View file

@ -29,7 +29,7 @@
href={~p"/#{note.slug}"} href={~p"/#{note.slug}"}
class="rounded-lg -mx-2 -my-0.5 px-2 py-0.5 hover:bg-theme-primary/10 transition" class="rounded-lg -mx-2 -my-0.5 px-2 py-0.5 hover:bg-theme-primary/10 transition"
> >
<span class="text-theme-heading text-lg font-semibold leading-8"> <span class="text-theme-primary text-lg font-semibold leading-8">
<%= note.name %> <%= note.name %>
</span> </span>
<span class="text-theme-base text-sm"><%= pretty_date(note.published_at) %></span> <span class="text-theme-base text-sm"><%= pretty_date(note.published_at) %></span>