Skip to content

Commit 9c38949

Browse files
ZougaRidaSaptakS
authored andcommitted
Update --selection bg-color when default browser theme is dark
The --selection bg-color when default theme for browser is dark, and the user hasn't changed the theme at all (thus theme-icon-when-auto shows up) is $(green-medium) but the contrast is way too terrible (the actual value is 2.35 which is way too low)
1 parent bb3fb06 commit 9c38949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangoproject/scss/_dark-mode.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ html[data-theme="light"],
107107
--search-link-hover: #{$green-light};
108108
--search-mark-text: #{$black-light-5};
109109

110-
--selection: #{$green-medium};
110+
--selection: #{$green-dark};
111111

112112
--community-img-bg: #{$green-dark};
113113
--community-img-fg: #{$white};

0 commit comments

Comments
 (0)