Skip to content

Commit ab94a40

Browse files
committed
avoid setting color in custom font-* classes, renamed font-lead to lead, similar to tailwindcss-typography
1 parent 48eee08 commit ab94a40

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

assets/css/custom.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@
9797
@apply font-headline text-lg md:text-xl leading-relaxed;
9898
}
9999

100-
.font-lead {
101-
@apply text-lg md:text-xl leading-relaxed text-gray-700;
100+
.font-p {
101+
@apply text-sm md:text-base leading-relaxed;
102102
}
103103

104-
.font-p {
105-
@apply text-sm md:text-base leading-relaxed text-gray-700;
104+
.lead {
105+
@apply text-lg md:text-xl leading-relaxed text-gray-700;
106106
}
107107

108108
.label-uppercase {

layouts/hub/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<span class="font-headline font-bold text-primary ml-2 pb-px">CRYPTOMATOR&nbsp;HUB</span>
1111
</div>
1212
<h1 class="font-h1 mb-6">{{ i18n "hub_header_title" . | safeHTML }}</h1>
13-
<p class="font-lead mb-6">{{ i18n "hub_header_description" . | safeHTML }}</p>
13+
<p class="lead mb-6">{{ i18n "hub_header_description" . | safeHTML }}</p>
1414
<div class="flex flex-col md:flex-row gap-6 mb-4">
1515
<div class="flex flex-col gap-2">
1616
<p class="block uppercase tracking-wide text-gray-700 text-xs font-bold">{{ i18n "hub_header_managed_title" . }}</p>

0 commit comments

Comments
 (0)