diff --git a/cline_docs/activeContext.md b/cline_docs/activeContext.md index 44e6e09..f07da89 100644 --- a/cline_docs/activeContext.md +++ b/cline_docs/activeContext.md @@ -10,6 +10,25 @@ - Planning authentication implementation for production deployment ## Recent Changes +- Improved dark theme appearance and accessibility: + - Enhanced contrast for navigation menu items in dark mode by using white text + - Fixed site title "Olathe Club of the Deaf" contrast in dark mode by changing to white + - Added dark background to navigation menu in dark mode for better visibility + - Fixed mobile menu button contrast in dark mode + - Improved visibility of secondary buttons in dark mode + - Fixed heading contrast issues throughout the site + - Enhanced "No image available" text visibility in dark mode + - Fixed event card date and "Learn more" link contrast in dark mode by changing to white text + - Improved contrast for event card descriptions by changing to white text in dark mode + - Enhanced About section paragraph text visibility with white text in dark mode + - Fixed Membership Benefits section text contrast with white text in dark mode + - Fixed "Join Our Community" section text contrast by changing background to dark gray in dark mode + - Changed "View All Events" button from secondary to primary style for consistency + - Updated "View All Board Members" button in About page to use primary style + - Added explicit text color for headings in dark mode + - Improved CSS variables for dark mode with better text contrast + - Fixed "Join OCD" button visibility in dark mode + - Implemented comprehensive admin dashboard system: - Created central dashboard with statistics and quick actions - Built out events management with filtering and CRUD UI diff --git a/cline_docs/progress.md b/cline_docs/progress.md index 417d36f..f2495ff 100644 --- a/cline_docs/progress.md +++ b/cline_docs/progress.md @@ -104,6 +104,15 @@ ### Phase 5: Accessibility & Refinement - [x] Fix navigation menu active state contrast for better visibility +- [x] Improve dark theme contrast for better accessibility +- [x] Enhance button visibility in dark mode +- [x] Fix heading contrast issues throughout the site +- [x] Improve text visibility for placeholders and content +- [x] Fix site title contrast in dark mode +- [x] Enhance event card text contrast in dark mode +- [x] Improve paragraph text contrast in About and Membership sections +- [x] Fix "Join Our Community" section text contrast by changing background color +- [x] Standardize button styling by changing "View All Events" and "View All Board Members" to primary style - [ ] Conduct comprehensive accessibility audit - [ ] Implement screen reader optimizations - [ ] Refine keyboard navigation diff --git a/frontend/src/app/about/page.tsx b/frontend/src/app/about/page.tsx index b3fd302..d26d9ca 100644 --- a/frontend/src/app/about/page.tsx +++ b/frontend/src/app/about/page.tsx @@ -94,7 +94,7 @@ export default function AboutPage() { ))}
- + View All Board Members
diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css index d4a784c..39224af 100644 --- a/frontend/src/app/globals.css +++ b/frontend/src/app/globals.css @@ -30,7 +30,8 @@ @media (prefers-color-scheme: dark) { :root { --color-text: #f3f4f6; - --color-text-light: #d1d5db; + --color-text-light: #e5e7eb; + --color-primary-light: #60a5fa; } } @@ -124,12 +125,17 @@ } .btn-secondary { - background-color: transparent; - border-color: currentColor; + background-color: rgba(255, 255, 255, 0.1); + border-color: var(--color-primary-light); + color: var(--color-primary-light); } .btn-secondary:hover { - background-color: #374151; + background-color: rgba(255, 255, 255, 0.2); + } + + h2, h3 { + color: var(--color-text); } } diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index fa5c85f..f4517b7 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -34,16 +34,16 @@ const EventCard: React.FC = ({ /> ) : (
- No image available + No image available
)}

{title}

-

{description}

+

{description}

- {date} - + {date} + Learn more
@@ -68,7 +68,7 @@ export default function Home() { {/* Featured events section */}
-

Featured Events

+

Featured Events

View All Events @@ -103,16 +103,16 @@ export default function Home() { {/* About section with video */}
-

About OCD

+

About OCD

-

+

Olathe Club of the Deaf (OCD) is a non-profit organization dedicated to serving the deaf and hard-of-hearing community in Olathe and surrounding areas.

-

+

Our mission is to promote social, educational, and recreational opportunities for deaf individuals and their families while fostering a sense of community and belonging.

-

+

Founded in 1975, we have a rich history of advocacy and community service, working to bridge the gap between the deaf and hearing communities.

@@ -132,23 +132,23 @@ export default function Home() { {/* Membership Benefits */}
-

Membership Benefits

+

Membership Benefits

Community Events

-

+

Access to all OCD community events, socials, and gatherings throughout the year.

Voting Rights

-

+

Have your say in club decisions and vote in board elections.

Support Network

-

+

Connect with a supportive network of deaf and hard-of-hearing individuals.

@@ -165,10 +165,10 @@ export default function Home() {
{/* Call to action */} -
+
-

Join Our Community

-

+

Join Our Community

+

Become a member today and connect with the deaf community in Olathe.

diff --git a/frontend/src/components/molecules/Hero.tsx b/frontend/src/components/molecules/Hero.tsx index 37b6f64..280898e 100644 --- a/frontend/src/components/molecules/Hero.tsx +++ b/frontend/src/components/molecules/Hero.tsx @@ -105,7 +105,7 @@ const Hero: React.FC = ({ {secondaryButtonText && secondaryButtonLink && ( {secondaryButtonText} diff --git a/frontend/src/components/organisms/Navigation.tsx b/frontend/src/components/organisms/Navigation.tsx index b9b72de..402c44f 100644 --- a/frontend/src/components/organisms/Navigation.tsx +++ b/frontend/src/components/organisms/Navigation.tsx @@ -47,7 +47,7 @@ const NavLink = ({ href, children, isMobile = false, onClick }: NavLinkProps) => // Create a visually distinct style for active links using the exact primary blue color const activeStyles = isActive ? "text-white font-bold border-b-4 border-accent" - : "text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700"; + : "text-gray-700 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700"; // Apply background color using inline style for active links to ensure exact color match const linkStyle = isActive ? { backgroundColor: 'var(--color-primary)' } : {}; @@ -104,7 +104,7 @@ const Navigation = () => { className={` fixed top-0 z-40 w-full transition-all duration-300 ease-in-out - ${scrolled ? 'bg-white dark:bg-gray-900 shadow-md' : 'bg-transparent'} + ${scrolled ? 'bg-white dark:bg-gray-900 shadow-md' : 'bg-transparent dark:bg-gray-900'} `} aria-label="Main Navigation" > @@ -113,7 +113,7 @@ const Navigation = () => { {/* Logo and site name */}
- Olathe Club of the Deaf + Olathe Club of the Deaf
@@ -133,7 +133,7 @@ const Navigation = () => {