♻️ Adopt new Tailwind typography theming

This commit is contained in:
James Panther
2022-01-17 14:14:52 +11:00
parent 30fad56aed
commit ad495ca9ef
14 changed files with 278 additions and 420 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
{{ partial "article-meta.html" . }}
</div>
{{ if .Params.showSummary | default (.Site.Params.list.showSummary | default false) }}
<div class="py-1 prose dark:prose-light">
<div class="py-1 markdown dark:markdown-invert">
{{ .Summary | emojify }}
</div>
{{ end }}
+1 -1
View File
@@ -1,4 +1,4 @@
<article class="max-w-full prose dark:prose-light">
<article class="max-w-full markdown dark:markdown-invert">
{{ with .Title }}
<header>
<h1>{{ . | emojify }}</h1>
+1 -1
View File
@@ -29,7 +29,7 @@
{{ partialCached "author-links.html" . }}
</div>
</header>
<section class="prose dark:prose-light">{{ .Content | emojify }}</section>
<section class="markdown dark:markdown-invert">{{ .Content | emojify }}</section>
</article>
<section>
{{ partial "recent-articles.html" . }}
+1 -1
View File
@@ -2,7 +2,7 @@
{{ if .Site.Params.list.showBreadcrumbs | default false }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
<section class="prose dark:prose-light">
<section class="markdown dark:markdown-invert">
<h1 class="mb-3 text-4xl font-extrabold text-neutral-800">{{ .Title }}</h1>
<section>{{ .Content }}</section>
</section>