chore: text color consistency

This commit is contained in:
Cory Dransfeldt 2023-12-11 19:21:04 -08:00
parent cdf9604f99
commit ae230a99ce
No known key found for this signature in database
33 changed files with 43 additions and 48 deletions

View file

@ -1,6 +1,6 @@
<div class="flex flex-col md:flex-row md:items-center md:justify-between pt-5 md:pt-10">
<h1 class="text-2xl md:text-3xl font-black leading-tight pb-5 md:pb-0">
<a class="text-gray-700 dark:text-gray-200" href="/">{{ meta.siteName }}</a>
<a class="text-gray-700 dark:text-white" href="/">{{ meta.siteName }}</a>
</h1>
{% render "partials/nav/menu.liquid", page: page, nav: nav %}
</div>

View file

@ -1,6 +1,6 @@
{%- capture pageUrl %}/{{ link | downcase }}/{% endcapture -%}
{% if page.url != pageUrl %}
<a class="text-gray-700 hover:text-blue-800 dark:text-gray-200 dark:hover:text-blue-200 !no-underline" href="/{{ link | downcase }}">
<a class="text-gray-700 hover:text-blue-800 dark:text-white dark:hover:text-blue-200 !no-underline" href="/{{ link | downcase }}">
{% if icon %}
{% tablericon icon link %}
{% else %}

View file

@ -1,5 +1,5 @@
{% if albumReleases.size > 0 %}
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-white md:text-2xl mt-8 mb-4">
{% tablericon "calendar-time" "Anticipated albums" %}
Anticipated albums
</h2>

View file

@ -1,5 +1,5 @@
{% if links.size > 0 %}
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-white md:text-2xl mt-8 mb-4">
{% tablericon "link" "Links" %}
Links
</h2>

View file

@ -1,6 +1,6 @@
{% if data.size > 0 %}
{% assign media = data | normalizeMedia %}
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-white md:text-2xl mt-8 mb-4">
{% tablericon icon title %}
{{ title }}
</h2>

View file

@ -1,6 +1,6 @@
<div class="border-b border-gray-200 dark:border-gray-700 mb-8 pb-8">
<h2 class="m-0 mb-4 inline">
<a class="text-gray-700 dark:text-gray-200 text-xl font-black leading-tight tracking-normal md:text-2xl no-underline not-prose" href="/now">
<a class="text-gray-700 dark:text-white text-xl font-black leading-tight tracking-normal md:text-2xl no-underline not-prose" href="/now">
Now
</a>
</h2>

View file

@ -1,6 +1,6 @@
{% assign posts = posts | getPopularPosts: analytics %}
<div class="not-prose">
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:inline icon--bold m-0 text-xl flex flex-row items-center font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:inline icon--bold m-0 text-xl flex flex-row items-center font-black leading-tight tracking-normal dark:text-white md:text-2xl mt-8 mb-4">
{% tablericon "flame" "Popular" %}
Popular posts
</h2>

View file

@ -1,5 +1,5 @@
{% if mentions['in-reply-to'].size > 0 %}
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">Comments</h2>
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-white">Comments</h2>
<div class="mt-4 mb-4 flex flex-col items-center not-prose">
{% for mention in mentions['in-reply-to'] %}
<div class="border-bottom flex flex-row items-center border-gray-100 pb-4 w-full">
@ -10,7 +10,7 @@
</div>
</a>
<div class="ml-3">
<a class="text-gray-700 dark:text-gray-200" href={{mention.url}}>
<a class="text-gray-700 dark:text-white" href={{mention.url}}>
<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>

View file

@ -6,7 +6,7 @@
{% endif %}
{% endcapture -%}
{% if mentions[type].size > 0 %}
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">{{ title }}</h2>
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-white">{{ title }}</h2>
<div class="flex flex-row items-center mt-4 mb-6">
<ul class="ml-3 flex flex-row flex-wrap">
{% for mention in mentions[type] %}

View file

@ -1,5 +1,5 @@
{% if mentions['link-to'].size > 0 %}
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">Links</h2>
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-white">Links</h2>
<div class="mt-2.5 flex flex-col not-prose">
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for mention in mentions['link-to'] %}