aboutsummaryrefslogtreecommitdiff
path: root/_content/css/styles.css
diff options
context:
space:
mode:
authorAlan Donovan <adonovan@google.com>2026-03-10 14:42:08 -0400
committerGopher Robot <gobot@golang.org>2026-03-11 09:50:15 -0700
commit42af1423ac77579ad85b6b9f17c28ee1532b9f98 (patch)
tree3456d31195acf212edea4bdc0db4f7352ef31084 /_content/css/styles.css
parente6ec9f0fd701ca82364edb41a454be9745e4be9f (diff)
downloadgo-x-website-42af1423ac77579ad85b6b9f17c28ee1532b9f98.tar.xz
_content/blog: add post on the source-level inliner
To preview, download this CL and run: $ go run ./cmd/golangorg --gopls & $ open http://localhost:6060/go.dev/blog/inliner Change-Id: I0ae552feda02e82da397aacdf63a9178e3e07e9c Reviewed-on: https://go-review.googlesource.com/c/website/+/753760 Auto-Submit: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to '_content/css/styles.css')
-rw-r--r--_content/css/styles.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css
index 93d7901e..edc5ca5e 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -63,6 +63,8 @@
--color-text-alert: #aa536c;
--color-code-comment: var(--green);
--color-bright-text-link: var(--turq-bright);
+ --color-diff-old: #ffe0e0;
+ --color-diff-new: #e0ffe0;
/* Interactive Colors */
--color-input: var(--color-background);
@@ -108,6 +110,8 @@
--color-text-alert: #e67193;
--color-code-comment: var(--green-light);
--color-bright-text-link: var(--turq-med);
+ --color-diff-old: #703030;
+ --color-diff-new: #306030;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme='light']) {
@@ -139,6 +143,8 @@
--color-text-alert: #e67193;
--color-code-comment: var(--green-light);
--color-bright-text-link: var(--turq-med);
+ --color-diff-old: #703030;
+ --color-diff-new: #306030;
}
}