aboutsummaryrefslogtreecommitdiff
path: root/_content/css/styles.css
diff options
context:
space:
mode:
authorprudhvikrishna <prudhvikrishna@google.com>2023-06-26 11:52:53 -0700
committerGopher Robot <gobot@golang.org>2023-07-28 18:03:48 +0000
commitb424f0c6d097b2f5a4aa071dcc6eb33070203a05 (patch)
treeac9783b8be58cb8e89e6cc76e643a80ef9605048 /_content/css/styles.css
parentc860785947bfe91e9800e78e1c3ea527cbeba916 (diff)
downloadgo-x-website-b424f0c6d097b2f5a4aa071dcc6eb33070203a05.tar.xz
_content/css: provide fix for text to meet the color contrast
requirements https://screenshot.googleplex.com/8RiRhFfeua2HQM8.png https://screenshot.googleplex.com/fTHSYz3NnJ7YPDN.png Change-Id: I04d00b4468e93f93ea418cb11df01976b150fb80 Reviewed-on: https://go-review.googlesource.com/c/website/+/506375 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to '_content/css/styles.css')
-rw-r--r--_content/css/styles.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css
index 579f7a5a..440509d2 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -18,6 +18,7 @@
--turq-light: #5dc9e2;
--turq-med: #50b7e0;
--turq-dark: #007d9c;
+ --turq-bright: #00769c;
--abbey: #3f4042;
--blue: #bfeaf4;
--blue-light: #f2fafd;
@@ -61,6 +62,7 @@
--color-text-inverted: var(--white);
--color-text-alert: #aa536c;
--color-code-comment: var(--green);
+ --color-bright-text-link: var(--turq-bright);
/* Interactive Colors */
--color-input: var(--color-background);
@@ -105,6 +107,7 @@
--color-text-subtle: var(--gray-7);
--color-text-alert: #e67193;
--color-code-comment: var(--green-light);
+ --color-bright-text-link: var(--turq-med);
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme='light']) {
@@ -4754,6 +4757,10 @@ h2.Playground-about {
.Button--primary:visited {
border: 0.0625rem solid #00add8;
}
+.Playground-button,
+.WhyGo-reasonLink {
+ color: var(--color-bright-text-link) !important;
+}
/* Auto-generated table of contents */
.TOC table {
margin-top: 1.25rem;