summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/partials/article-header.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/partials/article-header.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/partials/article-header.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/article-header.html b/themes/danix-xyz-hacker/layouts/partials/article-header.html
index 10808f9..b759909 100644
--- a/themes/danix-xyz-hacker/layouts/partials/article-header.html
+++ b/themes/danix-xyz-hacker/layouts/partials/article-header.html
@@ -6,9 +6,7 @@
<!-- Type badge -->
{{ if $typeData }}
<span
- class="inline-flex items-center px-3 py-1 rounded text-sm font-semibold mb-4 transition-colors"
- style="color: {{ $typeData.color_light }}; background-color: {{ $typeData.color_light }}20;"
- data-theme-dark-color="{{ $typeData.color_dark }}"
+ class="inline-flex items-center px-3 py-1 rounded text-sm font-semibold mb-4 transition-colors type-{{ $articleType }}"
>
{{ i18n $articleType }}
</span>