Skip to content

Commit 7bcb748

Browse files
authored
Merge pull request #599 from zshaian/enchancement/components
chore: make some minor adjustments on some of the components
2 parents de79ca1 + fda24ac commit 7bcb748

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

components/buttons/BackToTopButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const BackToTopButton = () => {
2828
isVisible && (
2929
<button
3030
onClick={scrollToTop}
31-
className='fixed right-3 top-1/2 z-40 -translate-y-1/2 rounded-full bg-white p-3 text-gray-700 shadow-lg transition-all duration-500 hover:bg-white'
31+
className='fixed right-3 top-1/2 z-40 -translate-y-1/2 rounded-full bg-white p-3 text-gray-700 shadow-lg transition-all duration-500 hover:bg-white hover:text-modern-black'
3232
>
3333
<ChevronUpIcon className='h-6 w-6' />
3434
</button>

components/resources/ContributingResources.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const ContributingResources: React.FC = () => {
9191
<h3 className="text-lg font-semibold text-white">
9292
{tutorial.title}
9393
</h3>
94-
<span className="rounded-full bg-modern-purple/10 px-3 py-1 text-xs font-medium text-modern-purple">
94+
<span className="rounded-full bg-modern-purple/10 px-3 py-1 text-xs font-medium text-modern-purple text-center">
9595
{tutorial.channel}
9696
</span>
9797
</div>

pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default function Home() {
8888
>
8989
<div className='modern-container'>
9090
<div className='mx-auto max-w-2xl lg:text-center'>
91-
<h2 className='text-3xl font-semibold leading-7 text-modern-purple'>
91+
<h2 className='text-3xl font-semibold leading-snug text-modern-purple'>
9292
Become a part of our community of over 700 inspiring
9393
developers who have already contributed to this project!
9494
</h2>

styles/tailwind.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ body {
175175
@apply text-gray-200;
176176
}
177177

178+
.theme-dark .text-gray-800 {
179+
@apply text-gray-200
180+
}
181+
178182
.theme-dark .border-gray-200 {
179183
@apply border-gray-700;
180184
}

0 commit comments

Comments
 (0)