mirror of
https://github.com/midou36o/midou36o.github.io
synced 2024-11-30 02:21:59 +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>
|
||||
</div>
|
||||
<!-- dirty hack to give the illusion the text is properly visible on both light and dark mode -->
|
||||
<p class="block text-gray-800 md:text-gray-500 p-3 py-1">
|
||||
<p class="block text-gray-600 dark:text-gray-500 p-3 py-1">
|
||||
Tags:
|
||||
{#each data.meta.categories as category}
|
||||
<span class="surface-4"> #{category} </span>
|
||||
{/each}
|
||||
</p>
|
||||
<!-- dirty hack to give the illusion the text is properly visible on both light and dark mode -->
|
||||
<p class="block text-gray-800 md:text-gray-500 p-3 py-1">
|
||||
<p class="block text-gray-600 dark:text-gray-500 p-3 py-1">
|
||||
{convertDate(data.meta.date)}
|
||||
</p>
|
||||
<a href="/blog" data-sveltekit-preload-code>
|
||||
|
Loading…
Reference in New Issue
Block a user