aboutsummaryrefslogtreecommitdiff
path: root/_content/css/styles.css
diff options
context:
space:
mode:
authorJamal Carvalho <jamalcarvalho@google.com>2022-08-18 18:24:05 +0000
committerJamal Carvalho <jamal@golang.org>2022-08-19 16:14:45 +0000
commitaf51caee77fee5c7e7866e16cb8b373f596b38ea (patch)
tree1e36a20bfde481bc50f7a59be9e257ba079163fc /_content/css/styles.css
parent0a456fc0bac30bf5fc705d43c57451c2cc366e7f (diff)
downloadgo-x-website-af51caee77fee5c7e7866e16cb8b373f596b38ea.tar.xz
_content: style theme defaults to system preference
The style theme matches pkg.go.dev behavior in respecting the users preferred theme set by the system. Change-Id: I1dab33bda043f054522f88f8e64c539e61934433 Reviewed-on: https://go-review.googlesource.com/c/website/+/424834 Reviewed-by: Suzy Mueller <suzmue@golang.org>
Diffstat (limited to '_content/css/styles.css')
-rw-r--r--_content/css/styles.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css
index 2b426f08..b065921b 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -3543,7 +3543,7 @@ img.PullQuote-image {
border: none;
}
@media (prefers-color-scheme: dark) {
- :root:not([data-theme='light']) {
+ :root:not([data-theme='light']) .Card {
background-color: var(--abbey);
border: none;
}