From 5a98716f3115d9a1dedd6b7741321471b13d6e9b Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Fri, 29 Sep 2023 19:28:38 +0200 Subject: [PATCH] docs: Update link colors --- docs/src/css/custom.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 2ea11b3..531d3a5 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -5,18 +5,20 @@ * work well for content-centric websites. */ -/* You can override the default Infima variables here. */ :root { - --docusaurus-highlighted-code-line-bg: rgb(229, 229, 232); - --ifm-color-primary: rgb(132, 170, 124); - --ifm-link-color: rgb(62, 166, 41); --ifm-code-font-size: 95%; - --highlight-color: rgb(118, 228, 97); + + --docusaurus-highlighted-code-line-bg: rgb(229, 229, 232); + --ifm-color-primary: rgb(79, 151, 77); + --ifm-link-color: var(--ifm-color-primary); + --highlight-color: rgb(70, 203, 43); } [data-theme='dark'] { - /* Color which works with dark mode syntax highlighting theme */ --docusaurus-highlighted-code-line-bg: rgb(61, 63, 67); + --ifm-color-primary: rgb(132, 170, 124); + --ifm-link-color: var(--ifm-color-primary); + --highlight-color: rgb(140, 209, 126); } /* Images inside the docs that are centered/inside text */