commit | e98120d599debc8f20668717e385e383310a6d55 | [log] [tgz] |
---|---|---|
author | prudhvikrishna <prudhvikrishna@google.com> | Tue Jun 27 14:40:34 2023 -0700 |
committer | Jamal Carvalho <jamal@golang.org> | Mon Aug 07 21:06:47 2023 +0000 |
tree | 9a8d5526d6504d5f61c46b93bc77e6bbbb8c03da | |
parent | 6a2a7e9b432bfccb0c01b4f9ff1efc7f1281657d [diff] |
_content/css: fix for icon to appear in High Contrast Light Mode https://screencast.googleplex.com/cast/NTUwNDM3ODE0NzQzODU5Mnw3ZDI4OTZhMy03ZA Change-Id: Id0b179d91b9a099adc2af28ffa18b7eaa68b8508 Reviewed-on: https://go-review.googlesource.com/c/website/+/506677 Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
diff --git a/_content/css/styles.css b/_content/css/styles.css index 3ac30ee..b6f80f0 100644 --- a/_content/css/styles.css +++ b/_content/css/styles.css
@@ -431,6 +431,10 @@ .go-Icon--inverted { filter: brightness(0) saturate(100%) invert(100%) sepia(97%) saturate(13%) hue-rotate(245deg) brightness(103%) contrast(107%); + @media (forced-colors:active) and (prefers-color-scheme: light) { + filter: brightness(500%) saturate(100%) invert(100%) sepia(97%) saturate(13%) + hue-rotate(245deg) brightness(103%) contrast(107%); + } } .Footer-feedbackButton { background: none;