Skip to content

Commit 9a1787e

Browse files
authored
Merge pull request #974 from kanishka-commits/ui/theme
[FIX]: #967 3 Major Issues Related to Theme Inconsistencies
2 parents 33588fe + 061c440 commit 9a1787e

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/components/NewsLetterPopup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const NewsletterPopup = () => {
3838
className="mx-auto mb-4 h-16 w-16 rounded-full shadow-md"
3939
/>
4040

41-
<h2 className="mb-2 text-3xl font-extrabold text-gray-900">
41+
<h2 className="mb-2 text-3xl font-extrabold text-gray-900!">
4242
Sanjay’s Substack
4343
</h2>
4444

src/components/ui/FirebaseAuthGithub.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ const FirebaseAuthGithub: React.FC = () => {
7777
>
7878
<button
7979
onClick={handleGithubSignIn}
80-
className="flex cursor-pointer items-center gap-2 rounded bg-[#1f1e1e] px-4 py-2 text-white hover:bg-[#2c2c2c]"
80+
className="flex items-center justify-center gap-2 rounded bg-[var(--btn-bg)] px-3 py-1.5 text-xs font-semibold text-[var(--btn-text)] transition-colors duration-300 hover:bg-[var(--btn-hover)] hover:text-[var(--btn-hover-text)] sm:text-sm md:text-base"
8181
>
8282
<svg
83-
height="24"
84-
width="24"
83+
height="22"
84+
width="22"
8585
viewBox="0 0 16 16"
8686
fill="currentColor"
8787
aria-hidden="true"

src/pages/badges/github-badges.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
margin: 0 auto 40px;
8989
opacity: 0.95;
9090
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
91+
color: rgb(251, 251, 251) !important;
9192
}
9293

9394
.badgeStats {
@@ -1867,4 +1868,4 @@ table tr:last-child td:last-child {
18671868

18681869
[data-theme="dark"] .achievementsTable td b:hover {
18691870
box-shadow: 0 4px 10px rgba(37, 194, 160, 0.4) !important;
1870-
}
1871+
}

0 commit comments

Comments
 (0)