Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored hero title and subtitle styles for better maintainability … #6

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 */
}