chore: simplify colors

This commit is contained in:
Cory Dransfeldt 2023-10-28 17:26:30 -07:00
parent 67adea35a3
commit ec35c70418
29 changed files with 79 additions and 75 deletions

View file

@ -5,14 +5,14 @@
<div class="border-bottom flex flex-row items-center border-gray-100 pb-4 w-full">
<div class="group flex flex-row space-between items-center">
<a href={{mention.url}}>
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-900 transition-all ease-in-out duration-300 group-hover:border-pink-500 dark:group-hover:border-pink-500 rounded-full overflow-hidden">
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-200 transition-all ease-in-out duration-300 group-hover:border-blue-800 dark:group-hover:border-blue-200 rounded-full overflow-hidden">
{% image mention.author.photo, mention.author.name %}
</div>
</a>
<div class="ml-3">
<a class="text-gray-700 dark:text-gray-200" href={{mention.url}}>
<p class="text-sm group-hover:text-pink-500 dark:group-hover:text-pink-500">{{ mention.content.text }}</p>
<p class="mt-1 text-xs group-hover:text-pink-500 dark:group-hover:text-pink-500">{{ mention.published | isoDateOnly }}</p>
<p class="text-sm group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.content.text }}</p>
<p class="mt-1 text-xs group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.published | isoDateOnly }}</p>
</a>
</div>
</div>

View file

@ -12,7 +12,7 @@
{% for mention in mentions[type] %}
<li class="-ml-3 inline">
<a href={{mention.url}}>
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-900 transition-all ease-in-out duration-300 hover:border-pink-500 dark:hover:border-pink-500 rounded-full overflow-hidden">
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-900 transition-all ease-in-out duration-300 hover:border-blue-800 dark:hover:border-blue-200 rounded-full overflow-hidden">
{% image mention.author.photo, mention.author.name %}
</div>
</a>

View file

@ -4,7 +4,7 @@
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for mention in mentions['link-to'] %}
<li class="mt-1.5 mb-2">
<a href="{{ mention.url }}" class="text-blue-500 hover:text-blue-600 dark:text-blue-400 dark:hover:text-blue-300">
<a href="{{ mention.url }}" class="text-blue-500 hover:text-blue-600 dark:text-blue-400 dark:hover:text-blue-200">
{{ mention.name }}
</a>
</li>