mirror of
https://github.com/midou36o/midou36o.github.io
synced 2024-11-26 18:01:58 +05:30
Did i just write md instead of dark? This thing will drive me crazy.
This commit is contained in:
parent
7a3eaca067
commit
ad7efaa286
@ -32,15 +32,13 @@
|
|||||||
/>
|
/>
|
||||||
<h1 class="text-black dark:text-white font-bold text-4xl md:px-2">{data.meta.title}</h1>
|
<h1 class="text-black dark:text-white font-bold text-4xl md:px-2">{data.meta.title}</h1>
|
||||||
</div>
|
</div>
|
||||||
<!-- dirty hack to give the illusion the text is properly visible on both light and dark mode -->
|
<p class="block text-gray-600 dark:text-gray-500 p-3 py-1">
|
||||||
<p class="block text-gray-800 md:text-gray-500 p-3 py-1">
|
|
||||||
Tags:
|
Tags:
|
||||||
{#each data.meta.categories as category}
|
{#each data.meta.categories as category}
|
||||||
<span class="surface-4"> #{category} </span>
|
<span class="surface-4"> #{category} </span>
|
||||||
{/each}
|
{/each}
|
||||||
</p>
|
</p>
|
||||||
<!-- dirty hack to give the illusion the text is properly visible on both light and dark mode -->
|
<p class="block text-gray-600 dark:text-gray-500 p-3 py-1">
|
||||||
<p class="block text-gray-800 md:text-gray-500 p-3 py-1">
|
|
||||||
{convertDate(data.meta.date)}
|
{convertDate(data.meta.date)}
|
||||||
</p>
|
</p>
|
||||||
<a href="/blog" data-sveltekit-preload-code>
|
<a href="/blog" data-sveltekit-preload-code>
|
||||||
|
Loading…
Reference in New Issue
Block a user