Use a darker blue

This commit is contained in:
Oliver Davies 2021-06-30 08:00:00 +01:00
parent c1278f7d6f
commit 9058eb107e
4 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
@layer components {
.link {
@apply text-blue-700 dark:text-blue-400;
text-decoration-color: theme('colors.blue.700');
@apply text-blue-800 dark:text-blue-400;
text-decoration-color: theme('colors.blue.800');
text-decoration-line: underline;
text-decoration-thickness: 1px;
text-underline-offset: 0.1em;

View file

@ -11,7 +11,7 @@ intro_text: |
{% for talk in data.posts|sort((a, b) => a.date < b.date) %}
<article>
<h2>
<a class="text-blue-700 dark:text-blue-400" href="{{ talk.url }}">
<a class="text-blue-800 dark:text-blue-400" href="{{ talk.url }}">
{{ talk.title }}
</a>
</h2>

View file

@ -11,7 +11,7 @@ intro_text: |
{% for talk in data.talks|sort((a,b) => a.sortable_date < b.sortable_date) %}
<article>
<h2>
<a class="text-blue-700 dark:text-blue-400" href="{{ talk.url }}">
<a class="text-blue-800 dark:text-blue-400" href="{{ talk.url }}">
{{ talk.title }}
</a>
</h2>

View file

@ -5,7 +5,7 @@
<a href="/">
<svg
aria-hidden="true"
class="w-16 h-16 text-blue-700 fill-current dark:text-blue-400 md:w-18 md:h-18"
class="w-16 h-16 text-blue-800 fill-current dark:text-blue-400 md:w-18 md:h-18"
viewBox="0 0 706 504"
xmlns="http://www.w3.org/2000/svg"
>
@ -21,7 +21,7 @@
<nav class="flex flex-col items-center mt-4 md:mt-0 md:flex-row md:space-x-4">
{% for item in site.menus.main %}
{% set is_active = page.url matches '#' ~ item.is_active ~ '#' %}
<a class="text-black dark:text-white border-b-3 py-2 {{ is_active ? 'border-blue-700 dark:border-blue-400' : 'border-transparent' }}" href="{{ item.href }}">{{ item.title }}</a>
<a class="text-black dark:text-white border-b-3 py-2 {{ is_active ? 'border-blue-800 dark:border-blue-400' : 'border-transparent' }}" href="{{ item.href }}">{{ item.title }}</a>
{% endfor %}
</nav>
</div>