File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 793793 padding : 0 20px 24px ;
794794 }
795795}
796+
797+ /* Accessibility Enhancements */
798+ /* Light mode defaults */
799+ .community-hero-title ,
800+ .community-hero-description ,
801+ .contribution-title ,
802+ .contribution-description ,
803+ .section-title ,
804+ .section-description ,
805+ .section-items li ,
806+ .thank-you-main ,
807+ .thank-you-description ,
808+ .support-text {
809+ color : # 111827 ; /* default dark text for light background */
810+ }
811+
812+ /* Dark mode overrides */
813+ @media (prefers-color-scheme : dark) {
814+ .community-hero-title ,
815+ .contribution-title ,
816+ .section-title ,
817+ .thank-you-main {
818+ color : # ffffff ; /* white text in dark mode */
819+ }
820+
821+ .community-hero-description ,
822+ .contribution-description ,
823+ .section-description ,
824+ .section-items li ,
825+ .thank-you-description ,
826+ .support-text {
827+ color : # d1d5db ; /* light gray text in dark mode */
828+ }
829+
830+ body ,
831+ .community-page {
832+ background-color : # 111827 ; /* Optional: ensure background is also dark */
833+ }
834+ }
You can’t perform that action at this time.
0 commit comments