Skip to content

Commit b9bb323

Browse files
committed
fix tailwind style
1 parent e106885 commit b9bb323

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const site: ISite = {
2727
href: 'astro.build/'
2828
},
2929
{
30-
title: 'Tailwind CSS',
30+
title: 'tailwind CSS',
3131
href: 'tailwindcss.com/'
3232
}
3333
]

src/assets/styles/ui.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@apply hover:text-white;
99
}
1010

11-
@utility tailwindcss {
11+
@utility tailwind {
1212
@apply hover:text-[#00bcff];
1313
}
1414

src/components/Credit.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const credits = config.site.credits
1313
not-first:before:content-[',']
1414
last:before:content-['&']
1515
">
16-
<a class=`${item.title} capitalize`
16+
<a class=`capitalize ${item.title.startsWith("tailwind")?"tailwind": item.title}`
1717
href={"https://" + item.href}>{item.title}</a>
1818
</li>
1919
)

0 commit comments

Comments
 (0)