Skip to content

Commit

Permalink
Merge pull request #6 from bharat-vicky/patch-1
Browse files Browse the repository at this point in the history
Refactored hero title and subtitle styles for better maintainability …
  • Loading branch information
melissawm authored Jan 12, 2025
2 parents 93c8d61 + 1115053 commit 89a0e52
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion unconference-2025/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,21 @@

.hero__subtitle {
font-weight: bold;
}
}
/* Default (light mode) styles for hero title and subtitle */
.hero__title, .hero__subtitle {
color: #fff; /* white text for light mode */
text-shadow: 0 0 1em #007d8a; /* Retain text shadow */
font-size: 32px;
}

.hero__subtitle {
font-weight: bold;
}

/* Dark mode styles for hero title and subtitle */
[data-theme='dark'] .hero__title,
[data-theme='dark'] .hero__subtitle {
color: #fff; /* White text for dark mode */
text-shadow: 0 0 1em #0394a3; /* Adjust shadow color if needed */
}

0 comments on commit 89a0e52

Please sign in to comment.