diff --git a/djangoproject/scss/_dark-mode.scss b/djangoproject/scss/_dark-mode.scss index 1e1e6c2c8..8ce0b24e4 100644 --- a/djangoproject/scss/_dark-mode.scss +++ b/djangoproject/scss/_dark-mode.scss @@ -57,6 +57,9 @@ html[data-theme="light"], --search-mark-text: #{$green-dark}; --selection: #{$green-very-light}; + + --community-img-bg: #{$green-very-light}; + --community-img-fg: #{$green-dark}; } @media (prefers-color-scheme: dark) { @@ -105,6 +108,9 @@ html[data-theme="light"], --search-mark-text: #{$black-light-5}; --selection: #{$green-medium}; + + --community-img-bg: #{$green-dark}; + --community-img-fg: #{$white}; } body .homepage { @@ -201,6 +207,9 @@ html[data-theme="dark"] { --selection: #{$green-dark}; + --community-img-bg: #{$green-dark}; + --community-img-fg: #{$white}; + .img-release { filter: invert(1); } diff --git a/djangoproject/scss/_style.scss b/djangoproject/scss/_style.scss index 98fb0f73e..08621d897 100644 --- a/djangoproject/scss/_style.scss +++ b/djangoproject/scss/_style.scss @@ -3685,11 +3685,11 @@ ul.corporate-members li { flex-direction: column; justify-content: center; align-items: center; - background: var(--secondary-accent); + background: var(--community-img-bg); border-radius: 20px; } - .community-cta svg { - color: var(--body-fg); + .community-cta svg, h3 { + color: var(--community-img-fg); } } diff --git a/djangoproject/templates/aggregator/local-django-community.html b/djangoproject/templates/aggregator/local-django-community.html index 8cb669898..3d28f9930 100644 --- a/djangoproject/templates/aggregator/local-django-community.html +++ b/djangoproject/templates/aggregator/local-django-community.html @@ -8,7 +8,7 @@